/* ── CAREERS: shared ── */
.nav-links a[aria-current="page"] { color: var(--ink); }

.eyebrow-status--live {
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: live-pulse 2.4s var(--ease-out) infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-status--live { animation: none; }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  padding: 1px 6px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  white-space: nowrap;
}

/* ── JOB HERO ── */
.job-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(72px + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 88px)) clamp(20px, 5vw, 56px) clamp(40px, 6vw, 64px);
}
.job-hero-body { max-width: 900px; }
.job-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
}
.job-hero h1 em { display: inline-block; font-size: 0.62em; line-height: 1.15; margin-top: 0.2em; }
.job-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink3);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s var(--ease-out);
}
.job-back:hover { color: var(--ink); }
.job-back span { transition: transform .2s var(--ease-out); }
.job-back:hover span { transform: translateX(-3px); }

.job-facts {
  margin-top: clamp(48px, 8vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  opacity: 0;
  animation: fadein 0.85s 0.7s forwards;
}
.job-fact dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
}
.job-fact dd {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ── BODY LAYOUT ── */
.job-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px) clamp(64px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.job-content { max-width: 720px; }
.job-section {
  padding-top: clamp(56px, 8vw, 88px);
}
.job-section + .job-section { border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 88px); }
.job-section h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.job-section > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink2);
  margin-bottom: 16px;
  text-wrap: pretty;
}

.job-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.job-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink2);
  text-wrap: pretty;
}
.job-list strong { color: var(--ink); font-weight: 600; }
.job-list--lead li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
}
.job-list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.job-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.job-tags li {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink2);
  padding: 9px 16px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--white);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.job-tags li:hover { border-color: var(--ink); color: var(--ink); }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.why-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.why-item:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(10, 10, 10, 0.25); }
.why-item h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.why-item p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink2); }

.hire-steps { list-style: none; display: flex; flex-direction: column; margin-top: 8px; }
.hire-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.hire-steps li:first-child { padding-top: 4px; }
.hire-steps li:last-child { border-bottom: 0; }
.hire-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.hire-steps h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.hire-steps p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink2); }

/* ── STICKY SUMMARY CARD ── */
.job-aside {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px) + 32px);
  padding-top: clamp(56px, 8vw, 88px);
}
.job-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.03), 0 24px 48px -32px rgba(10, 10, 10, 0.22);
}
.job-card-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 20px; }
.job-card-facts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.job-card-facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.job-card-facts dt { color: var(--ink3); flex-shrink: 0; }
.job-card-facts dd { color: var(--ink); font-weight: 500; text-align: right; }
.job-card-cta { width: 100%; justify-content: center; }
.job-card-alt { margin-top: 14px; font-size: 0.8125rem; color: var(--ink3); text-align: center; }
.job-card-alt a { color: var(--ink); text-underline-offset: 3px; }

/* ── APPLY FORM ── */
.apply-section .contact-left > p { margin-bottom: 20px; }
.apply-prompts { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.apply-prompts li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.apply-prompts li::before { content: "→"; position: absolute; left: 0; color: var(--ink3); }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.label-opt {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink4);
  margin-left: 4px;
}
.contact-form textarea.textarea-sm { min-height: 76px; }

.file-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 6px;
}
.contact-form label.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  margin: 0;
  border: 1.5px dashed var(--line2);
  border-radius: var(--r);
  background: var(--white);
  cursor: pointer;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink2);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.contact-form label.file-drop:hover,
.file-drop.is-dragover { border-color: var(--ink); background: var(--paper2); }
.file-drop.has-file { border-style: solid; border-color: var(--ink); }
.field-error .file-drop { border-color: #dc2626; }
.file-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-form .file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.file-drop-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper2);
  color: var(--ink);
}
.file-drop.has-file .file-drop-icon { background: var(--surface-dark); color: #fff; }
.file-drop-icon svg { width: 20px; height: 20px; }
.file-drop-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.file-drop-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-drop-text span { font-size: 0.8125rem; line-height: 1.45; color: var(--ink3); }
.file-clear {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line2);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.file-clear:hover { border-color: var(--ink); }

.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.contact-form .consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--ink);
  box-shadow: none;
}
.contact-form .consent-row label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--ink2);
}
.consent-row a { color: var(--ink); text-underline-offset: 3px; }
.consent-row.field-error label { color: #991b1b; }

.contact-form button[type="submit"].is-loading { gap: 10px; }
.contact-form button[type="submit"].is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MOBILE STICKY APPLY BAR ── */
.apply-bar { display: none; }

/* ── CAREERS INDEX ── */
.careers-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); }
.careers-hero h1 em { display: inline; font-size: inherit; margin: 0; }
.careers-hero { padding-bottom: clamp(32px, 5vw, 48px); }
.roles-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px) clamp(80px, 12vw, 140px);
}
.roles-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.roles-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.roles-count { font-size: 0.875rem; color: var(--ink3); }
.role-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: padding .3s var(--ease-out), background .3s var(--ease-out);
}
.role-row:hover { background: var(--white); padding-left: 16px; padding-right: 16px; }
.role-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.role-sub { font-size: 0.9375rem; color: var(--ink2); margin-top: 6px; line-height: 1.5; }
.role-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.role-meta span {
  font-size: 0.8125rem;
  padding: 6px 12px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--ink2);
}
.role-go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark);
  color: #fff;
  transition: transform .3s var(--ease-out);
}
.role-row:hover .role-go { transform: translateX(4px); }
.roles-note {
  margin-top: 40px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 560px;
}
.roles-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .job-layout { grid-template-columns: minmax(0, 1fr); }
  .job-aside { display: none; }
  .job-content { max-width: none; }

  .apply-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    padding: 10px 10px 10px 20px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 18px 40px -16px rgba(10, 10, 10, 0.5);
    transform: translateY(140%);
    transition: transform .4s var(--ease-out);
  }
  .apply-bar.is-visible { transform: none; }
  .apply-bar-text { display: flex; flex-direction: column; min-width: 0; }
  .apply-bar-text strong { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .apply-bar-text span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
  .apply-bar .btn-primary { background: #fff; color: var(--ink); padding: 11px 22px; flex-shrink: 0; }
  .apply-section .contact-split { grid-template-columns: minmax(0, 1fr); }
  .role-row { grid-template-columns: minmax(0, 1fr) auto; }
  .role-meta { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .job-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .why-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .job-hero .hero-actions .btn-primary { width: 100%; justify-content: center; }
  .job-hero .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .job-hero h1 em { font-size: 0.6em; }
  .contact-form button[type="submit"] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .apply-bar { transition: none; }
  .why-item:hover, .role-row:hover .role-go { transform: none; }
}
