/* ============================================
   SPI Global — Stylesheet
   Brand: Navy #1B3A5C, Blue #2E75B6, Gold #d4922b
   Display: Playfair Display (serif), Body: Manrope (sans)
   ============================================ */

:root {
  --navy:        #1B3A5C;
  --blue:        #2E75B6;
  --blue-light:  #5b9ad6;
  --blue-soft:   #8fb8db;
  --gold:        #e8b339;
  --gold-soft:   #f0c662;
  --grey:        #999999;
  --grey-light:  #f4f5f7;
  --grey-medium: #e3e6ea;
  --black:       #1a1a1a;
  --white:       #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1280px;
  --section-pad-y: 96px;
  --radius:       28px;
  --radius-pill:  999px;
}

/* ============ RESET / BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ TYPOGRAPHY ============ */
.display-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,146,43,0.35);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-light:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ HEADER ============ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--grey-medium);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-link { display: inline-block; }
.logo {
  height: 80px;
  width: auto;
}
.logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
  letter-spacing: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 48px;
}
.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--blue);
  position: relative;
  padding: 6px 0;
}
.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}
.header-cta {
  padding: 14px 36px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 40px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  max-width: 1100px;
}

/* ============ INTRO SECTION ============ */
.intro-section {
  padding: 60px 0 100px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.intro-paragraph {
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--blue);
  margin-bottom: 56px;
  font-weight: 400;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-row .btn {
  min-width: 140px;
}
.intro-image {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1B3A5C 0%, #2E75B6 100%);
  aspect-ratio: 4 / 3;
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ DUAL BANNER ============ */
.dual-banner {
  width: 100%;
}
.dual-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.banner-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ LEGACY SECTION ============ */
.legacy-section {
  padding: var(--section-pad-y) 0;
  background: var(--grey-light);
}
.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.legacy-text {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.vertical-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--blue);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  align-self: stretch;
  padding-top: 8px;
}
.legacy-content .display-heading {
  margin-bottom: 32px;
}
.legacy-body {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--blue);
}

.legacy-image-single {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27,58,92,0.18);
  background: linear-gradient(135deg, #c9d6e8 0%, #6b8eb5 100%);
  aspect-ratio: 1 / 1;
}
.legacy-image-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* legacy stack styles (kept for back-compat if either layout is used) */
.legacy-image-stack {
  position: relative;
  min-height: 540px;
}
.legacy-img {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27,58,92,0.18);
  background: linear-gradient(135deg, #c9d6e8 0%, #6b8eb5 100%);
}
.legacy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legacy-img-1 {
  top: 0;
  left: 5%;
  width: 75%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}
.legacy-img-2 {
  bottom: 40px;
  right: 0;
  width: 55%;
  aspect-ratio: 4 / 3;
  z-index: 1;
}
.legacy-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

/* ============ STATISTICS ============ */
.stats-section {
  padding: var(--section-pad-y) 0;
  background: var(--grey-light);
}
.section-heading {
  margin-bottom: 64px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: left;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.stat-icon {
  width: 90px;
  height: 90px;
  color: var(--gold);
  margin-bottom: 12px;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 0.98rem;
  color: var(--blue);
  line-height: 1.3;
  font-weight: 400;
}

/* ============ SECTORS ============ */
.sectors-section {
  padding: var(--section-pad-y) 0;
}
.sectors-heading {
  margin-bottom: 56px;
}
.sectors-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grey-medium);
}
.sector-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding: 36px 0;
  border-bottom: 1px solid var(--grey-medium);
  align-items: start;
}
.sector-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  color: var(--blue);
  line-height: 1.2;
}
.sector-desc {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--blue);
  padding-top: 6px;
}

/* ============ WHY CHOOSE SPI ============ */
.why-section {
  padding: var(--section-pad-y) 0;
  background: var(--grey-light);
}
.why-section .display-heading { margin-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  padding: 40px 36px 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-card-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.why-card-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.why-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1.2;
}
.why-card-body {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--blue);
}

/* ============ INDUSTRY INTELLIGENCE ============ */
.intelligence-section {
  padding: var(--section-pad-y) 0 calc(var(--section-pad-y) - 24px);
  border-top: 1px solid var(--blue);
}
.intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.intelligence-headline .eyebrow {
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.intelligence-headline .display-heading {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}
.intelligence-card {
  background: var(--grey-light);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.intelligence-card p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--blue);
}
.intelligence-card .btn {
  align-self: flex-start;
}

/* ============ PROJECTS BANNER (image-only, full-width) ============ */
.projects-banner-image {
  width: 100%;
  display: block;
  line-height: 0;
}
.projects-banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ PROJECTS BANNER (legacy — overlay version) ============ */
.projects-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.projects-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.projects-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-banner-content {
  position: relative;
  z-index: 1;
  background: rgba(244, 245, 247, 0.85);
  padding: 48px 56px;
  text-align: center;
}
.projects-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--black);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.projects-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--black);
}

/* ============ JOIN OUR GLOBAL TEAM ============ */
.join-section {
  background: var(--blue-light);
  color: var(--white);
  padding: var(--section-pad-y) 0;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.join-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
}
.join-text p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 20px;
}
.join-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 18px 50px rgba(27,58,92,0.18);
}
.join-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.required { color: var(--gold); }
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-medium);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-row input[type="file"] { padding: 8px; }
.join-form .btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  margin-top: 6px;
}
.join-form .btn:hover {
  background: var(--gold-soft);
}
.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============ HUBSPOT FORM STYLING ============ */
/* Targets HubSpot's embedded form to match SPI brand */
.hs-form-frame,
.hs-form,
.hs_cos_wrapper_type_form {
  font-family: var(--font-body) !important;
}
.hs-form-frame iframe { width: 100% !important; }

/* Field labels */
.hs-form label,
.hs-form .hs-form-field > label {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Inputs, textareas, selects */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form input[type="date"],
.hs-form input[type="file"],
.hs-form textarea,
.hs-form select {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  padding: 12px 14px !important;
  border: 1.5px solid var(--grey-medium) !important;
  border-radius: 6px !important;
  background: var(--white) !important;
  color: var(--black) !important;
  width: 100% !important;
  transition: border-color 0.2s ease !important;
}
.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  outline: none !important;
  border-color: var(--blue) !important;
}

/* Field rows spacing */
.hs-form .hs-form-field {
  margin-bottom: 18px !important;
}

/* Required asterisk */
.hs-form .hs-form-required,
.hs-form label .hs-form-required {
  color: var(--gold) !important;
  margin-left: 3px !important;
}

/* Submit button — match SPI gold pill */
.hs-form input[type="submit"],
.hs-form .hs-button {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
  width: auto !important;
}
.hs-form input[type="submit"]:hover,
.hs-form .hs-button:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(232,179,57,0.35) !important;
}

/* Validation error messages */
.hs-form .hs-error-msgs,
.hs-form .hs-error-msg {
  color: #c0392b !important;
  font-size: 0.85rem !important;
  margin-top: 4px !important;
  list-style: none !important;
  padding: 0 !important;
}

/* Multi-column field layout */
.hs-form .hs-form-field .input { width: 100% !important; }
.hs-form fieldset.form-columns-2,
.hs-form fieldset.form-columns-1 {
  max-width: 100% !important;
}
.hs-form fieldset.form-columns-2 .hs-form-field {
  width: 100% !important;
  padding-right: 0 !important;
}
@media (min-width: 600px) {
  .hs-form fieldset.form-columns-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
}

/* Checkbox / radio rows */
.hs-form .inputs-list {
  list-style: none !important;
  padding: 0 !important;
}
.hs-form .inputs-list li {
  margin-bottom: 6px !important;
}
.hs-form input[type="checkbox"],
.hs-form input[type="radio"] {
  width: auto !important;
  margin-right: 8px !important;
}
.hs-form .hs-form-booleancheckbox label,
.hs-form .hs-form-radio label {
  display: inline !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
}

/* Privacy text below form */
.hs-form .legal-consent-container {
  font-size: 0.82rem !important;
  color: var(--grey) !important;
  margin-top: 12px !important;
  line-height: 1.5 !important;
}

/* Loading state — keeps the white card height stable while form fetches */
.join-form-wrap {
  min-height: 400px;
}

/* ============ SUBPAGES — PAGE HERO ============ */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--grey-medium);
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}
.page-hero-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--blue);
  max-width: 820px;
}

/* ============ ABOUT — STORY SECTION ============ */
.story-section {
  padding: var(--section-pad-y) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.story-image {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1B3A5C 0%, #2E75B6 100%);
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-text .display-heading {
  margin-bottom: 24px;
}
.story-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--blue);
  margin-bottom: 18px;
}

/* ============ APPLY PAGE ============ */
.apply-main {
  padding: 64px 0 var(--section-pad-y);
  background: var(--grey-light);
}
.apply-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.apply-form-card {
  background: var(--white);
  padding: 40px 40px 48px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27,58,92,0.08);
}
.apply-form-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.apply-form-intro {
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 28px;
  line-height: 1.5;
}
.apply-form-wrap {
  min-height: 400px;
}

.apply-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}
.apply-card {
  background: var(--white);
  padding: 32px 32px 36px;
  border-radius: 8px;
  border-top: 4px solid var(--gold);
}
.apply-card-blue {
  background: var(--blue-light);
  border-top-color: var(--gold);
  color: var(--white);
}
.apply-card-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 22px;
}
.apply-card-heading-light { color: var(--white); }

.apply-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.apply-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.apply-steps .step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.apply-steps strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.apply-steps p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--blue);
  margin: 0;
}

.apply-disciplines {
  list-style: none;
}
.apply-disciplines li {
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.apply-disciplines li:last-child { border-bottom: none; }

/* ============ CONTACT PAGE — CHANNELS ============ */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}
.contact-channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.contact-channel-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.contact-channel-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.contact-channel-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-block;
}
.contact-channel-value:hover { color: var(--navy); }
.contact-channel-note {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============ CONTACT PAGE — ENQUIRY TILES ============ */
.enquiry-section {
  padding: var(--section-pad-y) 0;
  background: var(--grey-light);
}
.enquiry-section .display-heading {
  margin-bottom: 48px;
}
.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.enquiry-card {
  background: var(--white);
  padding: 36px 32px 32px;
  position: relative;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.enquiry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27,58,92,0.12);
}
.enquiry-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 8px;
}
.enquiry-icon svg { width: 100%; height: 100%; }
.enquiry-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  padding-top: 8px;
}

/* ============ ABOUT — CTA BAND ============ */
.cta-band {
  padding: var(--section-pad-y) 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-band-content {
  max-width: 720px;
  margin: 0 auto;
}
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band-body {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.cta-band-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ SUBPAGE RESPONSIVE ============ */
@media (max-width: 1024px) {
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apply-sidebar { position: static; }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-image { aspect-ratio: 16 / 10; max-width: 600px; }
  .enquiry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero { padding: 48px 0 32px; }
  .apply-form-card { padding: 28px 24px 32px; }
  .apply-card { padding: 24px 24px 28px; }
  .contact-channel-value { font-size: 1.05rem; }
  .cta-band-buttons .btn { width: 100%; }
}

/* ============ ROLES PAGE ============ */
.roles-filters {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  position: sticky;
  top: 110px;
  z-index: 50;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.filter-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.filter-select,
.filter-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1.5px solid var(--grey-medium);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s ease;
  min-width: 220px;
}
.filter-input { flex: 1; min-width: 240px; max-width: 360px; }
.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--blue);
}
.filter-count {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 500;
}

.roles-section {
  padding: var(--section-pad-y) 0;
}
.roles-section-alt {
  background: var(--grey-light);
}
.roles-section .display-heading {
  margin-bottom: 16px;
}
.roles-subhead {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 40px;
  max-width: 760px;
  line-height: 1.5;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.role-card {
  background: var(--white);
  padding: 32px 28px 28px;
  position: relative;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(27,58,92,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27,58,92,0.12);
}
.role-card-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.role-card-coming .role-card-rule {
  background: var(--blue);
}
.role-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.role-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--grey-light);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 4px;
}
.role-tag-sector {
  background: var(--blue);
  color: var(--white);
}
.role-card-coming .role-tag-sector {
  background: var(--navy);
}
.role-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1.2;
  margin: 0;
}
.role-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--blue);
  font-weight: 500;
}
.role-card-location svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.role-card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--blue);
  margin: 0;
  flex: 1;
}
.role-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--grey);
  padding-top: 12px;
  border-top: 1px solid var(--grey-medium);
}
.role-card-ref {
  font-weight: 600;
  color: var(--navy);
}
.role-card-apply {
  margin-top: 4px;
  text-align: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.92rem;
}

.roles-empty {
  background: var(--white);
  border: 2px dashed var(--grey-medium);
  border-radius: 8px;
  padding: 56px 32px;
  text-align: center;
}
.roles-empty-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 12px;
}
.roles-empty p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--blue);
  max-width: 540px;
  margin: 0 auto 24px;
}
.roles-empty-quiet {
  font-size: 1rem;
  color: var(--grey);
  margin: 0;
}

/* ============ APPLY PAGE — PRE-FILL BANNER ============ */
.prefill-banner {
  background: linear-gradient(90deg, rgba(232,179,57,0.18) 0%, rgba(232,179,57,0.06) 100%);
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.prefill-banner strong {
  color: var(--navy);
}
.prefill-position {
  font-weight: 600;
  color: var(--blue);
}
.prefill-ref {
  font-size: 0.85rem;
  background: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 768px) {
  .roles-filters { position: static; padding: 20px 0; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-input,
  .filter-select { width: 100%; }
  .filter-count { margin-left: 0; }
  .role-card { padding: 24px 22px 22px; }
}


/* ============ CONTACT ============ */
.contact-section {
  padding: var(--section-pad-y) 0;
}
.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--grey-medium);
  padding-bottom: 20px;
  margin-bottom: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-subhead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 4px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.contact-address {
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--blue);
  font-style: normal;
  margin-bottom: 28px;
}
.contact-email {
  font-size: 1.4rem;
  margin-bottom: 56px;
}
.contact-email a { color: var(--blue); }
.immediate-support p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--blue);
  margin-bottom: 28px;
}
.contact-map {
  width: 100%;
  height: 540px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(27,58,92,0.12);
}

/* ============ 35+ YEARS BAND ============ */
.band-section {
  background: var(--blue-light);
  padding: 96px 0;
  text-align: center;
  color: var(--white);
}
.band-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.band-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 24px;
}
.band-body {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--white);
  padding: 72px 0 48px;
  border-top: 1px solid var(--grey-medium);
}
.footer-logo-wrap {
  text-align: center;
  margin-bottom: 56px;
}
.footer-logo {
  height: 90px;
  width: auto;
  margin: 0 auto;
}
.footer-logo-fallback {
  display: inline-block;
  font-size: 2.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 0;
}
.footer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.footer-col address,
.footer-col p,
.footer-col li {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue);
}
.footer-links { list-style: none; }
.footer-links a {
  color: var(--blue);
  display: inline-block;
  padding: 2px 0;
}
.footer-links a:hover { color: var(--navy); }
.social-links {
  display: flex;
  gap: 14px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-link:hover { transform: translateY(-2px); opacity: 0.85; }
.social-link svg { width: 22px; height: 22px; }
.social-fb { background: #1877F2; }
.social-x  { background: #000000; }
.social-li { background: #0A66C2; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root { --section-pad-y: 72px; }
  .intro-grid,
  .legacy-grid,
  .intelligence-grid,
  .join-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 56px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .legacy-image-stack { min-height: 460px; }
  .contact-map { height: 400px; }
}

@media (max-width: 768px) {
  :root { --section-pad-y: 56px; }
  .container { padding: 0 20px; }

  .header-grid {
    grid-template-columns: auto auto;
    gap: 16px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-top: 1px solid var(--grey-medium);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .header-cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .logo { height: 60px; }

  .hero { padding: 56px 0 24px; }
  .intro-section { padding: 32px 0 64px; }
  .intro-paragraph { font-size: 1.2rem; margin-bottom: 36px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  .dual-banner-grid { grid-template-columns: 1fr; }

  .legacy-text {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vertical-eyebrow {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 4px;
  }
  .legacy-image-stack {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .legacy-img {
    position: static;
    width: 100% !important;
    aspect-ratio: 4 / 3;
  }
  .legacy-caption { position: static; margin-top: 8px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .stat-icon { width: 64px; height: 64px; }

  .sector-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .why-grid { grid-template-columns: 1fr; }

  .intelligence-card { padding: 36px 28px; }

  .projects-banner { padding: 80px 0; }
  .projects-banner-content { padding: 32px 24px; }

  .join-form-wrap { padding: 28px 24px; }

  .contact-address,
  .contact-email { font-size: 1.15rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

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

/* ============================================
   REDESIGN OVERRIDES (May 2026)
   Added on top of the existing CSS — new sections + restyled blocks
   ============================================ */

/* Base font bump — minimum 15px body */
body { font-size: 15.5px; }

/* ============ HERO BLUE (replaces white hero + intro) ============ */
.hero-blue {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-blue::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.hero-blue-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-blue-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-blue-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0.96;
}
.hero-blue-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-blue-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.hero-blue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Outlined light button used on hero blue background */
.btn-light-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 14px 30px;
}
.btn-light-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============ SECTORS — CARDS (3 per row, light blue-grey bg, white cards) ============ */
.sectors-cards-section {
  padding: var(--section-pad-y) 0;
  background: #edf2f7;
}
.sectors-cards-section .display-heading {
  margin-bottom: 48px;
  text-align: center;
}
.sectors-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 6px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 14px rgba(27,58,92,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27,58,92,0.14);
}
.sector-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 14px;
}
.sector-card-desc {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--navy);
}

/* ============ WHY SPI — BLUE WITH LARGE NUMBERS, 4 CARDS ============ */
.why-blue-section {
  padding: var(--section-pad-y) 0;
  background: var(--blue);
  color: var(--white);
  position: relative;
}
.display-heading-light {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 48px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.why-blue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-blue-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 32px 24px 28px;
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.why-blue-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
.why-blue-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}
.why-blue-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.2;
}
.why-blue-body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--white);
  opacity: 0.92;
}

/* ============ TRUSTED BY INDUSTRY LEADERS ============ */
.trusted-section {
  padding: var(--section-pad-y) 0 0;
  background: var(--white);
}
.trusted-section .display-heading {
  text-align: center;
  margin-bottom: 8px;
}
.section-subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}
.trusted-banner-image {
  width: 100%;
  display: block;
  line-height: 0;
}
.trusted-banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ INDUSTRY INTELLIGENCE — restyled (no eyebrow) ============ */
.intelligence-section {
  padding: var(--section-pad-y) 0;
  background: #edf2f7;
  border-top: none;
}
.intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.intelligence-card {
  background: var(--white);
  padding: 40px 44px;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
}

/* ============ LEGACY — restyled (no eyebrow, button to about) ============ */
.legacy-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}
.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.legacy-text {
  display: block;
}
.legacy-text .display-heading {
  margin-bottom: 24px;
}
.legacy-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 28px;
}

/* ============ SUBMIT CV / JOIN GLOBAL TEAM (blue background) ============ */
.submit-cv-section {
  padding: var(--section-pad-y) 0;
  background: var(--blue);
  color: var(--white);
}
.submit-cv-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.submit-cv-text .display-heading-light {
  text-align: left;
  margin-left: 0;
  margin-bottom: 24px;
  max-width: none;
}
.submit-cv-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 16px;
  opacity: 0.96;
}
.submit-cv-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  min-height: 400px;
}

/* ============ HEADINGS — bump readability, drop ALL CAPS where unintended ============ */
.contact-heading {
  text-transform: none;
  letter-spacing: 0;
}
.band-eyebrow {
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

/* ============ FOOTER — SMALL FOOTER WITH LEGAL LINKS ============ */
.site-footer {
  background: var(--white);
  padding: 36px 0 28px;
  border-top: 1px solid var(--grey-medium);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-medium);
  margin-bottom: 16px;
}
.footer-logo-link { display: inline-block; }
.footer-logo-small {
  height: 50px;
  width: auto;
}
.footer-nav,
.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a,
.footer-legal-nav a {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-legal-nav a {
  font-size: 0.9rem;
  color: var(--blue);
}
.footer-nav a:hover,
.footer-legal-nav a:hover {
  color: var(--gold);
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
}

/* hide old big-footer blocks if they show up anywhere */
.footer-grid,
.footer-logo-wrap { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-blue-grid,
  .intelligence-grid,
  .legacy-grid,
  .submit-cv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sectors-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-blue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-blue { padding: 48px 0 56px; }
  .hero-blue-cta-row { flex-direction: column; align-items: stretch; }
  .hero-blue-cta-row .btn { width: 100%; }
  .sectors-cards-grid,
  .why-blue-grid { grid-template-columns: 1fr; }
  .submit-cv-form-wrap { padding: 24px 20px; }
  .footer-row { flex-direction: column; text-align: center; }
}

/* ============================================
   FINAL REDESIGN — Stats tight, Why SPI heading flip, faded numbers
   ============================================ */

/* STATS — tight, no title, no icons */
.stats-tight-section {
  background: var(--white);
  padding: 28px 0 36px;
}
.stats-tight-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-tight-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--blue);
  line-height: 1;
}
.stat-tight-label {
  font-size: 0.92rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.3;
}

/* SECTORS subhead */
.sectors-cards-section .display-heading {
  text-align: center;
  margin-bottom: 12px;
}
.sectors-subhead {
  font-size: 1.05rem;
  color: var(--navy);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* WHY SPI GLOBAL — new heading flip + faded big numbers */
.why-main-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  color: var(--white);
  text-align: center;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.why-sub-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold);
  text-align: center;
  line-height: 1.4;
  margin: 0 auto 48px;
  max-width: 700px;
}
.why-blue-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 32px 26px 28px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: block;
  transition: background 0.2s ease, transform 0.2s ease;
}
.why-blue-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
/* Override earlier flex/gap if it leaked through */
.why-blue-card .why-blue-content {
  position: relative;
  z-index: 1;
  display: block;
}
/* Big faded number top-right, layered behind */
.why-blue-card .why-blue-number {
  position: absolute;
  top: -16px;
  right: -10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7.5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.why-blue-card .why-blue-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.why-blue-card .why-blue-body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--white);
  opacity: 0.94;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Trusted section — tighten spacing */
.trusted-section {
  padding: var(--section-pad-y) 0 0;
}
.trusted-section .display-heading {
  text-align: center;
  margin-bottom: 8px;
}

/* Hide industry intelligence section if any leftover style points at it */
.intelligence-section { display: none; }

/* Tighter mobile */
@media (max-width: 768px) {
  .stats-tight-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-tight:last-child { grid-column: 1 / -1; }
  .why-blue-card .why-blue-number { font-size: 5.5rem; top: -10px; right: -6px; }
}

/* ============================================
   ABOUT PAGE — Hero, Leadership cards, Energy Transition
   ============================================ */
.about-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.about-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.about-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(90deg, rgba(27,58,92,0.78) 0%, rgba(27,58,92,0.35) 60%, transparent 100%);
}
.about-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.about-hero-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--white);
  max-width: 640px;
  opacity: 0.96;
}

.leadership-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}
.text-center { text-align: center; }
.leadership-section .display-heading { margin-bottom: 56px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--white);
  text-align: center;
}
.team-photo-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf2f7;
  border: 4px solid var(--gold);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 6px;
}
.team-role {
  font-size: 0.92rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-bio {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--navy);
  max-width: 320px;
  margin: 0 auto;
}

.transition-section {
  padding: var(--section-pad-y) 0;
  background: var(--blue);
  color: var(--white);
}
.transition-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.transition-text .display-heading-light {
  text-align: left;
  margin: 0 0 22px;
  max-width: none;
}
.transition-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.96;
  margin-bottom: 28px;
}
.transition-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 48px; }
  .transition-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .about-hero { min-height: 360px; }
  .about-hero-overlay { padding: 56px 0; }
}

/* ============ MESSAGE FROM DAVE (about page) ============ */
.message-section {
  padding: var(--section-pad-y) 0;
  background: #f7f4ec;
  position: relative;
}
.message-section::before,
.message-section::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.message-section::before { top: 40px; }
.message-section::after  { bottom: 40px; }

.message-container {
  max-width: 820px;
  text-align: center;
}
.message-eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}
.message-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 36px;
  padding: 0;
  border: none;
  position: relative;
}
.message-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 18px;
}
.message-attribution {
  display: inline-block;
  padding-top: 22px;
  border-top: 1px solid rgba(27, 58, 92, 0.15);
}
.message-author {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 4px;
}
.message-author-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  margin: 0;
}

@media (max-width: 768px) {
  .message-quote { font-size: 1.2rem; }
  .message-quote::before { font-size: 4rem; }
  .message-eyebrow { font-size: 0.75rem; letter-spacing: 2.5px; }
}

/* ============ APPLY PAGE (no-positions hero + form) ============ */
.apply-hero {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.apply-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.apply-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.apply-hero-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.96;
}
.apply-form-section {
  background: #edf2f7;
  padding: var(--section-pad-y) 0;
}
.apply-form-card {
  background: var(--white);
  padding: 48px 44px;
  border-radius: 8px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(27,58,92,0.1);
}
.apply-form-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 12px;
  text-align: center;
}
.apply-form-intro {
  font-size: 1rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .apply-hero { padding: 56px 0; }
  .apply-form-card { padding: 32px 24px; }
}

/* ============ LEGAL PAGE ============ */
.legal-hero {
  background: var(--blue);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
}
.legal-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.legal-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}
.legal-hero-lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--white);
  opacity: 0.94;
  max-width: 720px;
}

.legal-toc-section {
  background: #edf2f7;
  padding: 36px 0;
  border-bottom: 1px solid var(--grey-medium);
}
.legal-toc {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 28px 32px;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 14px rgba(27,58,92,0.06);
}
.legal-toc-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 14px;
}
.legal-toc-list {
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
}
.legal-toc-list li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--navy);
}
.legal-toc-list a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.legal-toc-list a:hover { color: var(--gold); }

.legal-content {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}
.legal-block {
  max-width: 760px;
  margin: 0 auto 56px;
  scroll-margin-top: 120px;
}
.legal-block:last-child { margin-bottom: 0; }
.legal-block-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}
.legal-block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 28px 0 12px;
  scroll-margin-top: 120px;
}
.legal-block p,
.legal-block li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 14px;
}
.legal-block ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.legal-block li { margin-bottom: 8px; }
.legal-block a {
  color: var(--blue);
  text-decoration: underline;
}
.legal-block a:hover { color: var(--gold); }
.legal-contact-address {
  background: #edf2f7;
  padding: 20px 24px;
  border-radius: 6px;
  border-left: 3px solid var(--blue);
  margin: 16px 0 22px;
  font-style: normal;
  line-height: 1.5;
}
.legal-disclaimer {
  background: #fef3e1;
  padding: 16px 20px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  color: var(--navy);
  margin-top: 22px;
}
@media (max-width: 768px) {
  .legal-block-title { font-size: 1.5rem; }
  .legal-toc { padding: 22px 24px; }
}

/* ============ SMART-FALLBACK CONTACT MODAL ============ */
.spi-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.spi-modal.is-open {
  display: flex;
  opacity: 1;
}
.spi-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 50, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.spi-modal-dialog {
  position: relative;
  background: #ffffff;
  max-width: 440px;
  width: 100%;
  border-radius: 8px;
  padding: 44px 36px 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: var(--font-body);
  animation: spiModalIn 0.25s ease-out;
}
@keyframes spiModalIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.spi-modal-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 8px 8px 0 0;
}
.spi-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.5;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.15s;
}
.spi-modal-close:hover { opacity: 1; }
.spi-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
}
.spi-modal-sub {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--navy);
  opacity: 0.72;
  margin: 0 0 24px;
}
.spi-modal-email {
  display: block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  background: #f7f4ec;
  border: 1px solid rgba(232, 179, 57, 0.4);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 16px;
  word-break: break-all;
  user-select: all;
}
.spi-modal-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.spi-modal-copy:hover { background: #133050; }
.spi-modal-copy.is-copied {
  background: #2d7a3e;
}
.spi-modal-copy-icon {
  display: inline-flex;
  align-items: center;
}
.spi-modal-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 16px;
}
.spi-modal-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(27, 58, 92, 0.15);
}
.spi-modal-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
}
.spi-modal-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.spi-modal-provider {
  display: block;
  text-align: center;
  padding: 11px 8px;
  background: #ffffff;
  border: 1.5px solid rgba(46, 117, 182, 0.3);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: all 0.15s;
}
.spi-modal-provider:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
@media (max-width: 480px) {
  .spi-modal-dialog { padding: 36px 24px 28px; }
  .spi-modal-title { font-size: 1.3rem; }
  .spi-modal-providers { grid-template-columns: 1fr; }
}
