/* Careers page — page-scoped styles (loaded via front-matter extraCss). */

a { color: var(--inf-electric-blue); }
a:hover { color: #fff; }

/* Tighter section rhythm for careers */
section { padding: calc(48px * var(--tw-density)) 0; }
section + section { padding-top: calc(12px * var(--tw-density)); }
.cta-section { padding: 20px 0 56px; }
.careers-hero { padding-top: calc(88px * var(--tw-density)); }

/* Open roles — the Workable widget injects an unstyled list into
   #whr_embed_hook. These rules skin its markup to match the design cards.
   Widget markup: ul.whr-items > li.whr-item > h3.whr-title>a + ul.whr-info
   (li.whr-dept / li.whr-location / li.whr-date, each with a <span> label). */
#whr_embed_hook .whr-items {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin: 8px 0 0; padding: 0;
}
#whr_embed_hook .whr-item {
  list-style: none; position: relative;
  padding: 22px 68px 22px 26px; border-radius: 16px;
  background: rgba(10, 10, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 250ms ease, border-color 250ms ease;
}
#whr_embed_hook .whr-item:hover { transform: translateY(-3px); border-color: rgba(0, 210, 255, 0.28); }
/* Arrow affordance (the whole card links out via the title anchor) */
#whr_embed_hook .whr-item::after {
  content: "\2192"; position: absolute; top: 50%; right: 26px;
  transform: translateY(-50%); color: var(--inf-fg-3);
  font-size: 20px; transition: color 250ms ease, transform 250ms ease;
}
#whr_embed_hook .whr-item:hover::after { color: var(--inf-electric-blue); transform: translateY(-50%) translateX(3px); }
#whr_embed_hook .whr-title {
  font-family: var(--inf-font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
#whr_embed_hook .whr-title a { color: var(--inf-fg-1); text-decoration: none; }
/* Make the whole card clickable via the title anchor */
#whr_embed_hook .whr-title a::before { content: ""; position: absolute; inset: 0; }
#whr_embed_hook .whr-item:hover .whr-title a { color: var(--inf-electric-blue); }
#whr_embed_hook .whr-info {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin: 0; padding: 0; font-size: 14px; color: var(--inf-fg-2);
}
#whr_embed_hook .whr-info li { display: inline-flex; align-items: center; gap: 6px; }
#whr_embed_hook .whr-info li span { color: var(--inf-fg-3); }
#whr_embed_hook .whr-info li.whr-date { display: none; } /* creation date is noise */
#whr_embed_hook .whr-no-jobs, #whr_embed_hook .whr-loading { color: var(--inf-fg-2); font-size: 14px; }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.benefit {
  background: rgba(10, 10, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 22px 22px;
  transition: transform 250ms ease, border-color 250ms ease;
}
.benefit:hover { transform: translateY(-3px); border-color: rgba(0, 210, 255, 0.28); }
.benefit .tile { margin-bottom: 14px; }
.benefit h4 {
  font-family: var(--inf-font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; margin: 0 0 9px;
}
.benefit p { font-size: 14px; line-height: 1.5; color: var(--inf-fg-2); margin: 0 0 9px; }
.benefit p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* Workable embed — inherit page background, drop the widget's own chrome */
#whr_embed_hook { margin-top: 8px; }
