/* Index view: hero, facts strip, trace line, openings list and the "don't see your role" callout.
   Openings rows are built by openings.js as
   <a class="opening"><div class="opening-main"><span class="eyebrow">…</span><h3>…</h3><p>…</p></div>
   <div class="opening-chips"><span class="chip">…</span></div><span class="opening-arrow">→</span></a>. */

/* Hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid {
  padding-top: clamp(56px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero-copy .eyebrow-rule { margin-bottom: 26px; }
.hero-title {
  font-stretch: 70%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-lede {
  margin-top: 28px;
  max-width: 46ch;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--mid);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 clamp(48px, 6vw, 72px); }
.hero-visual { position: relative; align-self: stretch; min-height: clamp(240px, 38vw, 460px); }
.hero-photo { position: absolute; inset: 0; background: var(--photo); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  left: clamp(12px, 1.6vw, 20px);
  bottom: clamp(12px, 1.6vw, 20px);
  max-width: min(250px, 78%);
  background: var(--green);
  color: var(--ink);
  padding: clamp(14px, 1.8vw, 18px) clamp(16px, 2vw, 22px);
}
.hero-tag p {
  font-stretch: 80%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Trace line and facts */
.trace { display: block; width: 100%; height: 32px; }
.trace-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1300;
  stroke-dashoffset: 0;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.fact { padding: 22px 0; border-bottom: 1px solid var(--line); }
.fact-number {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.fact-text { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--dark); }

/* Openings list */
.openings { border-top: 1px solid var(--ink); }
.opening {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.opening:hover { padding-left: 20px; background: var(--wash); }
.opening-main { flex: 1 1 260px; min-width: 0; }
.opening .eyebrow { font-size: 10.5px; letter-spacing: 0.16em; color: var(--blue); }
.opening h3 {
  margin-top: 10px;
  font-stretch: 80%;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  color: var(--ink);
}
.opening p { margin-top: 10px; max-width: 52ch; font-size: 15px; line-height: 1.55; color: var(--mid); }
.opening-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; margin-right: auto; }
/* Real employment types run long ("Part-time October 2026; target full-time …"); once the row
   has room for text beside the chips, cap the chips so they wrap rather than squeeze the text. */
@media (min-width: 760px) { .opening-chips { max-width: 38%; } }
.opening-arrow {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--chip);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.opening:hover .opening-arrow { background: var(--ink); color: var(--white); border-color: var(--ink); }
.openings-empty {
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mid);
}
.callout {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--paper);
  border-left: 2px solid var(--green);
}
.callout-text { font-size: 15.5px; line-height: 1.55; color: var(--dark); }
