/* =========================================================
   HAES AIMS AND OBJECTS — SOFT & LUMINOUS DESIGN
   ========================================================= */
.haes-aims-page {
  width: 100%;
  overflow-x: clip;
}

/* ---------- Hero Banner ---------- */
.aims-hero {
  position: relative;
  min-height: clamp(220px, 28vw, 320px);
  display: flex;
  align-items: flex-end;
  background: #0f1c33;
  border-bottom: 3px solid #c9a227;
  overflow: hidden;
}

.aims-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.02);
}

.aims-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 28, 51, 0.92) 0%,
      rgba(15, 28, 51, 0.72) 55%,
      rgba(15, 28, 51, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 28, 51, 0.2) 0%,
      rgba(15, 28, 51, 0.82) 100%
    );
  z-index: 1;
}

.aims-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.25rem) 1.5rem;
}

.aims-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.4rem;
}

.aims-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 0.85rem;
}

.aims-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: #14213d;
  color: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.aims-breadcrumb a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.aims-breadcrumb a:hover {
  color: #f0cf65;
}

.aims-crumb-sep {
  color: rgba(255, 255, 255, 0.5);
}

.aims-crumb-current {
  color: #f0cf65;
  font-weight: 700;
}

/* ---------- Main Section & Soft Airy Light Glows ---------- */
.aims-section {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
  background: linear-gradient(180deg, #faf9f6 0%, #f4f6fa 52%, #f9f7f2 100%);
  overflow: hidden;
}

.aims-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(98px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
}

.aims-glow--gold {
  top: 5%;
  right: 6%;
  width: clamp(260px, 30vw, 400px);
  height: clamp(260px, 30vw, 400px);
  background: rgba(201, 162, 39, 0.24);
}

.aims-glow--terracotta {
  top: 36%;
  left: -5%;
  width: clamp(280px, 32vw, 420px);
  height: clamp(280px, 32vw, 420px);
  background: rgba(201, 100, 73, 0.19);
}

.aims-glow--emerald {
  bottom: 12%;
  right: 10%;
  width: clamp(250px, 28vw, 380px);
  height: clamp(250px, 28vw, 380px);
  background: rgba(52, 211, 153, 0.16);
}

.aims-glow--navy {
  bottom: -6%;
  left: 22%;
  width: clamp(240px, 28vw, 360px);
  height: clamp(240px, 28vw, 360px);
  background: rgba(56, 189, 248, 0.16);
}

.aims-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

/* ---------- Core Pillars Intro ---------- */
.aims-intro-wrap {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.aims-intro-copy {
  max-width: 820px;
}

.aims-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #9f7910;
  background: rgba(201, 162, 39, 0.14);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.aims-main-heading {
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.aims-heading-rule {
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
  margin: 0.9rem 0 1.15rem;
}

.aims-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

/* Quick Pillar Jump Pills */
.core-pillars-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.pillar-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  color: #14213d;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pillar-chip:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #c9a227;
}

.pillar-chip-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #14213d;
  background: rgba(201, 162, 39, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.pillar-chip-label {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Left-Aligned Heading / Right-Aligned Card Rows ---------- */
.aims-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.2vw, 2.5rem);
}

.aims-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.35fr);
  gap: clamp(1.15rem, 3vw, 2.75rem);
  align-items: start;
  scroll-margin-top: 110px;
}

.aims-row-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 0.25rem;
}

.aims-row-code {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #9f7910;
  margin-bottom: 0.35rem;
}

.aims-row-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.24;
  margin: 0;
  text-align: left;
}

.aims-row-bar {
  width: 52px;
  height: 3.5px;
  border-radius: 999px;
  background: #c9a227;
  margin-top: 0.75rem;
}

.aims-row-bar--terracotta {
  background: #c96449;
}

/* Frosted Glass Content Card */
.aims-row-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-left: 4px solid #c9a227;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.aims-row-card--terracotta {
  border-left-color: #c96449;
}

.aims-row-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.09);
}

.aims-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.14);
  color: #9f7910;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.aims-card-icon--terracotta {
  background: rgba(201, 100, 73, 0.13);
  color: #c96449;
}

.aims-card-body p {
  font-size: clamp(0.96rem, 1.12vw, 1.05rem);
  line-height: 1.8;
  color: #334155;
  margin: 0;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .core-pillars-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aims-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

@media (max-width: 600px) {
  .core-pillars-strip {
    grid-template-columns: 1fr;
  }

  .aims-row-card {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
  }
}