@import url("base.css");


body.page-careers {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.95) 0%,
    rgba(163, 180, 156, 0.85) 100%
  );
  color: var(--color-text-dark);
}

body.page-careers::before,
body.page-careers::after {
  display: none;
}

/* Hero Section - Full Green */
.hero--careers {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.98) 0%,
    rgba(163, 180, 156, 0.88) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.hero--careers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

.hero--careers .hero__lead {
  color: rgba(16, 22, 35, 0.82);
  opacity: 0.95;
}

.hero--careers .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero--careers h1 {
  color: var(--color-text-dark);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

.hero--careers p,
.hero--careers .hero__copy p {
  color: rgba(16, 22, 35, 0.78);
}

/* Hero Images */
.hero__image-layer--careers {
  background-image: linear-gradient(
      145deg,
      rgba(10, 26, 51, 0.6),
      rgba(0, 12, 31, 0.4)
    ),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=900&q=80");
}

.hero__image-layer--careers-secondary {
  inset: 12% 12% 12% 18%;
  background-image: linear-gradient(
      160deg,
      rgba(163, 180, 156, 0.6),
      rgba(10, 26, 51, 0.2)
    ),
    url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=800&q=80");
  filter: blur(0px);
  transform: translate(7%, 7%);
  z-index: -1;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  position: absolute;
}

/* Section Backgrounds - Full Green */
.section--light {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.78) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.section--light::before {
  display: none;
}

.section--positions {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.85) 0%,
    rgba(163, 180, 156, 0.72) 100%
  );
  color: var(--color-text-dark);
}

.section--talent-pool {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.88) 100%
  );
  color: var(--color-text-dark);
  padding-bottom: 6rem;
}

.section--light h2,
.section--positions h2,
.section--talent-pool h2 {
  color: var(--color-text-dark);
}

.section--light .section__intro p,
.section--positions .section__intro p,
.section--talent-pool .section__intro p {
  color: rgba(16, 22, 35, 0.72);
}

.section--light .eyebrow,
.section--positions .eyebrow,
.section--talent-pool .eyebrow {
  color: rgba(16, 22, 35, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Why Work List */
.why-work-content {
  margin-top: 2rem;
}

.why-work-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.why-work-list li {
  padding-left: 2.5rem;
  position: relative;
  color: rgba(16, 22, 35, 0.85);
  font-size: 1.1rem;
  font-weight: 500;
}

.why-work-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-brand-deep);
  font-size: 1.8rem;
  line-height: 1;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

/* Role Cards - White cards that turn dark on hover */
.role-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.4fr) auto;
  grid-template-rows: auto auto;
  gap: 0.75rem 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--color-brand-deep);
  border: 1px solid rgba(16, 22, 35, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  color: #ffffff;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background:  rgba(255, 255, 255, 0.2);
  color: var(--color-text-dark) ;
  border-color: rgba(255, 255, 255, 0.2);
}

.role-card h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 1.3rem;
  color: inherit;
}

.role-card__meta {
  grid-column: 1;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-size: 0.9rem;
  color: inherit;
  opacity: 0.75;
}

.role-card:hover .role-card__meta {
  opacity: 0.85;
}

.role-card p {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: inherit;
  opacity: 0.85;
  margin: 0;
  line-height: 1.6;
}

.role-card:hover p {
  opacity: 0.9;
}

.role-card__cta {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  margin-top: 0;
}

.role-card:hover .btn--primary {
  background: #ffffff;
  color: var(--color-brand-deep);
}



.talent-form .form__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.talent-form .form__field {
  display: grid;
  gap: 0.6rem;
}

.talent-form .form__field--wide {
  grid-column: 1 / -1;
}

.talent-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(16, 22, 35, 0.86);
}

.talent-form input,
.talent-form select,
.talent-form textarea {
  background: rgba(10, 26, 51, 0.06);
  border: 1px solid rgba(16, 22, 35, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--color-text-dark);
  font: inherit;
  transition: border 180ms ease, background 180ms ease;
}

.talent-form input:focus,
.talent-form select:focus,
.talent-form textarea:focus {
  outline: none;
  border-color: var(--color-brand-deep);
  background: rgba(10, 26, 51, 0.08);
}

.talent-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form__actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn--upload {
  cursor: pointer;
  background: #ffffff;
  color: var(--color-text-dark);
  border-color: var(--color-brand-deep);
}

.btn--upload:hover {
  background: rgba(10, 26, 51, 0.9);
  transform: translateY(-2px);
}

.form__note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(16, 22, 35, 0.6);
  margin-left: auto;
}

.page-careers .btn--primary {
  background: #ffffff;
  color: var(--color-brand-deep);
  border-color: var(--color-brand-deep);
  box-shadow: 0 4px 12px rgba(10, 26, 51, 0.25);
  font-weight: 600;
}

.page-careers .btn--primary:hover {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 26, 51, 0.35);
  transform: translateY(-2px);
}

.page-careers .btn--ghost {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  border: 2px solid rgba(16, 22, 35, 0.3);
  width: auto;
}

.page-careers .btn--ghost:hover {
  background: rgba(16, 22, 35, 0.08);
  border-color: rgba(16, 22, 35, 0.5);
  transform: translateY(-2px);
}

.hero__floating-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero__floating-card p {
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero__floating-card span {
  color: var(--color-text-dark);
  opacity: 0.7;
}

.site-footer {
  color: #ffffff;
}

@media (max-width: 1080px) {
  .role-card {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
    grid-template-rows: repeat(3, auto);
  }

  .role-card p {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .role-card__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    align-self: start;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .role-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .role-card h3,
  .role-card__meta,
  .role-card p,
  .role-card__cta {
    grid-column: 1;
    grid-row: auto;
  }

  .role-card__meta {
    margin-bottom: 0.75rem;
    flex-direction: column;
    gap: 0.35rem;
  }

  .role-card__cta {
    justify-self: start;
    align-self: center;
    margin-top: 1rem;
    width: 100%;
  }

  .talent-form {
    padding: 2rem;
  }

  .talent-form .form__grid {
    grid-template-columns: 1fr;
  }

  .form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form__note {
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .why-work-list li {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .talent-form {
    padding: 1.5rem;
  }
}
