/* careers-page.css */
.scc-careers-page {
  font-family: var(--scc-font-sans);
  color: var(--scc-foreground);
  background-color: #fff;
}

.scc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.scc-section-title {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 2rem;
  text-align: center;
}

/* Section 1: Hero */
.scc-hero--careers {
  position: relative;
  height: 40vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px; /* Account for fixed header */
}

@media (min-width: 992px) {
  .scc-hero--careers {
    height: 50vh;
    padding-top: 120px; /* Account for fixed header */
  }
}

.scc-hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1470&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.scc-hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26, 87, 119, 0.8), rgba(26, 87, 119, 0.5));
  z-index: 2;
}

.scc-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}

@media (min-width: 992px) {
  .scc-hero__content {
    text-align: left;
  }
}

.scc-hero__headline {
  font-family: var(--scc-font-heading);
  color: #fff;
  font-weight: var(--scc-weight-bold);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
}

.scc-hero__subline {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--scc-text-lg);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: var(--scc-leading-normal);
}

@media (min-width: 992px) {
  .scc-hero__subline {
    margin: 0 0 2rem 0;
  }
}

.scc-hero__cta {
  display: inline-block;
  background-color: var(--scc-success);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: var(--scc-weight-bold);
  transition: background-color 0.2s;
}

.scc-hero__cta:hover {
  background-color: var(--scc-success-dark);
}

/* Section 2: Culture */
.scc-culture {
  background-color: var(--scc-surface-warm);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.scc-culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .scc-culture-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.scc-culture-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}

@media (min-width: 992px) {
  .scc-culture-card {
    padding: 1.5rem;
  }
}

.scc-culture-card__icon {
  margin-bottom: 1rem;
}

.scc-culture-card__icon svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 992px) {
  .scc-culture-card__icon svg {
    width: 36px;
    height: 36px;
  }
}

.scc-culture-card__title {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-sm);
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .scc-culture-card__title {
    font-size: var(--scc-text-base);
  }
}

.scc-culture-card__description {
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  line-height: var(--scc-leading-normal);
}

@media (min-width: 992px) {
  .scc-culture-card__description {
    font-size: var(--scc-text-sm);
  }
}

/* Section 3: Open Positions */
.scc-positions {
  background-color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.scc-positions-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.scc-job-card {
  background: #fff;
  border: 1px solid var(--scc-border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.scc-job-card:hover {
  border-color: var(--scc-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.scc-job-card--expanded {
  border: 2px solid var(--scc-success);
}

.scc-job-card__toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem;
  cursor: pointer;
  display: block;
}

.scc-job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.scc-job-card__title-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .scc-job-card__title-row {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.scc-job-card__title {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-lg);
  margin: 0;
}

.scc-job-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.scc-job-card__badge {
  font-size: var(--scc-text-xs);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: var(--scc-weight-bold);
}

.scc-job-card__badge--dept {
  background-color: #e3eef5;
  color: var(--scc-primary);
}

.scc-job-card__badge--type {
  background-color: var(--scc-success-surface);
  color: var(--scc-success);
}

.scc-job-card__location {
  color: var(--scc-muted-text);
  font-size: var(--scc-text-sm);
}

.scc-job-card__chevron {
  color: var(--scc-muted-text);
  transition: transform 0.3s ease;
}

.scc-job-card--expanded .scc-job-card__chevron {
  transform: rotate(180deg);
}

.scc-job-card__summary {
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.scc-job-card--expanded .scc-job-card__summary {
  white-space: normal;
  overflow: visible;
}

.scc-job-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.scc-job-card--expanded .scc-job-card__details {
  max-height: 1000px;
}

.scc-job-card__details-inner {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--scc-border-light);
  margin-top: 1rem;
  padding-top: 1rem;
}

.scc-job-card__section-title {
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-base);
  margin: 1.25rem 0 0.5rem;
}

.scc-job-card__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  line-height: var(--scc-leading-relaxed);
}

@media (max-width: 576px) {
  .scc-job-card__list {
    font-size: var(--scc-text-sm);
  }
}

.scc-job-card__list li {
  margin-bottom: 0.25rem;
}

.scc-job-card__comp {
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  margin: 0;
}

.scc-job-card__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scc-border-light);
}

@media (min-width: 577px) {
  .scc-job-card__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.scc-job-card__apply {
  display: inline-block;
  color: var(--scc-success);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-sm);
  text-decoration: none;
  text-align: center;
}

@media (max-width: 576px) {
  .scc-job-card__apply {
    background-color: var(--scc-success);
    color: white;
    padding: 0.75rem;
    border-radius: 6px;
  }
}

.scc-job-card__posted {
  color: var(--scc-muted-text);
  font-size: var(--scc-text-sm);
}

/* Empty State */
.scc-careers-empty {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.scc-careers-empty__icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.scc-careers-empty__heading {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-size: var(--scc-text-xl);
  margin-bottom: 1rem;
}

.scc-careers-empty__body {
  color: var(--scc-foreground);
  font-size: var(--scc-text-base);
  margin-bottom: 1.5rem;
  line-height: var(--scc-leading-relaxed);
}

.scc-careers-empty__cta {
  display: inline-block;
  color: var(--scc-success);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-base);
  text-decoration: none;
  margin-bottom: 1rem;
}

.scc-careers-empty__note {
  color: var(--scc-muted-text);
  font-size: var(--scc-text-sm);
  font-style: italic;
  margin: 0;
}

/* Section 4: Internship & Volunteer */
.scc-intern-volunteer {
  background-color: var(--scc-surface-warm);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.scc-intern-volunteer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .scc-intern-volunteer-grid {
    grid-template-columns: 55fr 45fr;
    gap: 1.5rem;
  }
}

.scc-intern-card, .scc-volunteer-card {
  background: #fff;
  border: 1px solid var(--scc-border-light);
  border-radius: 10px;
  padding: 1.25rem;
}

@media (min-width: 992px) {
  .scc-intern-card, .scc-volunteer-card {
    padding: 1.5rem;
  }
}

.scc-intern-status {
  display: inline-block;
  font-size: var(--scc-text-xs);
  font-weight: var(--scc-weight-bold);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.scc-intern-status--open {
  background-color: var(--scc-success-surface);
  color: var(--scc-success);
}

.scc-intern-status--closed {
  background-color: var(--scc-border-light);
  color: var(--scc-muted-text);
}

.scc-intern-title, .scc-volunteer-title {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-lg);
  margin-bottom: 0.5rem;
}

.scc-intern-timeline {
  color: var(--scc-accent);
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 0.25rem;
}

.scc-intern-stipend {
  color: var(--scc-success);
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 1rem;
}

.scc-intern-desc, .scc-intern-who, .scc-volunteer-desc {
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 1rem;
}

.scc-intern-cta, .scc-volunteer-cta {
  display: inline-block;
  color: var(--scc-success);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-sm);
  text-decoration: none;
  margin-top: 0.5rem;
}

/* Section 5: Gallery */
.scc-culture-gallery {
  background-color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  overflow: hidden;
}

.scc-culture-carousel-wrapper {
  overflow: hidden;
}

.scc-culture-carousel {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scc-marquee 35s linear infinite;
  padding-bottom: 0.5rem;
}

.scc-culture-carousel:hover {
  animation-play-state: paused;
}

@keyframes scc-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scc-gallery-card {
  flex: 0 0 360px;
}

@media (min-width: 577px) {
  .scc-gallery-card {
    flex: 0 0 420px;
  }
}

@media (min-width: 992px) {
  .scc-gallery-card {
    flex: 0 0 480px;
  }
}

.scc-gallery-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.scc-gallery-caption {
  color: var(--scc-foreground);
  font-size: var(--scc-text-sm);
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* Section 6: Quotes */
.scc-team-quotes {
  background-color: var(--scc-surface-warm);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.scc-career-quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .scc-career-quotes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .scc-career-quotes-grid {
    gap: 1.5rem;
  }
}

.scc-quote-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  margin: 0;
}

.scc-quote-mark {
  font-family: var(--scc-font-heading);
  color: var(--scc-secondary);
  font-size: var(--scc-text-5xl);
  line-height: var(--scc-leading-none);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.5;
}

.scc-quote-text {
  font-family: var(--scc-font-heading);
  font-style: italic;
  color: var(--scc-foreground);
  font-size: var(--scc-text-base);
  line-height: var(--scc-leading-relaxed);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.scc-quote-author {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.scc-quote-name {
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  font-size: var(--scc-text-sm);
}

.scc-quote-title {
  color: var(--scc-muted-text);
  font-size: var(--scc-text-sm);
}

/* Section 7: Equity */
.scc-equity {
  background-color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.scc-equity-container {
  max-width: 700px;
  text-align: center;
}

.scc-equity__headline {
  font-family: var(--scc-font-heading);
  color: var(--scc-primary);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 1.5rem;
}

.scc-equity__statement {
  color: var(--scc-foreground);
  font-size: var(--scc-text-base);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 2rem;
}

.scc-equity__stat {
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  font-size: 1.05em;
}

.scc-equity__footer {
  color: var(--scc-muted-text);
  font-size: var(--scc-text-sm);
  font-style: italic;
  padding-top: 1.5rem;
  border-top: 1px solid var(--scc-border-light);
  max-width: 200px;
  margin: 0 auto;
}

/* Section 8: CTA */
.scc-careers-cta {
  background-color: var(--scc-primary);
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
}

.scc-careers-cta__heading {
  font-family: var(--scc-font-heading);
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 2rem;
}

.scc-careers-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 577px) {
  .scc-careers-cta__buttons {
    flex-direction: row;
  }
}


/* ==========================================================================
   Card accent variants (tokenized — no inline styles)
   Applied by template parts to culture pillars (v1..v4) and team quotes (v1..v3)
   ========================================================================== */

.scc-culture-card { border-top: 3px solid transparent; }
.scc-culture-card--v1 { border-top-color: var(--scc-success); }
.scc-culture-card--v2 { border-top-color: var(--scc-secondary); }
.scc-culture-card--v3 { border-top-color: var(--scc-accent); }
.scc-culture-card--v4 { border-top-color: var(--scc-primary); }

.scc-quote-card { border-left: 4px solid transparent; }
.scc-quote-card--v1 { border-left-color: var(--scc-success); }
.scc-quote-card--v2 { border-left-color: var(--scc-secondary); }
.scc-quote-card--v3 { border-left-color: var(--scc-accent); }