/* ============================================================
   PAGE SECTIONS — CAREERS.HTML
   ============================================================ */

/* ============================================================
   C1 · CAREERS — PAGE HERO
   ============================================================ */

/* ── Section shell ───────────────────────────────────────── */

.careers-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 0;
}

/* ── Inner layout ────────────────────────────────────────── */

.careers-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
}

/* ── Hero content block ──────────────────────────────────── */

.careers-hero__content {
  max-width: 740px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.careers-hero__content .tag-pill {
  margin-bottom: 20px;
}

/* ── H1 heading ──────────────────────────────────────────── */

.careers-hero__heading {
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ── Subheading ──────────────────────────────────────────── */

.careers-hero__subheading {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 56ch;
  margin: 0 auto 28px;
}

/* ── CTA buttons ─────────────────────────────────────────── */

.careers-hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ── Trust note ──────────────────────────────────────────── */

.careers-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  max-width: none;
  margin: 0;
  line-height: 1.6;
}

.careers-hero__trust i {
  color: var(--color-teal);
  font-size: 11px;
}

/* ── Culture stats strip ─────────────────────────────────── */

.careers-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  width: 100%;
  max-width: 820px;
  flex-wrap: wrap;
}

/* Individual stat */
.careers-hero__stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 8px 20px;
  min-width: 160px;
}

/* Stat icon */
.careers-hero__stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 201, 167, 0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

.careers-hero__stat-icon i {
  font-size: 14px;
  color: var(--color-teal);
}

.careers-hero__stat:hover .careers-hero__stat-icon {
  background-color: var(--color-teal);
  transform: scale(1.08);
}

.careers-hero__stat:hover .careers-hero__stat-icon i {
  color: var(--color-navy);
}

/* Stat text */
.careers-hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.careers-hero__stat-text strong {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.2;
}

.careers-hero__stat-text span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.3;
}

/* Vertical separators */
.careers-hero__stat-sep {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--color-border-dark),
    transparent
  );
  flex-shrink: 0;
}

/* ── Open roles count strip ──────────────────────────────── */

.careers-hero__roles-count {
  width: 100%;
  max-width: 820px;
}

.careers-hero__roles-count-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(0, 201, 167, 0.06);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}

/* Number */
.careers-hero__roles-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-teal);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Text block */
.careers-hero__roles-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.careers-hero__roles-text strong {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.2;
}

.careers-hero__roles-text span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* See roles link */
.careers-hero__roles-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-teal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--transition-fast),
              opacity var(--transition-fast);
}

.careers-hero__roles-link i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.careers-hero__roles-link:hover {
  opacity: 0.8;
}

.careers-hero__roles-link:hover i {
  transform: translateY(3px);
}

/* ── Bottom wave ─────────────────────────────────────────── */

.careers-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  pointer-events: none;
  z-index: 1;
}

.careers-hero__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Decorative nodes ────────────────────────────────────── */

.careers-hero__nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.careers-hero__node {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-teal);
  animation: floatUp 8s ease-in-out infinite;
}

.careers-hero__node--1 {
  width: 9px; height: 9px;
  top: 20%; left: 6%;
  opacity: 0.18;
  animation-duration: 9s;
  animation-delay: 0s;
}
.careers-hero__node--2 {
  width: 6px; height: 6px;
  top: 65%; left: 4%;
  opacity: 0.12;
  animation-duration: 11s;
  animation-delay: 1.5s;
  background-color: var(--color-blue);
}
.careers-hero__node--3 {
  width: 11px; height: 11px;
  top: 18%; right: 5%;
  opacity: 0.15;
  animation-duration: 10s;
  animation-delay: 0.8s;
}
.careers-hero__node--4 {
  width: 6px; height: 6px;
  top: 70%; right: 7%;
  opacity: 0.12;
  animation-duration: 12s;
  animation-delay: 2.2s;
  background-color: var(--color-blue);
}
.careers-hero__node--5 {
  width: 8px; height: 8px;
  top: 45%; left: 50%;
  opacity: 0.07;
  animation-duration: 14s;
  animation-delay: 3.5s;
}

/* ── Stagger delays ──────────────────────────────────────── */

.careers-hero__inner > .breadcrumb.fade-in-up     { transition-delay: 0.05s; }
.careers-hero__content .fade-in-up:nth-child(1)   { transition-delay: 0.10s; }
.careers-hero__content .fade-in-up:nth-child(2)   { transition-delay: 0.18s; }
.careers-hero__content .fade-in-up:nth-child(3)   { transition-delay: 0.26s; }
.careers-hero__content .fade-in-up:nth-child(4)   { transition-delay: 0.34s; }
.careers-hero__content .fade-in-up:nth-child(5)   { transition-delay: 0.42s; }
.careers-hero__stats.fade-in-up                   { transition-delay: 0.50s; }
.careers-hero__roles-count.fade-in-up             { transition-delay: 0.58s; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .careers-hero {
    min-height: 72vh;
  }

  .careers-hero__stat {
    padding: 8px 12px;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .careers-hero {
    min-height: auto;
    padding: 80px 0 0;
  }

  .careers-hero__heading br {
    display: none;
  }

  .careers-hero__subheading {
    font-size: 15px;
    max-width: none;
  }

  .careers-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    width: 100%;
  }

  .careers-hero__ctas .btn-primary,
  .careers-hero__ctas .btn-secondary {
    justify-content: center;
  }

  .careers-hero__trust {
    font-size: 12px;
    text-align: center;
  }

  .careers-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 14px;
  }

  .careers-hero__stat-sep {
    display: none;
  }

  .careers-hero__stat {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-border-dark);
    min-width: auto;
  }

  .careers-hero__stat:nth-child(3),
  .careers-hero__stat:nth-child(4) {
    border-bottom: none;
  }

  .careers-hero__roles-count-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .careers-hero__roles-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .careers-hero {
    padding: 70px 0 0;
  }

  .careers-hero__stat {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    align-items: center;
  }

  .careers-hero__stat-text {
    align-items: center;
  }

  .careers-hero__roles-number {
    font-size: 32px;
  }
}

/* ============================================================
   C2 · CAREERS — WHY JOIN US
   ============================================================ */

/* ── Section header ──────────────────────────────────────── */

.why-join__header {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.why-join__title::after {
  margin-left: auto;
  margin-right: auto;
}

.why-join__subheading {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--color-muted-light);
  line-height: 1.7;
  margin: var(--space-sm) auto 0;
  max-width: 52ch;
}

/* ── Perk cards grid — 4 columns ─────────────────────────── */

.why-join__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: var(--space-xl);
}

/* ── Individual perk card ────────────────────────────────── */

.perk-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 22px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.perk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(10, 22, 40, 0.1);
  border-color: var(--color-teal);
}

/* Top accent on hover */
.perk-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.perk-card:hover::after {
  transform: scaleX(1);
}

/* ── Icon wrapper — colour variants ─────────────────────── */

.perk-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

.perk-card:hover .perk-card__icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

/* Colour variants */
.perk-card__icon-wrap--blue   { background-color: rgba(21,101,200,0.1); }
.perk-card__icon-wrap--green  { background-color: rgba(5,150,105,0.1); }
.perk-card__icon-wrap--purple { background-color: rgba(124,58,237,0.1); }
.perk-card__icon-wrap--gold   { background-color: rgba(245,158,11,0.1); }
.perk-card__icon-wrap--orange { background-color: rgba(217,119,6,0.1); }
.perk-card__icon-wrap--teal   { background-color: var(--color-mint); }
.perk-card__icon-wrap--red    { background-color: rgba(239,68,68,0.1); }

/* Icon hover fill */
.perk-card:hover .perk-card__icon-wrap         { background-color: var(--color-teal); }
.perk-card:hover .perk-card__icon-wrap--blue   { background-color: var(--color-blue); }
.perk-card:hover .perk-card__icon-wrap--green  { background-color: #059669; }
.perk-card:hover .perk-card__icon-wrap--purple { background-color: #7C3AED; }
.perk-card:hover .perk-card__icon-wrap--gold   { background-color: #F59E0B; }
.perk-card:hover .perk-card__icon-wrap--orange { background-color: #D97706; }
.perk-card:hover .perk-card__icon-wrap--teal   { background-color: var(--color-teal); }
.perk-card:hover .perk-card__icon-wrap--red    { background-color: #EF4444; }

/* Icon colours */
.perk-card__icon         { font-size: 20px; color: var(--color-teal); transition: color var(--transition-base); }
.perk-card__icon--blue   { color: var(--color-blue); }
.perk-card__icon--green  { color: #059669; }
.perk-card__icon--purple { color: #7C3AED; }
.perk-card__icon--gold   { color: #F59E0B; }
.perk-card__icon--orange { color: #D97706; }
.perk-card__icon--teal   { color: var(--color-teal); }
.perk-card__icon--red    { color: #EF4444; }

/* All icons turn white/navy on hover */
.perk-card:hover .perk-card__icon         { color: var(--color-navy); }
.perk-card:hover .perk-card__icon--blue   { color: var(--color-white); }
.perk-card:hover .perk-card__icon--green  { color: var(--color-white); }
.perk-card:hover .perk-card__icon--purple { color: var(--color-white); }
.perk-card:hover .perk-card__icon--gold   { color: var(--color-navy); }
.perk-card:hover .perk-card__icon--orange { color: var(--color-white); }
.perk-card:hover .perk-card__icon--teal   { color: var(--color-navy); }
.perk-card:hover .perk-card__icon--red    { color: var(--color-white); }

/* ── Perk title ──────────────────────────────────────────── */

.perk-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--color-dark-text);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.perk-card:hover .perk-card__title {
  color: var(--color-navy);
}

/* ── Perk description ────────────────────────────────────── */

.perk-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
  max-width: none;
}

/* ── Highlight badge ─────────────────────────────────────── */

.perk-card__highlight {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-teal);
  background-color: var(--color-mint);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  margin-top: auto;
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.perk-card:hover .perk-card__highlight {
  background-color: rgba(0, 201, 167, 0.15);
}

/* ── Culture quote strip ─────────────────────────────────── */

.why-join__quote {
  margin-bottom: var(--space-xl);
}

.why-join__quote-inner {
  background-color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot grid on the quote card */
.why-join__quote-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(0, 201, 167, 0.08) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
}

/* Large quote mark */
.why-join__quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 80px;
  line-height: 0.65;
  color: var(--color-teal);
  opacity: 0.3;
  margin-bottom: 16px;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* Quote text */
.why-join__quote-text {
  border-left: none;
  padding-left: 0;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.why-join__quote-text p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-style: italic;
  color: var(--color-white);
  line-height: 1.8;
  max-width: 72ch;
  margin: 0;
}

/* Author row */
.why-join__quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.why-join__quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-teal);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-join__quote-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.why-join__quote-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.2;
}

.why-join__quote-role {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  line-height: 1.3;
}

/* ── Bottom CTA ──────────────────────────────────────────── */

.why-join__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.why-join__cta-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted-light);
  max-width: none;
  margin: 0;
}

.why-join__cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Stagger delays ──────────────────────────────────────── */

.why-join__header.fade-in-up                   { transition-delay: 0.05s; }
.why-join__grid .perk-card:nth-child(1)        { transition-delay: 0.06s; }
.why-join__grid .perk-card:nth-child(2)        { transition-delay: 0.11s; }
.why-join__grid .perk-card:nth-child(3)        { transition-delay: 0.16s; }
.why-join__grid .perk-card:nth-child(4)        { transition-delay: 0.21s; }
.why-join__grid .perk-card:nth-child(5)        { transition-delay: 0.26s; }
.why-join__grid .perk-card:nth-child(6)        { transition-delay: 0.31s; }
.why-join__grid .perk-card:nth-child(7)        { transition-delay: 0.36s; }
.why-join__grid .perk-card:nth-child(8)        { transition-delay: 0.41s; }
.why-join__quote.fade-in-up                    { transition-delay: 0.22s; }
.why-join__cta.fade-in-up                      { transition-delay: 0.30s; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1200px) {
  .why-join__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .perk-card {
    padding: 22px 16px 18px;
  }
}

@media (max-width: 1024px) {
  .why-join__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .why-join__quote-inner {
    padding: 32px 32px;
  }
}

@media (max-width: 768px) {
  .why-join__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .why-join__quote-inner {
    padding: 28px 24px;
  }

  .why-join__quote-text p {
    font-size: 15px;
  }

  .why-join__cta-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    width: 100%;
  }

  .why-join__cta-buttons .btn-primary,
  .why-join__cta-buttons .btn-secondary {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .why-join__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .perk-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
  }

  .perk-card__icon-wrap {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .perk-card__icon {
    font-size: 17px;
  }

  .perk-card::after {
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .perk-card:hover::after {
    transform: scaleY(1);
  }

  .why-join__quote-inner {
    padding: 22px 18px;
  }

  .why-join__quote-mark {
    font-size: 60px;
  }
}

/* ============================================================
   C3 · CAREERS — OPEN ROLES
   ============================================================ */

/* ── Section header ──────────────────────────────────────── */

.open-roles__header {
  max-width: 620px;
  margin: 0 auto var(--space-xl);
}

.open-roles__title {
  color: var(--color-white);
}

.open-roles__title::after {
  margin-left: auto;
  margin-right: auto;
}

.open-roles__subheading {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--color-muted);
  line-height: 1.7;
  margin: var(--space-sm) auto 0;
  max-width: 56ch;
}

/* ── Accordion wrapper ───────────────────────────────────── */

.roles-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-xl);
}

/* ── Individual role item ────────────────────────────────── */

.role-item {
  background-color: var(--color-slate);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.role-item:hover {
  border-color: rgba(0, 201, 167, 0.4);
}

/* Open state */
.role-item.is-open {
  border-color: var(--color-teal);
  box-shadow: 0 8px 32px rgba(0, 201, 167, 0.1);
}

/* ── Role header button (always visible) ─────────────────── */

.role-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 80px;
  transition: background-color var(--transition-fast);
}

.role-item__header:hover {
  background-color: rgba(0, 201, 167, 0.04);
}

.role-item.is-open .role-item__header {
  background-color: rgba(0, 201, 167, 0.05);
  border-bottom: 1px solid var(--color-border);
}

/* Left side of header */
.role-item__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

/* Role icon circle */
.role-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 201, 167, 0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base),
              border-color var(--transition-base);
}

.role-item__icon i {
  font-size: 16px;
  color: var(--color-teal);
  transition: color var(--transition-base);
}

.role-item.is-open .role-item__icon {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
}

.role-item.is-open .role-item__icon i {
  color: var(--color-navy);
}

/* Meta block */
.role-item__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Role title */
.role-item__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--color-white);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.role-item__header:hover .role-item__title,
.role-item.is-open .role-item__title {
  color: var(--color-teal);
}

/* Tags row */
.role-item__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.role-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.role-item__tag i {
  font-size: 9px;
  color: var(--color-teal);
}

/* Salary tag — slightly more prominent */
.role-item__tag--salary {
  color: var(--color-teal);
  background-color: rgba(0, 201, 167, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px 8px;
}

/* Right side of header */
.role-item__header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* New badge */
.role-item__new-badge {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  white-space: nowrap;
}

/* Featured / Senior badge */
.role-item__featured-badge {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #F59E0B;
  background-color: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  white-space: nowrap;
}

/* Arrow icon */
.role-item__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
}

.role-item__arrow i {
  font-size: 12px;
  color: var(--color-muted);
  transition: color var(--transition-base),
              transform var(--transition-base);
}

.role-item__header:hover .role-item__arrow {
  background-color: rgba(0, 201, 167, 0.1);
  border-color: var(--color-border);
}

/* Rotated arrow when open */
.role-item.is-open .role-item__arrow {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
}

.role-item.is-open .role-item__arrow i {
  color: var(--color-navy);
  transform: rotate(180deg);
}

/* ── Expandable panel ────────────────────────────────────── */

.role-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Open state — height set by JS */
.role-item__panel.is-open {
  max-height: 1000px;
}

/* Panel inner padding */
.role-item__panel-inner {
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Role overview detail rows ───────────────────────────── */

.role-item__overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  background-color: rgba(0, 201, 167, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.role-item__detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.role-item__detail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.role-item__detail-label i {
  color: var(--color-teal);
  font-size: 9px;
  flex-shrink: 0;
}

.role-item__detail-value {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Salary value — teal */
.role-item__detail-value--salary {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-teal);
}

/* ── Section blocks inside panel ─────────────────────────── */

.role-item__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-item__section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.2;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-dark);
}

.role-item__section-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: none;
}

/* ── Bullet list ─────────────────────────────────────────── */

.role-item__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-item__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.55;
}

.role-item__bullets li i {
  color: var(--color-teal);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Apply CTA row ───────────────────────────────────────── */

.role-item__apply {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-dark);
  flex-wrap: wrap;
}

.role-item__apply-btn {
  flex-shrink: 0;
}

.role-item__apply-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  font-style: italic;
}

.role-item__apply-note i {
  color: var(--color-teal);
  font-size: 11px;
}

/* ── Speculative application strip ───────────────────────── */

.open-roles__speculative {
  margin-top: 0;
}

.open-roles__speculative-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-slate);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  flex-wrap: wrap;
}

.open-roles__speculative-icon {
  font-size: 24px;
  color: var(--color-teal);
  flex-shrink: 0;
}

.open-roles__speculative-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  min-width: 200px;
}

.open-roles__speculative-text strong {
  color: var(--color-white);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.open-roles__speculative-btn {
  flex-shrink: 0;
}

/* ── Stagger delays ──────────────────────────────────────── */

.open-roles__header.fade-in-up                   { transition-delay: 0.05s; }
.roles-accordion .role-item:nth-child(1)         { transition-delay: 0.10s; }
.roles-accordion .role-item:nth-child(2)         { transition-delay: 0.17s; }
.roles-accordion .role-item:nth-child(3)         { transition-delay: 0.24s; }
.roles-accordion .role-item:nth-child(4)         { transition-delay: 0.31s; }
.open-roles__speculative.fade-in-up              { transition-delay: 0.38s; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .role-item__overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .role-item__header {
    padding: 16px 18px;
    min-height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .role-item__header-left {
    gap: 12px;
  }

  .role-item__header-right {
    gap: 8px;
  }

  .role-item__tags {
    gap: 5px;
  }

  .role-item__tag--salary {
    display: none;
  }

  .role-item__panel-inner {
    padding: 20px 18px;
    gap: 18px;
  }

  .open-roles__speculative-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }

  .open-roles__speculative-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .role-item__icon {
    width: 38px;
    height: 38px;
  }

  .role-item__icon i {
    font-size: 14px;
  }

  .role-item__title {
    font-size: 14px;
  }

  .role-item__tag {
    font-size: 10px;
  }

  .role-item__new-badge,
  .role-item__featured-badge {
    display: none;
  }

  .role-item__apply {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .role-item__apply-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   C4 · CAREERS — APPLICATION FORM
   ============================================================ */

/* ── Section header ──────────────────────────────────────── */

.careers-form__header {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.careers-form__title::after {
  margin-left: auto;
  margin-right: auto;
}

.careers-form__subheading {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--color-muted-light);
  line-height: 1.7;
  margin: var(--space-sm) auto 0;
  max-width: 52ch;
}

/* ── Form card ───────────────────────────────────────────── */

.careers-form__card {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.08);
}

/* ── Form layout ─────────────────────────────────────────── */

.careers-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 2-column row */
.careers-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Individual field ────────────────────────────────────── */

.careers-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.careers-form__field--full {
  grid-column: 1 / -1;
}

/* ── Label ───────────────────────────────────────────────── */

.careers-form__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark-text);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: normal;
  text-transform: none;
}

.careers-form__required {
  color: var(--color-teal);
  font-size: 14px;
}

.careers-form__optional {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-muted-light);
  font-weight: 400;
  margin-left: 2px;
}

/* ── Inputs ──────────────────────────────────────────────── */

.careers-form__input,
.careers-form__select,
.careers-form__textarea {
  width: 100%;
  background-color: var(--color-cloud);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-dark-text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  min-height: 48px;
}

.careers-form__input::placeholder,
.careers-form__textarea::placeholder {
  color: var(--color-muted-light);
}

.careers-form__input:focus,
.careers-form__select:focus,
.careers-form__textarea:focus {
  border-color: var(--color-teal);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
}

/* Error state */
.careers-form__input.is-error,
.careers-form__select.is-error,
.careers-form__textarea.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* ── Select wrapper ──────────────────────────────────────── */

.careers-form__select-wrap {
  position: relative;
}

.careers-form__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.careers-form__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-light);
  font-size: 12px;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.careers-form__select-wrap:focus-within
.careers-form__select-arrow {
  color: var(--color-teal);
}

/* ── Textarea ────────────────────────────────────────────── */

.careers-form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
}

.careers-form__textarea-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.careers-form__char-count {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--color-muted-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.careers-form__char-count.is-warning {
  color: #F59E0B;
}

.careers-form__char-count.is-limit {
  color: var(--color-error);
}

/* ── File upload ─────────────────────────────────────────── */

.careers-form__file-wrap {
  position: relative;
}

.careers-form__file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.careers-form__file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  background-color: var(--color-cloud);
  cursor: pointer;
  transition: border-color var(--transition-base),
              background-color var(--transition-base);
  text-align: center;
  min-height: 100px;
}

.careers-form__file-label:hover,
.careers-form__file-wrap:focus-within
.careers-form__file-label {
  border-color: var(--color-teal);
  background-color: var(--color-mint);
}

.careers-form__file-label i {
  font-size: 28px;
  color: var(--color-teal);
  margin-bottom: 4px;
}

.careers-form__file-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted-light);
}

.careers-form__file-text strong {
  color: var(--color-teal);
  font-weight: 500;
}

.careers-form__file-sub {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--color-muted-light);
  letter-spacing: 0.04em;
}

.careers-form__file-label.has-file {
  border-color: var(--color-teal);
  background-color: var(--color-mint);
}

.careers-form__file-label.is-error {
  border-color: var(--color-error);
  background-color: rgba(255, 107, 107, 0.04);
}

/* ── Hint + error text ───────────────────────────────────── */

.careers-form__hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted-light);
  line-height: 1.5;
}

.careers-form__error {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-error);
  line-height: 1.4;
  min-height: 18px;
  display: block;
}

/* ── Checkbox ────────────────────────────────────────────── */

.careers-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  font-family: var(--font-body);
}

.careers-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.careers-form__checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background-color: var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color var(--transition-fast),
              background-color var(--transition-fast);
  flex-shrink: 0;
}

.careers-form__checkbox:checked
+ .careers-form__checkbox-custom {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
}

.careers-form__checkbox:checked
+ .careers-form__checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--color-navy);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.careers-form__checkbox:focus-visible
+ .careers-form__checkbox-custom {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.careers-form__checkbox.is-error
+ .careers-form__checkbox-custom {
  border-color: var(--color-error);
}

.careers-form__checkbox-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted-light);
  line-height: 1.6;
}

.careers-form__link {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-fast);
}

.careers-form__link:hover {
  opacity: 0.8;
}

/* ── Submit button ───────────────────────────────────────── */

.careers-form__submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  min-height: 56px;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.careers-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.careers-form__submit-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted-light);
  line-height: 1.5;
  text-align: center;
  margin: 0;
  max-width: none;
}

.careers-form__submit-note i {
  color: var(--color-teal);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Success state ───────────────────────────────────────── */

.careers-form__success {
  max-width: 680px;
  margin: 0 auto;
}

.careers-form__success-inner {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-top: 4px solid var(--color-teal);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.08);
  animation: fadeInUp 0.5s ease forwards;
}

.careers-form__success-icon {
  font-size: 56px;
  color: var(--color-teal);
  margin-bottom: 20px;
  animation: iconPulse 0.6s
    cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.careers-form__success-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--color-dark-text);
  margin-bottom: 12px;
}

.careers-form__success-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted-light);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.careers-form__success-next {
  background-color: var(--color-cloud);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.careers-form__success-next-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted-light);
  margin-bottom: 12px;
  max-width: none;
}

.careers-form__success-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.careers-form__success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark-text);
  line-height: 1.5;
}

.careers-form__success-steps li i {
  color: var(--color-teal);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.careers-form__success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .careers-form__card,
  .careers-form__success-inner {
    padding: 32px 24px;
  }

  .careers-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .careers-form__card,
  .careers-form__success-inner {
    padding: 24px 18px;
  }

  .careers-form__submit {
    font-size: 15px;
    min-height: 52px;
  }

  .careers-form__textarea-footer {
    flex-direction: column;
    gap: 4px;
  }

  .careers-form__success-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .careers-form__success-actions .btn-primary,
  .careers-form__success-actions .btn-secondary {
    justify-content: center;
  }

  /* ============================================================
     END — CAREERS.HTML PAGE STYLES
     ============================================================ */
}