/* ==========================================================================
   company.css — Careers, Contact, Changelog (v1, 2026-09-26)
   --------------------------------------------------------------------------
   Loaded by careers.html, contact.html and changelog.html only, after
   styles.css and swiss.css. The three pages share one voice with the
   homepage, Pricing and About: a meta row, a large Plex statement with the
   one orange mark, numbered section labels on hairline rules, and generous
   intervals. Only section-label rules and column dividers; no row rules.

   Forms follow the approved sign-in page (auth.css): 48px fields, 2px
   corners, the page's surface, an ink button with the orange arrow.
   Everything is scoped to `.co`, so no other page can pick it up.
   Standard: references/swiss-flow-design/.
   ========================================================================== */

/* ---------- 1. Hero ------------------------------------------------------- */
.co-hero { padding-bottom: 24px; }
.co-hero h1 {
  font-size: clamp(52px, 6.9vw, 112px);
  line-height: 1.01;
  letter-spacing: -0.06em;
  text-wrap: wrap;
}
.co-hero h1 .co-line { display: block; }
.co-hero h1 mark { padding-bottom: 0.09em; margin-bottom: -0.09em; }
.sw .co-lede { margin-top: 32px; max-width: 44ch; font-size: 20px; line-height: 1.5; color: var(--sw-muted); }

/* ---------- 2. Sections --------------------------------------------------- */
.co-section { padding-block: 88px 0; }
.co-section:last-of-type { padding-bottom: 112px; }
.co .section-heading { margin: 40px 0 56px; }
.co .section-heading h2 { font-size: clamp(40px, 4.6vw, 68px); }

/* A heading on the left, its material on the right (7 : 5 of the width
   turned around: the reading column is the wider one). */
.co-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 112px); margin-top: 40px; }
.co-split h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.06; letter-spacing: -0.045em; }
/* Plain paragraphs only; the sub-line, aside and form note keep their own sizes. */
.sw .co-split p:not([class]) { font-size: 20px; line-height: 1.6; max-width: 48ch; }
.sw .co-split p:not([class]) + p:not([class]) { margin-top: 20px; }
.sw .co-sub { margin-top: 20px; max-width: 36ch; font-size: 17px; line-height: 1.55; color: var(--sw-muted); }

/* The quiet line that sends people to the one address. */
.sw .co-aside { margin-top: 32px; font-size: 16px; line-height: 1.6; color: var(--sw-muted); }
.co-aside a,
.co-body a,
.co-route a {
  color: var(--sw-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgb(var(--tint-rgb) / 0.35);
  transition: text-decoration-color 160ms var(--sw-ease);
}
.co-aside a:hover,
.co-body a:hover,
.co-route a:hover { text-decoration-color: var(--sw-accent); }

/* ---------- 3. Careers ---------------------------------------------------- */
/* Vision: the first paragraph as a statement across most of the width, the
   second offset to the right on the reading measure. */
.co-vision { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 40px; }
.sw .co-statement {
  grid-column: 1 / span 10;
  max-width: 34ch;
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--sw-ink);
}
.sw .co-vision > p:not(.co-statement) { grid-column: 7 / span 5; margin-top: 40px; max-width: 44ch; font-size: 20px; line-height: 1.6; color: var(--sw-muted); }

/* The roles: a register in two columns split by one divider, read down the
   first column and then the second. Every row carries the same weight. */
.co-roles {
  margin: 0; padding: 0; list-style: none;
  columns: 2; column-gap: 64px; column-rule: 1px solid var(--sw-line);
}
.co-roles li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline;
  padding: 14px 0 26px;
  break-inside: avoid;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.03em;
}
.co-roles .eyebrow { color: var(--sw-muted); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }

/* ---------- 4. Contact ---------------------------------------------------- */
/* The address, once, set as the section's heading. */
.co-mail { margin-top: 40px; font-size: clamp(34px, 5.4vw, 88px); line-height: 1.04; letter-spacing: -0.05em; }
.co-mail a { display: inline-flex; align-items: baseline; gap: 0.3em; max-width: 100%; color: var(--sw-ink); }
.co-mail a > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; text-decoration-color: var(--sw-accent); }
.co-mail a > span:last-child { flex: none; font-family: var(--sw-mono); font-size: 0.45em; line-height: 1; letter-spacing: 0; transition: transform 200ms var(--sw-ease), color 160ms var(--sw-ease); }
.co-mail a:hover > span:last-child { transform: translate(4px, -4px); color: var(--sw-accent); }
.sw .co-reply { margin-top: 20px; font-size: 18px; color: var(--sw-muted); }

/* What the address is for: three columns, one divider between each. */
.co-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; }
.co-route { min-width: 0; padding: 4px 32px 8px 0; }
.co-route + .co-route { padding-left: 32px; border-left: 1px solid var(--sw-line); }
.co-route h3 { font-family: var(--sw-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sw-ink); }
.sw .co-route p { margin-top: 16px; max-width: 30ch; font-size: 17px; line-height: 1.55; color: var(--sw-muted); }

/* ---------- 5. Changelog -------------------------------------------------- */
/* A dated ledger. Date and area on the left rail; one divider runs the
   length of the list; the entry keeps the reading measure on the right. */
.co-log { margin: 48px 0 0; padding: 0; list-style: none; }
.co-entry { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 0; }
.co-entry-meta { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 6px 32px 0 0; }
.co-entry-meta time { font-family: var(--sw-mono); font-size: 13px; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sw-ink); font-variant-numeric: tabular-nums; }
.co-tag { font-family: var(--sw-mono); font-size: 10px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-muted); }
.co-tag::before { content: "["; margin-right: 0.45em; }
.co-tag::after { content: "]"; margin-left: 0.45em; }
.co-body { padding: 0 0 64px 40px; border-left: 1px solid var(--sw-line); }
.co-entry:last-child .co-body { padding-bottom: 8px; }
.co-body h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.12; letter-spacing: -0.04em; }
.sw .co-body p { margin-top: 16px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: var(--sw-muted); }
.co-log + .co-aside { margin-left: 25%; padding-left: 40px; }

/* ---------- 6. Forms (the sign-in page's language) ------------------------ */
.co-form { display: grid; gap: 22px; max-width: 680px; }
.co-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.co-field { display: grid; gap: 8px; min-width: 0; }
.co-field label { font-size: 13px; line-height: 1.4; color: var(--sw-ink); }
.co-opt { margin-left: 8px; font-family: var(--sw-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sw-muted); }
.co-field input,
.co-field select,
.co-field textarea {
  width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid rgb(var(--tint-rgb) / 0.22); border-radius: 2px;
  background: var(--surface);
  font-family: var(--sw-sans); font-size: 16px; line-height: 1.4; color: var(--sw-ink);
  transition: border-color 160ms var(--sw-ease), background-color 160ms var(--sw-ease);
}
.co-field textarea { height: auto; min-height: 148px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.co-field input::placeholder,
.co-field textarea::placeholder { color: var(--zinc-400); opacity: 1; }
.co-field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 19px center, right 14px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.co-field :is(input, select, textarea):hover { border-color: rgb(var(--tint-rgb) / 0.4); }
.co-field :is(input, select, textarea):focus { background-color: var(--page-a); border-color: var(--sw-ink); outline: 2px solid var(--sw-accent); outline-offset: 2px; }
/* The native file control keeps its filename readout; only its button is
   restyled. */
.co-field input[type="file"] { height: auto; padding: 8px; font-size: 14px; color: var(--sw-muted); cursor: pointer; }
.co-field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 14px;
  border: 1px solid rgb(var(--tint-rgb) / 0.22); border-radius: 2px;
  background: var(--page-a); color: var(--sw-ink);
  font-family: var(--sw-sans); font-size: 14px; cursor: pointer;
}
.co-field input[type="file"]::file-selector-button:hover { border-color: var(--sw-ink); }

.co-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.co-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin: 3px 0 0;
  border: 1px solid var(--zinc-400); border-radius: 2px; background: var(--page-a); cursor: pointer;
}
.co-consent input[type="checkbox"]:checked { border-color: var(--sw-ink); background: var(--sw-ink) var(--tick) center / 12px no-repeat; }
.co-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 3px; }
.co-consent label { font-size: 14px; line-height: 1.6; color: var(--sw-muted); cursor: pointer; }
.co-consent label a { color: var(--sw-ink); text-decoration: underline; text-underline-offset: 3px; }

.co-submit {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; height: 52px; margin-top: 4px; padding: 0 12px 0 18px;
  border: 1px solid var(--sw-ink); border-radius: 2px;
  background: var(--sw-ink); color: var(--page-a);
  font-family: var(--sw-sans); font-size: 16px; cursor: pointer;
  transition: background-color 160ms var(--sw-ease), border-color 160ms var(--sw-ease);
}
.co-submit > span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--sw-accent); color: var(--sw-on-accent); font-family: var(--sw-mono); font-size: 18px; line-height: 1; transition: transform 180ms var(--sw-ease); }
.co-submit:hover { background: var(--zinc-400); border-color: var(--zinc-400); }
.co-submit:hover > span { transform: translate(2px, -2px); }
.co-submit:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 3px; }
.sw .co-note { font-size: 14px; line-height: 1.6; color: var(--sw-muted); }
.co-note a { color: var(--sw-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. Responsive ------------------------------------------------- */
@media (max-width: 1000px) {
  .co-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sw .co-statement { grid-column: 1 / -1; }
  .sw .co-vision > p:not(.co-statement) { grid-column: 4 / -1; }
  .co-routes { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .co-route, .co-route + .co-route { padding: 20px 0 24px; border-left: 0; }
  .co-route + .co-route { border-top: 1px solid var(--sw-line); }
  .co-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .co-log + .co-aside { margin-left: 25%; }
}

@media (max-width: 700px) {
  .co-hero h1 { font-size: clamp(44px, 12.4vw, 72px); }
  .co-hero h1 .co-line { display: inline; }
  .sw .co-lede { margin-top: 24px; font-size: 18px; }
  .co-section { padding-top: 64px; }
  .co-section:last-of-type { padding-bottom: 80px; }
  .co .section-heading { margin: 32px 0 32px; }
  .co .section-heading h2 { font-size: clamp(36px, 10vw, 48px); }
  .co-split { margin-top: 32px; }
  .sw .co-split p:not([class]) { font-size: 18px; }
  .co-vision { display: block; margin-top: 32px; }
  .sw .co-vision > p:not(.co-statement) { margin-top: 24px; font-size: 18px; }
  .co-roles { columns: 1; }
  .co-roles li { grid-template-columns: 40px minmax(0, 1fr); padding: 10px 0 18px; font-size: 22px; }
  /* One line down to 320px; the <wbr> before "@" is the fallback break. */
  .co-mail { margin-top: 32px; font-size: 7.6vw; }
  .co-route h3 { font-size: 10px; }
  .co-entry { display: block; }
  .co-entry-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 0 0 12px; }
  .co-body { padding: 0 0 48px; border-left: 0; }
  .co-log + .co-aside { margin-left: 0; padding-left: 0; }
  .co-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .co-mail a > span:last-child, .co-submit, .co-submit > span, .co-field input, .co-field select, .co-field textarea, .co-aside a, .co-body a, .co-route a { transition: none; }
}
