  /* ============================================================
   YOUR TOKENS + BASE + UTILITIES (kept as supplied)
============================================================ */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --navy:       #0A192F;
  --navy-dark:  #060f1e;
  --navy-mid:   #112240;
  --gold:       #D4AF37;
  --gold-light: #e8c84a;
  --white:      #FFFFFF;
  --offwhite:   #F8F9FA;
  --gray-100:   #f1f3f5;
  --gray-300:   #dee2e6;
  --gray-500:   #adb5bd;
  --gray-600:   #6c757d;
  --text-body:  #2d3748;
  --font-main: 'Manrope', system-ui, sans-serif;
  --nav-h: 80px;
  --nav-h-scrolled: 68px;
  --section-py: 110px;
  --section-py-sm: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE ────────────────────────────────────────────── */
*, *::before, *::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
     scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--navy);
  line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* ── UTILITY ─────────────────────────────────────────── */
.text-gold { color: var(--gold) !important; }
.bg-navy   { background-color: var(--navy) !important; }
.bg-navy-mid { background-color: var(--navy-mid) !important; }
.bg-offwhite { background-color: var(--offwhite) !important; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--gold);
  display: block;
  margin: 18px 0 28px;
}




    /* ── PAGE HERO ── */
    #page-hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--navy);
      padding: 140px 0 100px;
    }
    #page-hero .hero-bg {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(135deg, rgba(10,25,47,0.7) 45%, rgba(10,25,47,0.7) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80') center/cover no-repeat;
      z-index: 0;
    }
    #page-hero .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 1;
    }
    #page-hero .hero-pulse {
      position: absolute;
      right: 8%;
      top: 50%;
      transform: translateY(-50%);
      width: 340px;
      height: 340px;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    @media (max-width: 991px) { #page-hero .hero-pulse { display: none; } }
    #page-hero .pulse-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(212,175,55,0.12);
      animation: pulseExpand 3.5s ease-out infinite;
    }
    #page-hero .pulse-ring:nth-child(1) { width: 100px; height: 100px; animation-delay: 0s; }
    #page-hero .pulse-ring:nth-child(2) { width: 180px; height: 180px; animation-delay: 0.7s; }
    #page-hero .pulse-ring:nth-child(3) { width: 260px; height: 260px; animation-delay: 1.4s; }
    #page-hero .pulse-ring:nth-child(4) { width: 340px; height: 340px; animation-delay: 2.1s; }
    @keyframes pulseExpand {
      0%   { opacity: 0.6; transform: scale(0.92); }
      100% { opacity: 0;   transform: scale(1.08); }
    }
    #page-hero .pulse-center {
      width: 72px; height: 72px; border-radius: 50%;
      background: var(--gold); display: flex; align-items: center;
      justify-content: center; font-size: 1.8rem; color: var(--navy);
      z-index: 2; box-shadow: 0 0 0 8px rgba(212,175,55,0.12);
    }
    #page-hero .container { position: relative; z-index: 2; }

    .breadcrumb-nav {
      display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
      font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
      text-transform: uppercase; color: rgba(255,255,255,0.45);
    }
    .breadcrumb-nav a { color: var(--gold); text-decoration: none; }
    .breadcrumb-nav .sep { color: rgba(255,255,255,0.25); }
    .breadcrumb-nav .current { color: rgba(255,255,255,0.45); }

    .hero-title {
      font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
      color: var(--white); line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.02em;
    }
    .hero-title .gold { color: var(--gold); }
    #page-hero .hero-sub {
      font-size: 1rem; color: rgba(255,255,255,0.6);
      line-height: 1.8; max-width: 560px; margin-bottom: 36px;
    }
    #page-hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

    /* ── WHY HEMAC FOR CAREERS ── */
    #why-join {
      padding: 110px 0;
      background: var(--white);
    }
    .join-card {
      padding: 36px 32px;
      border: 1px solid var(--gray-200);
      height: 100%;
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    }
    .join-card:hover {
      border-color: var(--gold);
      box-shadow: 0 8px 32px rgba(10,25,47,0.08);
      transform: translateY(-4px);
    }
    .join-card-icon {
      width: 56px; height: 56px; background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; color: var(--gold); margin-bottom: 20px;
    }
    .join-card h4 {
      font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px;
    }
    .join-card p {
      font-size: 0.88rem; color: var(--gray-500); line-height: 1.75; margin: 0;
    }

    /* ── CULTURE SPLIT ── */
    #culture {
      padding: 0 0 110px;
      background: var(--white);
    }
    .culture-image {
      position: relative; 
      height: 100%; 
    }
    .culture-image img {
      width: 100%; 
      height: 100vh; 
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .culture-image:hover img 
    { transform: scale(1.04); 
    }
    .culture-image-accent {
      position: absolute; top: 0; left: 0;
      width: 4px; height: 100%; background: var(--gold);
    }
    .culture-values {
      display: flex; flex-direction: column; gap: 24px;
    }
    .culture-value-item {
      display: flex; gap: 18px; align-items: flex-start;
      padding: 20px 24px; border: 1px solid var(--gray-100);
      transition: border-color 0.2s;
    }
    .culture-value-item:hover { border-color: var(--gold); }
    .culture-value-num {
      font-size: 1.6rem; font-weight: 800; color: rgba(212,175,55,0.25);
      line-height: 1; flex-shrink: 0; min-width: 36px;
    }
    .culture-value-body h5 {
      font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px;
    }
    .culture-value-body p {
      font-size: 0.83rem; color: var(--gray-500); line-height: 1.65; margin: 0;
    }

    /* ── OPEN ROLES ── */
    #open-roles {
      padding: 110px 0;
      background: var(--gray-50);
    }
    .role-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      padding: 28px 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      transition: border-color 0.25s, box-shadow 0.25s;
      margin-bottom: 16px;
    }
    .role-card:hover {
      border-color: var(--gold);
      box-shadow: 0 6px 24px rgba(10,25,47,0.07);
    }
    .role-card:last-child { margin-bottom: 0; }
    .role-info { flex: 1; min-width: 200px; }
    .role-dept {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
    }
    .role-title {
      font-size: 1rem; font-weight: 700; color: var(--navy);
      margin-bottom: 6px; line-height: 1.3;
    }
    .role-meta {
      display: flex; gap: 16px; flex-wrap: wrap;
    }
    .role-meta span {
      font-size: 0.75rem; color: var(--gray-400); font-weight: 500;
      display: flex; align-items: center; gap: 4px;
    }
    .role-meta i { color: var(--gray-300); }
    .role-tag {
      font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
      text-transform: uppercase; padding: 4px 10px;
      border: 1px solid var(--gray-200); color: var(--gray-500);
      white-space: nowrap; align-self: flex-start;
    }
    .role-tag.open { border-color: #C3E6CB; color: #155724; background: #D4EDDA; }
    .role-tag.upcoming { border-color: #FFC107; color: #856404; background: #FFF3CD; }

    /* ── TALENT POOL FORM ── */
    #talent-form {
      padding: 110px 0;
      background: var(--navy);
      position: relative;
      overflow: hidden;
    }
    #talent-form::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    #talent-form .container { position: relative; z-index: 1; }

    .talent-form-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 48px 44px;
    }
    @media (max-width: 575px) { .talent-form-card { padding: 28px 20px; } }

    .form-group { margin-bottom: 20px; }
    .form-label-hemac {
      display: block; font-size: 0.75rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: rgba(255,255,255,0.5); margin-bottom: 8px;
    }
    .form-control-hemac {
      width: 100%; padding: 13px 16px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      color: var(--white);
      font-family: var(--font-main); font-size: 0.9rem;
      outline: none; transition: border-color 0.2s;
    }
    .form-control-hemac::placeholder { color: rgba(255,255,255,0.25); }
    .form-control-hemac:focus { border-color: var(--gold); }
    select.form-control-hemac option { background: var(--navy); color: var(--white); }

    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    @media (max-width: 575px) { .form-grid { grid-template-columns: 1fr; } }

    /* ── PROCESS STEPS ── */
    #hiring-process {
      padding: 110px 0;
      background: var(--white);
    }
    .process-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      position: relative;
    }
    @media (max-width: 767px) {
      .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 480px) {
      .process-steps { grid-template-columns: 1fr; }
    }

    .process-step {
      padding: 32px 24px;
      border-right: 1px solid var(--gray-200);
      position: relative;
    }
    .process-step:last-child { border-right: none; }
    @media (max-width: 767px) { .process-step { border-right: none; border-bottom: 1px solid var(--gray-200); } }

    .step-num {
      font-size: 2.5rem; font-weight: 800;
      color: rgba(212,175,55,0.18); line-height: 1; margin-bottom: 16px;
    }
    .step-icon {
      width: 44px; height: 44px; background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; color: var(--gold); margin-bottom: 16px;
    }
    .process-step h4 {
      font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px;
    }
    .process-step p {
      font-size: 0.82rem; color: var(--gray-500); line-height: 1.7; margin: 0;
    }
