/* ==========================================================================
   in2work – main stylesheet
   Built on Bootstrap 5.3. Design reference: 1920px Figma frame
   (content width 1600px, inner card padding 80px).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --clr-navy: #0b1d33;
  --clr-green: #a6ce39;
  --clr-green-light: #e4f4cf;
  --clr-green-pale: #edf6e1;
  --clr-page: #ebeee7;
  --clr-white: #ffffff;
  --clr-light-grey: #f1f3f5;
  --clr-text: #333333;
  --clr-grey: #6b7280;
  --clr-black: #000000;
  --clr-divider: rgba(11, 29, 51, 0.3);
  --clr-border: #bebebe;
  --clr-card-border: #6b7280;
  --clr-off-white: #fdfdfd;
  --clr-hero-lead: #cbd5e4;
  --clr-required: #e5484d;
  --hero-gradient: linear-gradient(90deg, var(--clr-navy) 36.5%, rgba(19, 36, 56, 0.15) 100%);
  --key-gradient: linear-gradient(101.5deg, var(--clr-navy) 22.6%, var(--clr-navy) 64.3%, #215799 98.2%);
  --shadow-panel: 10px 0 10px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-base: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-display: clamp(2.25rem, 1.2rem + 3.6vw, 5.125rem);   /* 82px */
  --lh-display: 1.11;                                        /* 91px */
  --fs-h2: clamp(2rem, 1.45rem + 1.7vw, 3.25rem);            /* 52px */
  --lh-h2: 1.115;                                            /* 58px */
  --fs-h3: clamp(1.625rem, 1.35rem + 0.8vw, 2.25rem);        /* 36px */
  --fs-h4: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);         /* 24px */
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);         /* 20px */
  --fs-btn: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);         /* 18px */
  --fs-small: 0.825rem;                                      /* 13.2px */

  /* Spacing */
  --container-max: 1600px;
  --nav-max: 1660px;
  --gutter: clamp(15px, 4vw, 40px);
  --space-card: clamp(24px, 4.2vw, 80px);       /* 80px card padding */
  --space-section: clamp(60px, 7.8vw, 150px);   /* 150px between sections */
  --space-section-sm: clamp(50px, 6.15vw, 118px);
  --space-50: clamp(30px, 2.6vw, 50px);
  --space-30: 30px;
  --space-20: 20px;

  /* Radius */
  --radius-xl: clamp(30px, 2.6vw, 50px);   /* 50px large cards / nav */
  --radius-lg: 30px;
  --radius-pill: 34px;
  --banner-overlap: 30px;          /* how far cards overlap the page banner */
  --radius-md: 20px;
  --radius-sm: 10px;
  --radius-xs: 5px;
  --input-height: 51px;

  /* Components */
  --btn-height: 60px;
  --btn-width: 200px;
  --nav-height: 100px;
  --icon-box: 80px;

  --transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  color: var(--clr-text);
  background-color: var(--clr-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--clr-navy); margin: 0; }
p { margin: 0; }
a { color: inherit; }

.text-green { color: var(--clr-green); }
.text-black { color: var(--clr-black); }
.fw-semibold, strong { font-weight: var(--fw-semibold); }

.site-container {
  width: min(var(--container-max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* Custom 30px gutter used by the design at desktop widths */
@media (min-width: 1200px) {
  .g-xl-30 { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
}

/* --------------------------------------------------------------------------
   3. Shared components
   -------------------------------------------------------------------------- */

/* Section heading tag (“Purpose”, “About Us” …) */
.tag {
  display: inline-flex;
  align-items: center;
  height: 37px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background-color: var(--clr-green-light);
  color: var(--clr-navy);
  font-size: var(--fs-btn);
  line-height: 1;
  white-space: nowrap;
}
.tag--white { background-color: var(--clr-white); padding: 0 27px; }

.section-title {
  margin-top: 20px;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-semibold);
}

.body-text {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--clr-text);
}

.text-link {
  color: var(--clr-navy);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: color var(--transition);
}
.text-link:hover, .text-link:focus-visible { color: var(--clr-green); }

.brand-word { color: var(--clr-navy); font-weight: var(--fw-semibold); }

/* Pill buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--btn-width);
  height: var(--btn-height);
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-btn);
  font-weight: var(--fw-semibold);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:focus-visible { outline: 3px solid var(--clr-green); outline-offset: 3px; }

.btn-pill--green { background-color: var(--clr-green); color: var(--clr-navy); }
.btn-pill--green:hover { background-color: var(--clr-navy); color: var(--clr-white); }

.btn-pill--white { background-color: var(--clr-white); color: var(--clr-navy); }
.btn-pill--white:hover { background-color: var(--clr-green); color: var(--clr-navy); }

.btn-pill--navy { background-color: var(--clr-navy); color: var(--clr-white); }
.btn-pill--navy:hover { background-color: var(--clr-green); color: var(--clr-navy); }

.btn-pill--outline-light { border-color: var(--clr-light-grey); color: var(--clr-white); }
.btn-pill--outline-light:hover { background-color: var(--clr-white); color: var(--clr-navy); }

/* Contextual hover states
   A button's default hover can match the surface it sits on (e.g. green → navy
   on a navy banner). These rules swap the hover colour based on the
   background, so the same buttons work everywhere. Add new dark / green
   surfaces to the matching selector list below. */

/* On dark (navy) surfaces: green buttons hover to white */
:is(.hero, .page-hero, .key-band, .cta-card--navy, .option-tile--navy, .site-footer) .btn-pill--green:hover {
  background-color: var(--clr-white);
  color: var(--clr-navy);
}

/* On green surfaces: white buttons hover to navy */
:is(.cta-card--green, .job-card--featured, .job-card:hover, .job-card:focus-within, .benefit-card:hover, .option-tile--green) .btn-pill--white:hover {
  background-color: var(--clr-navy);
  color: var(--clr-white);
}
/* On green surfaces: green buttons hover to navy (already the default) and
   navy buttons hover to white rather than green */
:is(.cta-card--green, .job-card--featured, .job-card:hover, .job-card:focus-within, .benefit-card:hover, .option-tile--green) .btn-pill--navy:hover {
  background-color: var(--clr-white);
  color: var(--clr-navy);
}

/* Non-clickable preview button (post a job sidebar) – no hover effect */
span.btn-pill { pointer-events: none; }

/* Icon box */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--icon-box);
  height: var(--icon-box);
  border-radius: var(--radius-sm);
  background-color: var(--clr-green-light);
}
.icon-box--green { background-color: var(--clr-green); }
.icon-box img { width: auto; max-height: 50px; }

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 30px 0 auto;
  z-index: 1030;
  width: min(var(--nav-max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.site-nav {
  min-height: var(--nav-height);
  padding: 0 30px;
  border-radius: 50px;
  background-color: var(--clr-white);
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-nav__logo { margin: 0; padding: 0; }
.site-nav__logo img { width: 201px; height: 65px; display: block; }

.site-nav__menu { gap: 60px; align-items: center; }
.site-nav__menu .nav-link {
  position: relative;
  padding: 4px 0 !important;
  color: var(--clr-text);
  font-size: var(--fs-btn);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  white-space: nowrap;
  transition: color var(--transition);
}
.site-nav__menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--clr-navy);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.site-nav__menu .nav-link:hover,
.site-nav__menu .nav-link.active { color: var(--clr-navy); }
.site-nav__menu .nav-link:hover::after,
.site-nav__menu .nav-link.active::after { transform: scaleX(1); }

.site-nav__collapse { flex-grow: 0; }
@media (min-width: 1200px) {
  .site-nav { flex-wrap: nowrap; }
  .site-nav__collapse { flex-grow: 1; justify-content: space-between; margin-left: 20px; }
  .site-nav__menu { margin-inline: auto; gap: clamp(22px, 7.5vw - 84px, 60px); }
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
  .site-nav { padding: 0 24px; }
  .site-nav__logo img { width: 160px; height: auto; }
  .site-nav__menu .nav-link { font-size: 1rem; }
  .site-nav__actions { gap: 20px; }
  .site-nav__actions .btn-pill { min-width: 170px; height: 52px; padding: 0 24px; font-size: 1rem; }
  .site-nav__actions .brand-toggle img { width: 80px; height: auto; }
}

.site-nav__actions { display: flex; align-items: center; gap: 30px; }
.site-nav__actions-mobile { display: flex; align-items: center; gap: 16px; }

/* i2w logo button that opens the brand panel */
.brand-toggle {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.brand-toggle img { width: 94px; height: 65px; display: block; }
.brand-toggle:hover { opacity: 0.8; }
.brand-toggle:focus-visible { outline: 3px solid var(--clr-green); outline-offset: 4px; }

/* Hamburger */
.site-nav__toggler {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border: 0;
  border-radius: 50%;
  background-color: var(--clr-green);
}
.site-nav__toggler:focus { box-shadow: none; }
.site-nav__toggler:focus-visible { outline: 3px solid var(--clr-navy); outline-offset: 2px; }
.site-nav__toggler-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: var(--clr-navy);
  transition: transform var(--transition), opacity var(--transition);
}
.site-nav__toggler[aria-expanded="true"] .site-nav__toggler-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-nav__toggler[aria-expanded="true"] .site-nav__toggler-bar:nth-child(2) { opacity: 0; }
.site-nav__toggler[aria-expanded="true"] .site-nav__toggler-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile / tablet menu */
@media (max-width: 1199.98px) {
  .site-nav { border-radius: 30px; padding: 12px 20px; min-height: 0; }
  .site-nav__logo img { width: 150px; height: auto; }
  .site-nav__actions-mobile .brand-toggle img { width: 70px; height: auto; }
  .site-nav__collapse { flex-basis: 100%; }
  .site-nav__menu { gap: 0; align-items: stretch; padding: 16px 0 8px; border-top: 1px solid var(--clr-light-grey); margin-top: 12px; }
  .site-nav__menu .nav-link { padding: 12px 0 !important; display: inline-block; }
  .site-nav__menu .nav-link::after { bottom: 8px; }
  .site-nav__actions { padding-bottom: 12px; }
}

/* Brand panel (“A Family of Brands. One vision.”) */
.brand-panel {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 789px;
  max-width: 100%;
  padding: 30px 30px 40px 70px;
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
  box-shadow: var(--shadow-panel);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
}
.brand-panel[hidden] { display: none; }
.brand-panel.is-open { opacity: 1; transform: translateY(0); }

.brand-panel__text { width: 246px; flex-shrink: 0; }
.brand-panel__title {
  margin-bottom: 14px;
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.25;
}
.brand-panel__text p { font-size: var(--fs-body); line-height: 1.5; color: var(--clr-text); }
.brand-panel__brands { width: 383px; flex-shrink: 0; margin-top: 51px; }

.brand-panel__close {
  position: absolute;
  top: 38px;
  right: 30px;
  display: inline-flex;
  padding: 4px;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition);
}
.brand-panel__close:hover { transform: rotate(90deg); }
.brand-panel__close:focus-visible { outline: 2px solid var(--clr-green); }

@media (max-width: 991.98px) {
  .brand-panel { flex-direction: column; gap: 24px; width: 100%; padding: 28px 24px; }
  .brand-panel__text { width: auto; padding-right: 36px; }
  .brand-panel__brands { width: 100%; max-width: 383px; margin: 0 auto; }
  .brand-panel__close { top: 22px; right: 18px; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(150px, 8.9vw, 171px) 0 80px;
  background-color: var(--clr-navy);
}
.hero__content { padding-inline: clamp(0px, 4.3vw, 83px) 0; }
.hero__title {
  max-width: 1416px;
  color: var(--clr-white);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: var(--space-50);
  margin-left: -3px;
}
.hero__image {
  display: block;
  width: 100%;
  margin-top: var(--space-50);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section-space { margin-top: var(--space-section); }

/* Purpose & Journey */
.purpose-card {
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  background-color: var(--clr-white);
}
.purpose-list {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}
.purpose-list li {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
}

.purpose-card__journey { position: relative; }

.journey {
  position: relative;
  display: flex;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
/* Dashed connector line behind the icon boxes */
.journey::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--clr-green) 0 8px, transparent 8px 16px);
}
.journey__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 4px;
  text-align: center;
}
.journey__title {
  margin-top: 30px;
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}
.journey__text {
  margin-top: 10px;
  max-width: 150px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--clr-text);
}

@media (min-width: 1400px) {
  .purpose-card .row { flex-wrap: nowrap; }
  .purpose-card__purpose { flex: 0 0 auto; width: 36%; max-width: 519px; }
  .purpose-card__journey { flex: 1 1 auto; width: auto; padding-left: clamp(30px, 4vw, 76px); }
  .purpose-card__journey::before {
    content: "";
    position: absolute;
    left: 0;
    top: -20px;
    bottom: -20px;
    width: 1px;
    background-color: var(--clr-divider);
  }
  .journey { margin-left: -18px; margin-right: -18px; }
}
@media (max-width: 1399.98px) {
  .journey__title { font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.375rem); }
  .journey__text { font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem); }
  .purpose-card__journey { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--clr-divider); }
}
@media (max-width: 767.98px) {
  /* Vertical timeline on small screens */
  .journey { flex-direction: column; gap: 24px; }
  .journey::before {
    top: 40px; bottom: 40px; left: 38px; right: auto;
    width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--clr-green) 0 8px, transparent 8px 16px);
  }
  .journey__step {
    display: grid;
    grid-template-columns: var(--icon-box) 1fr;
    column-gap: 20px;
    align-items: center;
    flex: none;
    width: 100%;
    padding-inline: 0;
    text-align: left;
  }
  .journey__step .icon-box { grid-row: span 2; }
  .journey__title { margin-top: 0; align-self: end; }
  .journey__text { margin-top: 4px; align-self: start; max-width: none; }
}

/* About */
.about__image {
  display: block;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}
@media (min-width: 1200px) {
  .about .col-xl-auto { width: 43.75%; /* 680 / 1600 – keeps layout fluid */ }
}
.about__content { padding-top: 17px; }
.about__title {
  margin: 20px 0 var(--space-50);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  color: var(--clr-text);
}
.about__title strong { font-weight: var(--fw-semibold); }
.about__content .body-text { line-height: 1.5; margin-bottom: 30px; }
@media (min-width: 1200px) {
  .about__content { max-width: calc(787px + var(--bs-gutter-x) * 0.5); margin-left: auto; padding-left: 0; }
}

/* Home "About" – the copy scales with the viewport so it always fits within
   the height of the 680 × 786 image (design ratio at 1920px). */
@media (min-width: 1200px) {
  .about--fit .about__content { padding-top: min(17px, 0.9vw); }
  .about--fit .about__title { margin: min(20px, 1.05vw) 0 min(50px, 2.6vw); font-size: min(3.25rem, 2.7vw); }
  .about--fit .about__content .body-text { margin-bottom: min(30px, 1.56vw); font-size: clamp(0.9375rem, 1.04vw, 1.25rem); }
}

/* Job seekers / Hire talent cards */
.cta-card {
  display: flex;
  align-items: center;
  gap: 60px;
  height: 100%;
  min-height: 544px;
  padding: 61px 30px;
  border-radius: var(--radius-lg);
}
.cta-card--green { background-color: var(--clr-green); }
.cta-card--navy { background-color: var(--clr-navy); }

.cta-card__image { flex: 0 0 auto; width: 348px; display: block; border-radius: var(--radius-lg); }
.cta-card__body { flex: 1 1 auto; max-width: 347px; }
.cta-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
}
.cta-card__text {
  margin: 30px 0 20px;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.cta-card--green .cta-card__text { color: var(--clr-text); }
.cta-card--navy .cta-card__title,
.cta-card--navy .cta-card__text { color: var(--clr-white); }

@media (max-width: 1599.98px) {
  .cta-card { gap: 30px; }
  .cta-card__image { width: 42%; }
}
@media (max-width: 575.98px) {
  .cta-card { flex-direction: column; align-items: stretch; min-height: 0; padding: 24px; }
  .cta-card__image { width: 100%; max-width: 348px; margin-inline: auto; }
  .cta-card__body { max-width: none; }
  .cta-card__text { margin: 16px 0 28px; }
}

/* Why in2work */
.why {
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  background-color: var(--clr-green-pale);
}
.why .section-title { margin-bottom: 50px; }

.feature-card {
  height: 100%;
  min-height: 638px;
  padding: 50px;
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.feature-card__title {
  margin-top: 30px;
  max-width: 360px;
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
}
.feature-card__text {
  margin-top: 20px;
  max-width: 347px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--clr-text);
}
@media (max-width: 1599.98px) {
  .feature-card { min-height: 0; padding: clamp(24px, 3vw, 50px); }
  .feature-card__title, .feature-card__text { max-width: none; }
}

/* Featured jobs */
.featured-jobs {
  margin-top: var(--space-section-sm);
  padding: 100px 0;
  min-height: 525px;
  background: var(--clr-page) url("../img/other/featured-jobs-bg.jpg") center / cover no-repeat;
}
.featured-jobs .tag { min-width: 117px; justify-content: center; }
.featured-jobs .section-title { margin-bottom: 50px; }
.featured-jobs .body-text { line-height: 2; }
.featured-jobs .btn-pill { margin-top: 20px; }
@media (max-width: 767.98px) {
  .featured-jobs { padding: 70px 0; min-height: 0; }
  .featured-jobs .section-title { margin-bottom: 24px; }
  .featured-jobs .body-text { line-height: 1.6; margin-bottom: 12px; }
}

/* --------------------------------------------------------------------------
   6b. Inner pages – shared helpers
   -------------------------------------------------------------------------- */
.section-space--bottom { margin-bottom: var(--space-section); }
.mb-50 { margin-bottom: var(--space-50) !important; }
.section-subtitle { margin-top: 10px; }

.btn-pill--sm { min-width: 0; height: 52px; padding: 0 24px; }
.btn-pill--auto { min-width: 0; padding: 0 50px; }
.btn-pill--outline-navy { border-color: var(--clr-navy); color: var(--clr-navy); background-color: transparent; }
.btn-pill--outline-navy:hover { background-color: var(--clr-navy); color: var(--clr-white); }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--clr-navy);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
}

/* Light green rounded panel (pathway / process) */
.tint-card {
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  background-color: var(--clr-green-pale);
}

/* White panels */
.panel-card {
  padding: clamp(24px, 2.6vw, 50px);
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.form-card,
.connect-card {
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  background-color: var(--clr-white);
}

/* Page banner (inner pages) */
.page-hero {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 31.35vw, 602px);
  padding: 130px 0 40px;
  background: var(--hero-gradient), var(--clr-navy) url("../img/banners/job-seekers-hero.webp") right center / auto 100% no-repeat;
}
.page-hero > .site-container { width: min(var(--container-max), 100% - (var(--gutter) * 2)); }
.page-hero--tall { min-height: clamp(520px, 37.45vw, 719px); }
.page-hero--jobs { background-image: var(--hero-gradient), url("../img/banners/jobs-hero.webp"); }
.page-hero__content { padding-left: clamp(0px, 4.2vw, 80px); }
.page-hero__title { max-width: 1074px; }
.page-hero__title--narrow { max-width: 1061px; }
.page-hero__title--contact { max-width: 845px; }
.page-hero__lead {
  max-width: 686px;
  margin: 30px 0 var(--space-50);
  color: var(--clr-hero-lead);
  font-size: 1rem;
  line-height: 1.6;
}

/* Card that overlaps the bottom of the banner.
   Use on the section straight after a .page-hero on any page:
   <section class="overlap-card-wrap"> … </section>
   flow-root stops the margin collapsing with inner .row gutters, so the
   overlap is identical whether the card sits in a grid or not. */
.overlap-card-wrap {
  position: relative;
  z-index: 2;
  display: flow-root;
  margin-top: calc(var(--banner-overlap) * -1);
}
.page-hero:has(+ .overlap-card-wrap) { padding-bottom: calc(var(--banner-overlap) + 40px); }
/* Bootstrap rows push their columns down with margin-top (--bs-gutter-y),
   which cancels the overlap. Inside overlap sections the vertical gutter is
   applied with row-gap instead, so the first card always starts at the top. */
.overlap-card-wrap .row { margin-top: 0; row-gap: var(--bs-gutter-y); }
.overlap-card-wrap .row > * { margin-top: 0; }

/* About block – heading variant */
.about__heading { margin-bottom: var(--space-50); }
.about__content--top { padding-top: 30px; }

/* --------------------------------------------------------------------------
   6c. Forms
   -------------------------------------------------------------------------- */
.form-label {
  margin-bottom: 5px;
  color: var(--clr-navy);
  font-size: var(--fs-btn);
  line-height: 30px;
}
.req { color: var(--clr-required); }

.site-input {
  min-height: var(--input-height);
  padding: 8px 20px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xs);
  color: var(--clr-text);
  font-family: var(--font-base);
  font-size: var(--fs-btn);
  line-height: 1.6;
}
.site-input::placeholder { color: var(--clr-grey); }
.site-input:focus { border-color: var(--clr-green); box-shadow: 0 0 0 3px rgba(166, 206, 57, 0.3); }
.form-select.site-input {
  padding-right: 44px;
  background-image: url("../img/icons/chevron-down.svg");
  background-position: right 20px center;
  background-size: 11px 7px;
}
.site-input--textarea { min-height: 95px; resize: vertical; }

.site-form .form-field { margin-bottom: 20px; }
.site-form .row { margin-bottom: 20px; }
.site-form .row > .form-field { margin-bottom: 0; }

.site-check { margin: 30px 0; padding-left: 40px; }
.site-check .form-check-input {
  width: 22px;
  height: 22px;
  margin: 3px 0 0 -40px;
  border-color: var(--clr-border);
  border-radius: var(--radius-xs);
}
.site-check .form-check-input:checked { background-color: var(--clr-green); border-color: var(--clr-green); }
.site-check .form-check-label { font-size: var(--fs-btn); line-height: 1.6; color: var(--clr-text); }
.site-check a { color: var(--clr-navy); font-weight: var(--fw-semibold); }

.form-actions { display: flex; flex-wrap: wrap; gap: 20px; }

.form-success {
  margin: 20px 0 0;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-green-light);
  color: var(--clr-navy);
  font-weight: var(--fw-medium);
}

/* Numbered form sections (post a job) */
.form-step { margin-top: var(--space-50); }
.form-step__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--clr-navy);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--clr-green);
  color: var(--clr-navy);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1;
}

/* Radio chips (job type) */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 17px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  color: var(--clr-text);
  font-size: 14px;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}
.chip:hover { border-color: var(--clr-green); }
.btn-check:checked + .chip { background-color: var(--clr-green); border-color: var(--clr-green); color: var(--clr-navy); font-weight: var(--fw-medium); }
.btn-check:focus-visible + .chip { outline: 3px solid var(--clr-navy); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   6d. Jobs page
   -------------------------------------------------------------------------- */
.filter-card {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  padding: clamp(24px, 2.6vw, 50px);
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.filter-card__fields {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 433fr 282fr 282fr 314fr;
  gap: 20px 30px;
}
.filter-card .form-label { margin-bottom: 10px; }
.filter-card__reset { flex-shrink: 0; height: 51px; }

@media (max-width: 1199.98px) {
  .filter-card { flex-direction: column; align-items: stretch; }
  .filter-card__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-card__reset { align-self: flex-start; }
}
@media (max-width: 575.98px) {
  .filter-card__fields { grid-template-columns: minmax(0, 1fr); }
}

.jobs-list { margin-top: 80px; }
.jobs-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: var(--space-50);
}
.jobs-list__sort { display: flex; align-items: center; gap: 10px; color: var(--clr-navy); font-size: var(--fs-btn); }
.jobs-list__sort .site-input { width: auto; min-width: 140px; min-height: 52px; }
.jobs-list__empty { margin-top: 30px; }

/* Job cards */
.job-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: clamp(24px, 2.6vw, 50px);
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
  transition: background-color var(--transition);
}
/* Green state: on hover / keyboard focus (and always for the post-a-job preview) */
.job-card--featured,
.job-card:hover,
.job-card:focus-within { background-color: var(--clr-green); }
/* Apply button turns solid white while its card is highlighted */
.job-card:is(:hover, :focus-within) .btn-pill--outline-navy {
  border-color: var(--clr-white);
  background-color: var(--clr-white);
  color: var(--clr-navy);
}
.job-card:is(:hover, :focus-within) .btn-pill--outline-navy:hover {
  border-color: var(--clr-navy);
  background-color: var(--clr-navy);
  color: var(--clr-white);
}
.job-card__tags { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 30px; padding: 0; list-style: none; }
.job-card__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.5; }
.job-card__company,
.job-card__text { margin-top: 20px; font-size: var(--fs-body); line-height: 1.5; color: var(--clr-text); }
.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  color: var(--clr-text);
  line-height: 1.55;
}
.job-card__meta strong { font-size: var(--fs-btn); }
.job-card__meta span { font-size: 14px; }
.job-card > .btn-pill { margin-top: auto; }
.job-card > :nth-last-child(2) { margin-bottom: 30px; }

/* Section head with title | text | button (job seekers) */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 374px) minmax(0, 787px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: var(--space-50);
}
.section-head__btn { justify-self: end; }
@media (max-width: 1199.98px) {
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head__title .section-title br { display: none; }
  .section-head__btn { justify-self: start; }
}

/* CTA strip (jobs / post a job) */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(24px, 2.6vw, 50px);
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.cta-strip__text .body-text { margin-top: 20px; }
.cta-strip__buttons { display: flex; flex-wrap: wrap; gap: 20px; }

/* --------------------------------------------------------------------------
   6e. Job seekers page
   -------------------------------------------------------------------------- */
/* Pathway: step 1 (mandatory) + steps 2–6 grouped as "Optional Support Pathway".
   Desktop: one row of six cards, bracket above steps 2–6.
   Tablet / mobile: mandatory card first, then the optional group in a dashed box. */
.pathway {
  --pw-gap: 29px;                       /* 5px + 19px arrow + 5px */
  display: flex;
  align-items: flex-end;
  gap: var(--pw-gap);
  margin-top: var(--space-50);
}
.pathway__mandatory { flex: 0 0 calc((100% - 5 * var(--pw-gap)) / 6); }
.pathway__optional { flex: 1 1 auto; min-width: 0; }

.pathway__optional-label {
  position: relative;
  height: 86px;
  margin: 0;
  color: var(--clr-navy);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  line-height: 58px;
  text-align: center;
}
/* dashed bracket from the centre of step 2 to the centre of step 6 */
.pathway__optional-label::before {
  content: "";
  position: absolute;
  inset: 32px calc((100% - 4 * var(--pw-gap)) / 10) 0;
  border: 1px dashed var(--clr-card-border);
  border-bottom: 0;
}
.pathway__optional-label span {
  position: relative;
  padding: 0 5px;
  background-color: var(--clr-green-pale);
  white-space: nowrap;
}

.pathway__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--pw-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pathway-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
  min-height: 428px;
  padding: 30px 20px;
  border: 1px solid var(--clr-card-border);
  border-radius: var(--radius-lg);
  background-color: var(--clr-off-white);
  text-align: center;
}
/* arrow between steps (after the mandatory card and between optional cards) */
.pathway-step--mandatory::after,
.pathway__steps .pathway-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 20px;
  height: 15px;
  transform: translateY(-50%);
  background: url("../img/icons/pathway-arrow.svg") center / contain no-repeat;
}
.pathway-step--mandatory { border: 4px solid var(--clr-green); }
.pathway-step--mandatory .pathway-step__badge { background-color: var(--clr-green); color: var(--clr-navy); font-weight: var(--fw-semibold); }

.pathway-step__top { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pathway-step__top img { height: 90px; width: auto; max-width: 100px; object-fit: contain; }
.pathway-step__title { margin: 0; color: var(--clr-navy); font-size: clamp(1.125rem, 1rem + 0.3vw, 1.375rem); font-weight: var(--fw-semibold); line-height: 1.5; }
.pathway-step__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  max-width: 100%;
  min-height: 111px;
  padding: 22px 9px;
  border-radius: var(--radius-md);
  background-color: var(--clr-light-grey);
  color: var(--clr-text);
  font-size: var(--fs-btn);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

@media (max-width: 1399.98px) {
  .pathway { --pw-gap: 24px; flex-direction: column; align-items: stretch; gap: 0; }
  .pathway__mandatory { flex: none; width: calc((100% - 2 * var(--pw-gap)) / 3); }
  /* arrow points down from the mandatory card to the optional group */
  .pathway-step--mandatory::after {
    top: auto;
    right: auto;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .pathway__optional {
    margin-top: 44px;
    padding: 24px;
    border: 1px dashed var(--clr-card-border);
    border-radius: var(--radius-lg);
  }
  .pathway__optional-label { height: auto; margin-bottom: 24px; font-size: var(--fs-h4); line-height: 1.4; text-align: left; }
  .pathway__optional-label::before { display: none; }
  .pathway__optional-label span { padding: 0; background: none; white-space: normal; }
  .pathway__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pathway-step { min-height: 380px; }
  .pathway__steps .pathway-step::after { display: none; }
}
@media (max-width: 767.98px) {
  .pathway { --pw-gap: 16px; }
  .pathway__mandatory { width: 100%; }
  .pathway__optional { padding: 16px; }
  .pathway__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-step { min-height: 0; padding: 24px 12px; gap: 20px; }
  .pathway-step__badge { min-height: 80px; padding: 14px 8px; font-size: 1rem; }
  .pathway-step__top img { height: 64px; }
}
@media (max-width: 419.98px) {
  .pathway__steps { grid-template-columns: minmax(0, 1fr); }
}

/* Key principle band */
.key-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 416px;
  padding: 80px 0;
  background: var(--clr-navy) url("../img/banners/key-principle-bg.webp") center / cover no-repeat;
  color: var(--clr-white);
}
.key-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--key-gradient);
  opacity: 0.86;
}
.key-band__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-left: clamp(0px, 4.2vw, 80px);
}
.key-band__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-green-light);
}
.key-band__title { color: var(--clr-white); font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-semibold); }
.key-band__text { max-width: 1149px; margin-top: var(--space-50); font-size: var(--fs-h3); line-height: 1.5; }
.key-band__text strong { font-weight: var(--fw-semibold); }
@media (max-width: 767.98px) {
  .key-band { padding: 60px 0; min-height: 0; }
  .key-band__inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .key-band__icon { width: 100px; height: 100px; }
  .key-band__icon img { width: 56px; }
  .key-band__text { margin-top: 20px; }
}

/* Connect block */
.connect-card__title { max-width: 686px; margin-bottom: var(--space-50); }
.connect-card .hero__buttons { margin-top: 30px; }
.connect-card__options { display: grid; gap: 30px; }
.option-tile {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 130px;
  padding: 25px 40px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition);
}
.option-tile:hover { transform: translateY(-3px); }
.option-tile--green { background-color: var(--clr-green); color: var(--clr-text); }
.option-tile--navy { background-color: var(--clr-navy); color: var(--clr-white); }
.option-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-white);
}
.option-tile__title { display: block; font-size: var(--fs-h4); font-weight: var(--fw-semibold); }
.option-tile--green .option-tile__title { color: var(--clr-navy); }
.option-tile__text { display: block; margin-top: 10px; font-size: var(--fs-body); }
@media (max-width: 575.98px) {
  .option-tile { gap: 16px; padding: 20px; }
  .option-tile__icon { width: 64px; height: 64px; }
  .option-tile__icon img { width: 40px; }
}

/* --------------------------------------------------------------------------
   6f. Employers page
   -------------------------------------------------------------------------- */
.benefit-card {
  height: 100%;
  min-height: 356px;
  padding: clamp(24px, 2.6vw, 50px);
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
  transition: background-color var(--transition);
}
.benefit-card:hover,
.benefit-card:focus-within { background-color: var(--clr-green); }
.icon-box--emoji { font-size: 36px; line-height: 1; }
.benefit-card__title { margin-top: 30px; font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.5; }
.benefit-card__text { margin-top: 20px; font-size: var(--fs-body); line-height: 1.5; color: var(--clr-text); }
@media (max-width: 1199.98px) { .benefit-card { min-height: 0; } }

.step-list { margin-top: 20px; padding: 0; list-style: none; }
.step-card {
  height: 100%;
  min-height: 270px;
  padding: 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background-color: var(--clr-white);
  transition: border-color var(--transition);
}
.step-card:hover,
.step-card:focus-within { border-color: var(--clr-green); }
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--clr-green);
  color: var(--clr-navy);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}
.step-card__title { margin-top: 30px; font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.5; }
.step-card__text { margin-top: 20px; font-size: var(--fs-body); line-height: 1.5; color: var(--clr-text); }
@media (max-width: 1199.98px) { .step-card { min-height: 0; } }

/* FAQ accordion */
.faq { --bs-accordion-border-width: 0; --bs-accordion-bg: transparent; display: grid; gap: 20px; }
.faq__item { border-radius: var(--radius-sm) !important; background-color: var(--clr-white); overflow: hidden; }
.faq__button {
  gap: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm) !important;
  background-color: var(--clr-white);
  color: var(--clr-navy);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  box-shadow: none !important;
}
.faq__button:not(.collapsed) { background-color: var(--clr-white); color: var(--clr-navy); }
.faq__button:focus-visible { outline: 3px solid var(--clr-green); outline-offset: -3px; }
/* plus / minus icon */
.faq__button::after {
  width: 20px;
  height: 20px;
  background-image: linear-gradient(var(--clr-navy), var(--clr-navy)), linear-gradient(var(--clr-navy), var(--clr-navy));
  background-size: 20px 2px, 2px 20px;
  background-position: center;
  background-repeat: no-repeat;
  transform: none;
  transition: background-size var(--transition);
}
.faq__button:not(.collapsed)::after { background-size: 20px 2px, 2px 0; transform: none; }
.faq__body { padding: 0 20px 20px; font-size: var(--fs-body); line-height: 1.5; color: var(--clr-text); }

.form-card__intro { margin-top: 30px; }

/* --------------------------------------------------------------------------
   6g. Post a job page
   -------------------------------------------------------------------------- */
.sidebar-stack { display: grid; gap: 30px; }
@media (min-width: 992px) { .sidebar-stack { position: sticky; top: 30px; } }
.job-card--preview { height: auto; }
@media (min-width: 992px) { .job-card--preview { min-height: 403px; } }

.next-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.next-card__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.5; }
.next-card__list { display: grid; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.next-card__list li {
  position: relative;
  padding-left: 40px;
  font-size: var(--fs-btn);
  line-height: 1.67;
  color: var(--clr-text);
}
.next-card__list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-xs);
  background-color: var(--clr-green-light);
}

/* --------------------------------------------------------------------------
   6h. Contact page
   -------------------------------------------------------------------------- */
.contact-intro { margin-top: 30px; }
.contact-list { display: grid; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 194px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background-color: var(--clr-white);
}
.contact-item__label { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.5; }
.contact-item__value {
  display: inline-block;
  margin-top: 10px;
  color: var(--clr-navy);
  font-size: clamp(1.375rem, 1.1rem + 0.7vw, 2rem);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  text-decoration: none;
  word-break: break-word;
}
.contact-item__value:hover { color: var(--clr-green); }
.contact-item__text { margin-top: 10px; font-size: var(--fs-body); line-height: 1.5; }
@media (max-width: 575.98px) {
  .contact-item { min-height: 0; gap: 20px; padding: 24px; }
  .contact-item .icon-box { width: 64px; height: 64px; }
}

.featured-jobs--spaced { margin-top: var(--space-section); }

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 25px 0;
  background-color: var(--clr-navy);
  color: var(--clr-white);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
}
.site-footer__copy a {
  color: var(--clr-white);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__copy a:hover { color: var(--clr-green); }

.site-footer__social {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform var(--transition), opacity var(--transition);
}
.social-btn--green { background-color: var(--clr-green); }
.social-btn:hover { transform: translateY(-3px); opacity: 0.9; }

@media (max-width: 767.98px) {
  .site-footer__inner { flex-direction: column; text-align: center; }
}

/* Form intro spacing inside white panels */
.section-subtitle + .row { margin-top: 30px; }
