/* ============================================================
   vectorio.io — jobs page styles (jobs.html + jobs-de.html)
   Sits on top of site.css. Scoped entirely under .jobs.
   ============================================================ */

/* ===== a job ad is a text, not a dashboard =====================
   This page deliberately does NOT use the split-1-2 section grid the rest
   of the site uses for reference material. A job ad is read top to bottom
   in one pass, so it stays a single column at a fixed measure, and the
   section rhythm is tightened well below section.block's default 100–184px
   so consecutive sections read as one piece rather than as separate screens.
   Prose typography is the projects-page treatment (project.css), which is
   the only place on the site tuned for running text. */
.jobs section.block { padding: clamp(56px, 6vw, 88px) 0; }
.jobs section.block:first-of-type { padding-top: clamp(64px, 7vw, 104px); }

.jobs .measure { max-width: 60ch; }

.jobs h2.section-title { font-size: clamp(28px, 3.4vw, 40px); max-width: 20ch; margin: 0 0 20px; }

/* running text — inherits the projects-page prose tuning */
.jobs p { color: #1f1c16; font-weight: 440; line-height: 1.62; font-size: 16.5px;
          max-width: 60ch; margin: 0 0 18px; }
.jobs p.lead { font-size: 19.5px; font-weight: 450; line-height: 1.55; color: var(--ink-2);
               max-width: 58ch; margin: 0 0 22px; }
.jobs p:last-child { margin-bottom: 0; }

/* the short declarative beats the ad is written in — kept as their own
   lines, because that cadence IS the voice; merged into one block they
   lose it, split into cards they stop being a sentence. */
.jobs p.beat { margin-bottom: 6px; }
.jobs p.beat + p.beat { margin-bottom: 6px; }
.jobs p.beat:last-of-type { margin-bottom: 18px; }

/* the one line that carries the whole ad */
.jobs .stance { font-family: var(--display); font-size: clamp(21px, 2.4vw, 27px);
                line-height: 1.34; font-weight: 600; letter-spacing: -0.018em;
                color: var(--ink); max-width: 26ch; margin: 26px 0 0;
                padding-left: 20px; border-left: 2px solid var(--vermilion); }

/* terms — four facts, sized for reading, not for a stat wall */
.jobs .facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px;
               background: var(--rule); border-top: 1px solid var(--ink);
               border-bottom: 1px solid var(--rule); margin: 4px 0 0; }
@media (max-width: 760px) { .jobs .facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.jobs .facts > div { background: var(--paper); padding: 20px 20px 22px; }
.jobs .facts .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
                  text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 10px; }
.jobs .facts .v { font-family: var(--display); font-size: 19px; font-weight: 600;
                  letter-spacing: -0.015em; color: var(--ink); display: block; }
.jobs .facts .n { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3);
                  display: block; margin-top: 6px; line-height: 1.45; }

/* .jobs p wins on specificity over .caption, so restate it */
.jobs p.caption { font-family: var(--mono); font-size: 12px; color: var(--ink-3);
                  font-weight: 400; letter-spacing: 0.02em; margin: 18px 0 0; }

/* language switch — mono, sits above the first heading */
.jobs .lang { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
              text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; display: block; }
.jobs .lang a { color: var(--ink-3); border-bottom: 1px solid var(--rule-strong); }
.jobs .lang a:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }

/* the dark closing band inverts the running-text colour set above */
.jobs section.surf-ink p { color: rgba(242,239,230,.82); }
.jobs section.surf-ink p.lead { color: rgba(242,239,230,.88); }
/* site.css inverts headings, paragraphs and buttons on surf-ink but never
   inline links — no other page puts one in a dark band. Without this they
   inherit a{color:var(--ink)} and go near-black on near-black. Scoped to
   links inside running text so the .btn rules keep winning. */
.jobs section.surf-ink p a { color: var(--paper); border-bottom-color: rgba(242,239,230,.42); }
.jobs section.surf-ink p a:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ===== roles listing (jobs.html / jobs-de.html) =====================
   One row per open role. The whole row is the link, so the target is the
   full card rather than a "read more" the eye has to hunt for. Roles that
   are not open yet stay in the list, greyed and unlinked — a planned hire
   is information a candidate wants, and it shows the team is growing. */
.jobs .roles { display: grid; gap: 1px; background: var(--rule);
               border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin: 4px 0 0; }
.jobs .role { background: var(--paper); padding: 26px 24px 28px; display: grid; gap: 10px;
              border: 0; transition: background var(--fast) var(--ease); }
.jobs a.role:hover { background: var(--paper-tint); border: 0; }
.jobs .role .rt { font-family: var(--display); font-size: 22px; font-weight: 600;
                  letter-spacing: -0.018em; color: var(--ink); line-height: 1.2; }
.jobs a.role:hover .rt { color: var(--vermilion); }
.jobs .role .rmeta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
                     text-transform: uppercase; color: var(--ink-3);
                     display: flex; flex-wrap: wrap; gap: 6px 18px; }
.jobs .role p { margin: 0; max-width: 58ch; }
.jobs .role .go { font-family: var(--mono); font-size: 12.5px; color: var(--vermilion); }
.jobs a.role:hover .go .arrow { display: inline-block; transform: translateX(4px); }
.jobs .role .go .arrow { transition: transform var(--fast) var(--ease); }
/* planned, not yet open */
.jobs .role.soon { background: var(--paper-tint); }
.jobs .role.soon .rt { color: var(--ink-3); }
.jobs .role.soon .tag { margin-left: 8px; vertical-align: 2px; }
