/* ===== Careers page (careers.html only) ===== */

/* --- Alternating feature rows --- */
.cr-rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.cr-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.cr-row-media { position: relative; }
.cr-row-media img {
  width: 100%; aspect-ratio: 16/11; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block;
}
.cr-row:nth-child(even) .cr-row-media { order: 2; }
.cr-row:nth-child(even) .cr-row-copy { order: 1; }
.cr-row-copy .section-title { margin-bottom: 18px; }
.cr-row-copy p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.cr-row-copy p:last-of-type { margin-bottom: 0; }
.cr-row-copy .text-link { font-weight: 600; }
.cr-row-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(23, 10, 17, .78); color: #fff;
  backdrop-filter: blur(4px);
  border-radius: 999px; padding: 8px 16px;
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}

/* --- Open roles grid --- */
.cr-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cr-role { display: flex; flex-direction: column; }
.cr-role h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.cr-role p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cr-role-shift {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--leaf-deep);
  background: linear-gradient(135deg, rgba(76,159,19,.1), rgba(123,203,72,.18));
  border-radius: 999px; padding: 6px 12px; margin-bottom: 18px;
}
.cr-role-shift svg { width: 13px; height: 13px; }
.cr-role-apply {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 700; color: var(--leaf-deep);
  text-decoration: none;
  transition: color .25s;
}
.cr-role-apply svg { width: 17px; height: 17px; flex: none; }
.cr-role-apply:hover { color: var(--leaf); text-decoration: underline; }

/* --- Benefits band --- */
.cr-benefits { background: var(--ink); }
.cr-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cr-benefit { text-align: center; padding: 6px 10px; }
.cr-benefit-icon {
  width: 54px; height: 54px; margin: 0 auto 14px;
  border-radius: 16px; display: grid; place-items: center;
  background: rgba(253, 210, 7, .12); color: var(--sun);
}
.cr-benefit-icon svg { width: 26px; height: 26px; }
.cr-benefit h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cr-benefit p { color: rgba(255, 255, 255, .62); font-size: .86rem; line-height: 1.55; }

/* --- Closing CTA --- */
.cr-cta { background: var(--paper-2); }
.cr-cta-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.cr-cta-inner .section-sub { margin-inline: auto; }
.cr-cta .hero-actions { justify-content: center; margin-top: 34px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .cr-row { grid-template-columns: 1fr; gap: 26px; }
  .cr-row:nth-child(even) .cr-row-media { order: 0; }
  .cr-row:nth-child(even) .cr-row-copy { order: 0; }
  .cr-roles { grid-template-columns: repeat(2, 1fr); }
  .cr-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cr-roles { grid-template-columns: 1fr; }
  .cr-benefits-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* white re-theme */
.cr-benefits { background: var(--paper-2); }
.cr-benefit-icon { background: rgba(76, 159, 19, .12); color: var(--leaf-deep); }
.cr-benefit h3 { color: var(--ink); }
.cr-benefit p { color: var(--muted); }
