/* 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)); }

/* Hero: copy left, "Where we work" panel right */
.careers-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.careers-split .hero-title { font-size: clamp(40px, 4.2vw, 64px); margin-bottom: 22px; }
.careers-split .hero-lede { max-width: 540px; margin-bottom: 32px; }
@media (max-width: 900px) {
  .careers-split { grid-template-columns: 1fr; gap: 40px; }
}
.loc-panel { padding: 32px; }
.loc-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.loc-head .tile { flex-shrink: 0; }
.loc-head h2 { font-family: var(--inf-font-display); font-weight: 600; font-size: 22px; margin: 2px 0 8px; }
.loc-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--inf-fg-2); }
.loc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px;
}
.loc-list li {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px; color: var(--inf-fg-1); white-space: nowrap;
}
.loc-list li i { color: var(--inf-electric-blue); font-size: 17px; }
.loc-list li.remote { grid-column: 1 / -1; }
.loc-foot {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px; color: var(--inf-fg-3);
}
@media (max-width: 600px) {
  .loc-panel { padding: 24px 20px; }
  .loc-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .loc-list li { padding: 11px 12px; font-size: 14px; }
}

/* 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; }
