/* KOSCA — People Page Styles */

/* ============================================================
   PEOPLE HERO
============================================================ */

.people-hero {
  position: relative;
  background: var(--gradient-jewel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-24) 0 var(--space-20);
  overflow: hidden;
}

.people-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
}

.people-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
}

.people-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.people-hero__breadcrumb {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-4);
}

.people-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.people-hero__breadcrumb a:hover {
  color: var(--color-gold-light);
}

.people-hero__breadcrumb span[aria-hidden] {
  margin: 0 var(--space-1);
  opacity: 0.5;
}

.people-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
}

.people-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-gold-light);
}

.people-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: #ffffff;
  margin-bottom: var(--space-5);
}

.people-hero__subtitle {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
}

/* ============================================================
   TEAM OVERVIEW — DEPT CARDS
============================================================ */

/* Gold eyebrows (overrides the global indigo default) — gold-deep on the light
   sections, gold-light on the dark Internships band. Keeps the People page
   compliant with the eyebrow-is-gold rule. */
#team .section-label,
#careers .section-label,
#career-form .section-label {
  color: var(--color-gold-deep);
}

/* Gold-light on the dark bands (Internships + the indigo Life at KOSCA). */
#internships .internship-band__eyebrow,
#internships .section-label,
#culture .section-label {
  color: var(--color-gold-light);
}

.dept-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

/* Jewel pillar cards — the "Our Approach" treatment: deep-indigo surface with
   plum bloom + gold top hairline, gold-tile icon, gold title, light text. */
.dept-card {
  position: relative;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-xl);
  background: var(--gradient-jewel-plum);
  box-shadow: 0 12px 32px rgba(43, 38, 96, 0.28);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Gold hairline across the top. */
.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43, 38, 96, 0.34);
}

/* Solid gold gradient tile with an indigo glyph — the "Our Approach" pillar
   treatment. Overrides the global indigo jewel-tile standard (which sets
   background + glyph colour with !important on .dept-card__icon). */
.dept-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8ee 0%, #e8c97a 50%, #b8820f 100%) !important;
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--color-brand-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(43, 38, 96, 0.25);
  margin: 0 auto var(--space-5);
}

/* Indigo glyph on the gold tile (beats the global gold-glyph !important rule). */
.dept-card__icon svg {
  color: var(--color-brand-primary) !important;
}

.dept-card__count {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.dept-card__name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-gold-light);
  margin-bottom: var(--space-2);
}

.dept-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
}

/* ------------------------------------------------------------
   EDUCATION — partner-led (Wella Company), not a KOSCA department.
   Spans the full row below the four, laid out as a horizontal banner
   so it reads as distinct from the four equal dept cards.
------------------------------------------------------------ */
.dept-card--education {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  text-align: left;
  padding: var(--space-8);
  margin-top: var(--space-2);
}

.dept-card--education .dept-card__icon {
  margin: 0;
  flex-shrink: 0;
}

.dept-card--education .dept-card__name {
  margin-bottom: var(--space-2);
}

.dept-card--education .dept-card__desc {
  max-width: 64ch;
}

/* Gold-outlined pill marking the function as Wella-led — sits inline above
   the name in the banner's text column (not absolute, so it never overlaps). */
.dept-card__partner-tag {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(255, 255, 255, 0.06);
}

.dept-card__link {
  justify-self: end;
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gold-light);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.dept-card__link:hover {
  opacity: 0.7;
}

@media (max-width: 860px) {
  .dept-card--education {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-4);
  }
  .dept-card--education .dept-card__icon {
    margin: 0 auto;
  }
  .dept-card--education .dept-card__desc {
    margin-inline: auto;
  }
  .dept-card__link {
    justify-self: center;
  }
}

/* ============================================================
   LEADERSHIP — Sabari "Our Foundation" treatment: jewel ground,
   intro text + CEO founder card, with a department-heads row below.
   (Founder-card classes mirror about.css so the CEO card matches the
   Sabari chairman card exactly.)
============================================================ */

.sabari-section {
  background: var(--gradient-jewel);
  overflow: hidden;
  position: relative;
}

.sabari-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.sabari-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.sabari-section .section-label { color: var(--color-gold-light); }
.sabari-section .section-title { color: #fff; }
.sabari-section .sabari__title em {
  font-style: normal;
  color: var(--color-gold-light);
}

.sabari__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.sabari__title { margin-bottom: var(--space-6); }

.sabari__body p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-5);
}

.sabari__body p:last-child { margin-bottom: 0; }

.sabari__founder-card {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  background: var(--color-surface);   /* light box on the indigo ground */
  border: 1px solid rgba(201, 162, 75, 0.30);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 16px 40px rgba(15, 12, 45, 0.30);
  overflow: hidden;
}

.sabari__founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.sabari__founder-media {
  --pad: var(--space-6);
  position: relative;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0;
  aspect-ratio: 1 / 1;   /* square box shows the full 1000x1000 portrait, no crop */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,0.6) 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,0.6) 86%, transparent 100%);
}

.sabari__founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Per-card crop anchor — override with style="--founder-focus: center 35%"
     on .sabari__founder-media so each portrait frames its own face. */
  object-position: var(--founder-focus, center 22%);
  display: block;
}

/* Light "photo coming" wash — soft champagne/gold on the white card (a real
   photo replaces this entirely; the bottom mask fades either into the card). */
.sabari__founder-media.is-placeholder {
  background:
    radial-gradient(120% 120% at 30% 18%, rgba(255, 255, 255, 0.65) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-champagne) 0%, rgba(201, 162, 75, 0.18) 100%);
}

.sabari__founder-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  color: rgba(126, 99, 26, 0.35);   /* faint deep-gold — clearly a placeholder */
}

.sabari__founder-body {
  position: relative;
  margin-top: calc(-1 * var(--space-4));
}

.sabari__founder-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-deep);   /* deep gold — eyebrow on the light card */
  margin-bottom: var(--space-2);
}

.sabari__founder-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.sabari__founder-role {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.sabari__founder-quote {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: var(--leading-relaxed);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-4);
}

/* Department-heads row — compact people cards on the jewel ground, below the
   CEO feature, separated by a faint gold hairline. */
.dept-heads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
  z-index: 1;
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(201, 162, 75, 0.25);
}

/* Rectangular portrait cards — light box on the indigo ground, tall photo
   area on top, text below. Mirrors the founder-card light treatment. */
.dept-head {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(201, 162, 75, 0.30);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 12, 45, 0.28);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.dept-head:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 12, 45, 0.36);
}

/* Gold hairline crowning the card. */
.dept-head::before {
  content: '';
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Tall photo area at the top of the card. */
.dept-head__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Real photo fills the area. */
.dept-head__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

/* Light "photo coming" wash with a gold person silhouette. */
.dept-head__photo.is-placeholder {
  background:
    radial-gradient(120% 120% at 30% 18%, rgba(255, 255, 255, 0.65) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-champagne) 0%, rgba(201, 162, 75, 0.18) 100%);
}

.dept-head__avatar {
  color: rgba(126, 99, 26, 0.40);   /* faint deep-gold — clearly a placeholder */
}

.dept-head__text {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.dept-head__dept {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-2);
}

.dept-head__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.dept-head__role {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 900px) {
  .sabari__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .dept-heads {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .dept-heads {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EMPLOYEE DIRECTORY
============================================================ */

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.profile-card:hover {
  box-shadow: var(--shadow-md);
}

.profile-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-primary-faint), #ddd8f5);
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-brand-primary);
  overflow: hidden;
}

.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-card__dept-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand-primary-faint);
  color: var(--color-brand-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.profile-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.profile-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ============================================================
   EMPLOYEE OF THE MONTH — "spotlight" card on the LIGHT page
   background, matching the "Our Workforce" section. Light section →
   INDIGO jewel box (plum bloom + gold hairline, gold-tile photo with
   indigo initials, gold/light text). Gold-deep eyebrow per the rule.
============================================================ */

.spotlight-section .section-label { color: var(--color-gold-deep); }

.spotlight-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  /* indigo jewel surface — same as the Products category cards / pillars */
  background: var(--gradient-jewel-plum);
  border: 1px solid rgba(201, 162, 75, 0.30);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 16px 40px rgba(15, 12, 45, 0.30);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-8);
  align-items: center;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.spotlight-card__photo {
  width: 140px;
  height: 168px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid rgba(201, 162, 75, 0.45);
}

/* Gold tile with indigo initials — stands out on the indigo card. */
.spotlight-section .spotlight-card__photo-placeholder {
  width: 140px;
  height: 168px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8ee 0%, #e8c97a 50%, #b8820f 100%);
  border: 1px solid rgba(201, 162, 75, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-primary);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
}

.spotlight-section .spotlight-card__badge {
  display: block;
  grid-column: 1 / -1;
  width: fit-content;
  margin: calc(var(--space-4) - var(--space-8)) auto calc(var(--space-3) - var(--space-8));
  /* solid gold pill with indigo text — pops on the indigo card */
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--color-brand-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.spotlight-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-gold-light);
  margin-bottom: var(--space-1);
}

.spotlight-card__role {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-4);
}

.spotlight-card__achievement {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.spotlight-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-style: italic;
  color: #fff;
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-4);
  line-height: var(--leading-relaxed);
}

@media (max-width: 600px) {
  .spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8) var(--space-6);
  }
  .spotlight-card__photo,
  .spotlight-card__photo-placeholder { margin: 0 auto; }
  .spotlight-card__quote { text-align: left; }
}

/* Spotlight grid — count-aware wrapper */
.spotlight-grid {
  display: grid;
  gap: var(--space-6);
  max-width: 980px;
  margin: 0 auto;
}
.spotlight-grid--solo  { grid-template-columns: 1fr; max-width: 760px; }
.spotlight-grid--duo   { grid-template-columns: 1fr 1fr; }
.spotlight-grid--trio  { grid-template-columns: 1fr 1fr; }
.spotlight-grid--trio  > .spotlight-card:nth-child(3) { grid-column: 1 / -1; }
.spotlight-grid--multi { grid-template-columns: 1fr 1fr; }
.spotlight-grid--multi > .spotlight-card:nth-child(odd):last-child { grid-column: 1 / -1; }
/* Tighten photo column in multi-card rows */
.spotlight-grid--duo .spotlight-card,
.spotlight-grid--trio .spotlight-card,
.spotlight-grid--multi .spotlight-card { grid-template-columns: 110px 1fr; }
@media (max-width: 760px) {
  .spotlight-grid { grid-template-columns: 1fr !important; }
  .spotlight-grid .spotlight-card { grid-template-columns: 1fr; text-align: center; }
  .spotlight-grid .spotlight-card__photo,
  .spotlight-grid .spotlight-card__photo-placeholder { margin: 0 auto; }
}

/* ============================================================
   LIFE AT KOSCA — MARQUEE (same as homepage gallery marquee)
============================================================ */

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.gallery-marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-4);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.5) 2%, #000 6%, #000 94%, rgba(0,0,0,0.5) 98%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.5) 2%, #000 6%, #000 94%, rgba(0,0,0,0.5) 98%, transparent 100%);
}

.gallery-marquee {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.gallery-marquee--reverse { animation-name: marqueeScrollReverse; }

.life-marquee-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

/* On the indigo section, fade edges into the indigo ground colour */
.section--indigo .gallery-marquee-wrap {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.5) 2%, #000 6%, #000 94%, rgba(0,0,0,0.5) 98%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.5) 2%, #000 6%, #000 94%, rgba(0,0,0,0.5) 98%, transparent 100%);
}

.gallery-marquee__item {
  flex-shrink: 0;
  position: relative;
  margin: 0;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.gallery-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-marquee__item:hover img { transform: scale(1.05); }

.gallery-marquee__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  background: linear-gradient(to top, rgba(20, 18, 48, 0.85) 0%, transparent 100%);
}

.gallery-marquee__item--ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border-color: rgba(201, 162, 75, 0.45);
  color: var(--color-gold-light);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.14) 0%, transparent 55%),
    linear-gradient(160deg, #4b4290 0%, var(--color-brand-primary) 100%);
}
.gallery-marquee__item--ph .gallery-marquee__icon { opacity: 0.85; line-height: 0; }
.gallery-marquee__item--ph figcaption {
  position: static;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}
.gallery-marquee__item--2, .gallery-marquee__item--5 {
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 55%),
    linear-gradient(160deg, #4b4290 0%, var(--color-brand-primary) 100%);
}
.gallery-marquee__item--3, .gallery-marquee__item--6 {
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.10) 0%, transparent 55%),
    linear-gradient(160deg, var(--color-brand-primary) 0%, var(--color-brand-primary-dark) 100%);
}

@media (max-width: 600px) {
  .gallery-marquee__item { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-marquee { animation: none; }
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, #e8c96a 50%, var(--color-gold) 100%);
  color: var(--color-brand-primary, #3D3680);
  border: none;
  font-weight: var(--weight-semibold);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #b8912e 0%, #d4b44e 50%, #b8912e 100%);
  color: var(--color-brand-primary, #3D3680);
}


/* ============================================================
   CULTURE VALUES
============================================================ */

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Light benefit-style cards lifting off the indigo ground (the Service 03
   "Logistics & Warehousing" treatment). Text scoped under .culture-card so it
   beats the global `.section--indigo [class*="card"]` light-text override. */
.culture-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 16px 40px rgba(15, 12, 45, 0.30);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.culture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(15, 12, 45, 0.42);
  border-color: var(--color-brand-primary-light);
}

/* Icon + title on one row. */
.culture-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.culture-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-card .culture-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0;
  line-height: var(--leading-snug);
}

.culture-card .culture-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   CAREERS
============================================================ */

.careers-section {
  background: var(--color-surface-alt);
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

/* Indigo jewel cards — gold hairline on top, light text on the dark ground
   (matches the cert / brand-training cards). */
.position-card {
  position: relative;
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  background: var(--gradient-jewel-plum);
  box-shadow: 0 12px 32px rgba(43, 38, 96, 0.28);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.position-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.position-card:hover {
  box-shadow: 0 16px 40px rgba(43, 38, 96, 0.34);
  transform: translateY(-3px);
}

.position-card__dept {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-gold);
  color: var(--color-brand-primary-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

.position-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
  /* Reserve two lines so single- and double-line titles align the meta/desc
     rows below across cards. */
  min-height: calc(2 * var(--text-xl) * var(--leading-snug));
}

/* Whole-card trigger — the title button stretches over the entire card via
   ::after, so clicking anywhere on the card opens the job detail modal. */
.position-card__link {
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.position-card__link:hover {
  color: var(--color-gold-light);
}

.position-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Keep the Apply button clickable above the stretched link layer. */
.position-card .btn {
  position: relative;
  z-index: 2;
}

.position-card__meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.position-card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  font-weight: var(--weight-medium);
}

.position-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-6);
}

/* ============================================================
   JOB DETAIL MODAL
============================================================ */

.job-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 1000);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.job-modal[hidden] {
  display: none;
}

.job-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 56, 0.62);
  backdrop-filter: blur(3px);
}

/* Light dialog card with a gold hairline at the top. */
.job-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: 0 24px 64px rgba(26, 22, 56, 0.40);
  animation: job-modal-in 0.25s ease;
}

.job-modal__dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

@keyframes job-modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.job-modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.job-modal__close:hover {
  background: var(--color-brand-primary);
  color: #fff;
  border-color: var(--color-brand-primary);
}

.job-modal__dept {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand-primary);
  color: var(--color-gold-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.job-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
  padding-right: var(--space-10);
}

/* Header band above the two columns. */
.job-modal__header {
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

/* Two-column layout: sticky sidebar + main content. */
.job-modal__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-10);
  align-items: start;
}

.job-modal__aside {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Facts stacked as a sidebar list. */
.job-modal__facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.job-modal__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-modal__aside-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.job-modal__aside-heading {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand-primary);
  text-align: center;
}

.job-modal__apply {
  width: 100%;
  color: var(--color-gold-light);
}

.job-modal__fact-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.job-modal__fact-value {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

.job-modal__block {
  margin-bottom: var(--space-6);
}

.job-modal__heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.job-modal__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.job-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.job-modal__list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.job-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.job-modal__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.job-modal__chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand-primary);
  color: var(--color-gold-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

/* Collapse to a single column on narrower viewports. */
@media (max-width: 760px) {
  .job-modal__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .job-modal__aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .job-modal {
    padding: 0;
  }
  .job-modal__dialog {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: var(--space-8) var(--space-5);
  }
}

/* Gold-fill apply button with indigo text on the jewel card. */
.position-card .btn--primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-brand-primary-dark);
}

.position-card .btn--primary:hover {
  background: var(--color-gold-deep);
  border-color: var(--color-gold-deep);
  color: #fff;
}

/* ============================================================
   INTERNSHIP
============================================================ */

.internship-band {
  background: var(--color-brand-primary);
  padding: var(--space-12) 0;
}

.internship-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.internship-band__text {
  flex: 1;
  min-width: 280px;
}

.internship-band .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.internship-band__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.internship-band__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  max-width: 520px;
}

/* Solid gold button with indigo text on the indigo band. */
.internship-band .btn--secondary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-brand-primary-dark);
  white-space: nowrap;
}

.internship-band .btn--secondary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-brand-primary-dark);
}

/* ============================================================
   CAREER APPLICATION FORM
============================================================ */

/* "Ready to partner with us?" background — transparent so the warm page wash
   shows through, with the cta-bloom petals + frosted glass behind the content
   (same machinery as the .cta-strip--light CTA). */
.career-form-section {
  position: relative;
  background: transparent;
  isolation: isolate;          /* contain the aurora blend modes */
  overflow: hidden;
}

.career-form-section > .container {
  position: relative;
  z-index: 2;                  /* content above the bloom + glass */
}

.career-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}

.career-form-intro {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

/* Indigo jewel form card — gold hairline on top, light fields on the dark
   ground (matches the Academy training form). */
.career-form-card {
  position: relative;
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  background: var(--gradient-jewel-plum);
  box-shadow: 0 16px 40px rgba(43, 38, 96, 0.30);
  overflow: hidden;
}

.career-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.career-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* Field labels read gold on the jewel ground. */
.career-form-card .form-label {
  color: var(--color-gold-light);
}

/* Inputs stay white with dark text; gold focus ring. */
.career-form-card .form-input:focus,
.career-form-card .form-select:focus,
.career-form-card .form-textarea:focus {
  border-color: var(--color-gold-light);
}

/* File dropzone on the jewel ground — gold dashed edge, light text. */
.career-form-card .file-upload-label {
  border-color: rgba(201, 162, 75, 0.40);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-gold-light);
}

.career-form-card .file-upload-label:hover {
  border-color: var(--color-gold-light);
  background: rgba(255, 255, 255, 0.10);
}

.career-form-card .file-upload-label span {
  color: rgba(255, 255, 255, 0.78);
}

.career-form-card .file-upload-label strong {
  color: var(--color-gold-light);
}

/* Gold fill with indigo text on the jewel card. */
.career-form-card .btn--primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-brand-primary-dark);
}

.career-form-card .btn--primary:hover {
  background: var(--color-gold-deep);
  border-color: var(--color-gold-deep);
  color: #fff;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--input-radius);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.file-upload-label:hover {
  border-color: var(--color-brand-primary);
  background: var(--color-brand-primary-faint);
}

.file-upload-label span {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.file-upload-label strong {
  color: var(--color-brand-primary);
}

input[type="file"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1024px) {
  .dept-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-form-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .career-form-intro {
    position: static;
  }
}

@media (max-width: 768px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .culture-grid {
    grid-template-columns: 1fr;
  }
  .positions-grid {
    grid-template-columns: 1fr;
  }
  .career-form-card {
    padding: var(--space-6);
  }
  .career-form-card .form-row {
    grid-template-columns: 1fr;
  }
  .internship-band__inner {
    flex-direction: column;
    text-align: center;
  }
  .internship-band__desc {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .dept-cards {
    grid-template-columns: 1fr 1fr;
  }
}
