/* ==========================================================================
   Pearl School System — Theme CSS
   Fonts: Spectral (headings), Hanken Grotesk (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #4A4E57;
  background-color: #F7F3EC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Spectral', serif;
  color: #1A1D23;
  line-height: 1.2;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */

.pearl-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 36px;
}

.pearl-section {
  padding: 96px 0;
}

.pearl-section--dark {
  background-color: var(--pearl-navy, #063A5E);
  color: #F7F3EC;
}

.pearl-section--dark h1,
.pearl-section--dark h2,
.pearl-section--dark h3,
.pearl-section--dark h4,
.pearl-section--dark h5,
.pearl-section--dark h6 {
  color: #F7F3EC;
}

.pearl-section--warm {
  background-color: #F1EBE0;
  border-top: 1px solid #E2D9CC;
  border-bottom: 1px solid #E2D9CC;
}

/* --------------------------------------------------------------------------
   4. GRID HELPERS
   -------------------------------------------------------------------------- */

.pearl-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pearl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pearl-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --------------------------------------------------------------------------
   5. IMAGE HELPERS
   -------------------------------------------------------------------------- */

.pearl-fill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pearl-img-box {
  position: relative;
  overflow: hidden;
}

.pearl-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D5CEBC 0%, #C2B99E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pearl-placeholder::after {
  content: attr(data-ph);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  color: #8A806C;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. TYPOGRAPHY SCALE
   -------------------------------------------------------------------------- */

.pearl-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 18px;
}

.pearl-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--pearl-gold, #C9A24B);
  flex-shrink: 0;
}

.pearl-heading-xl {
  font-family: 'Spectral', serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: #1A1D23;
}

.pearl-heading-lg {
  font-family: 'Spectral', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  color: #1A1D23;
}

.pearl-heading-md {
  font-family: 'Spectral', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  color: #1A1D23;
}

.pearl-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4A4E57;
}

.pearl-muted {
  color: #6A6E77;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */

.pearl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.pearl-btn:focus-visible {
  outline: 3px solid var(--pearl-gold, #C9A24B);
  outline-offset: 3px;
}

.pearl-btn--primary {
  background-color: var(--pearl-primary, #00609E);
  color: #ffffff;
  border: 2px solid var(--pearl-primary, #00609E);
}

.pearl-btn--primary:hover {
  background-color: var(--pearl-navy, #063A5E);
  border-color: var(--pearl-navy, #063A5E);
  box-shadow: 0 4px 18px rgba(0, 96, 158, 0.28);
}

.pearl-btn--outline {
  background-color: transparent;
  color: var(--pearl-primary, #00609E);
  border: 2px solid var(--pearl-primary, #00609E);
}

.pearl-btn--outline:hover {
  background-color: var(--pearl-primary, #00609E);
  color: #ffffff;
}

.pearl-btn--gold {
  background-color: var(--pearl-gold, #C9A24B);
  color: #ffffff;
  border: 2px solid var(--pearl-gold, #C9A24B);
}

.pearl-btn--gold:hover {
  background-color: var(--pearl-gold-muted, #9A7B3E);
  border-color: var(--pearl-gold-muted, #9A7B3E);
  box-shadow: 0 4px 18px rgba(201, 162, 75, 0.3);
}

.pearl-btn--ghost-light {
  background-color: transparent;
  color: #F7F3EC;
  border: 2px solid rgba(247, 243, 236, 0.45);
}

.pearl-btn--ghost-light:hover {
  background-color: rgba(247, 243, 236, 0.12);
  border-color: #F7F3EC;
}

.pearl-btn--sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}

.pearl-btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   8. HEADER & NAV
   -------------------------------------------------------------------------- */

.pearl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 74px;
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
  transition: box-shadow 0.2s ease;
}

.pearl-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(6, 58, 94, 0.1);
}

/* The container between header and inner row must fill the 74px header,
   otherwise the inner row's height:100% collapses and content pins to the top. */
.pearl-header .pearl-container {
  height: 100%;
}

.pearl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.pearl-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.pearl-header__logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.pearl-header__logo-text {
  font-family: 'Spectral', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--pearl-navy, #063A5E);
  line-height: 1.2;
}

.pearl-header__logo-text span {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
}

.pearl-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pearl-nav-item {
  position: relative;
}

.pearl-nav-item__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1A1D23;
  border-radius: 5px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.pearl-nav-item__link:hover,
.pearl-nav-item__link.is-active {
  color: var(--pearl-primary, #00609E);
  background-color: rgba(0, 96, 158, 0.07);
}

.pearl-nav-item__link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pearl-nav-item:hover .pearl-nav-item__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.pearl-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(6, 58, 94, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.pearl-nav-item:hover .pearl-dropdown,
.pearl-nav-item:focus-within .pearl-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pearl-dropdown__link {
  display: block;
  padding: 9px 18px;
  font-size: 0.875rem;
  color: #4A4E57;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.pearl-dropdown__link:hover {
  color: var(--pearl-primary, #00609E);
  background-color: rgba(0, 96, 158, 0.05);
}

.pearl-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.pearl-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.pearl-hamburger:hover {
  background-color: rgba(0, 96, 158, 0.08);
}

.pearl-hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1A1D23;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pearl-hamburger.is-active .pearl-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pearl-hamburger.is-active .pearl-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.pearl-hamburger.is-active .pearl-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.pearl-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--pearl-navy, #063A5E);
  display: flex;
  flex-direction: column;
  padding: 90px 36px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.pearl-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.pearl-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.pearl-mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-family: 'Spectral', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #F7F3EC;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  transition: color 0.2s ease;
}

.pearl-mobile-menu__link:hover {
  color: var(--pearl-gold, #C9A24B);
}

.pearl-mobile-menu__footer {
  padding-top: 32px;
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   9. HERO SECTION
   -------------------------------------------------------------------------- */

.pearl-hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 74vh;
  align-items: center;
  gap: 60px;
  padding: 80px 0 0;
}

.pearl-hero__content {
  animation: fadeUp 0.7s ease both;
}

.pearl-hero__heading {
  margin-bottom: 24px;
}

.pearl-hero__subtext {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4A4E57;
  max-width: 500px;
  margin-bottom: 36px;
}

.pearl-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pearl-hero__image-wrap {
  position: relative;
  height: 560px;
  border-radius: 16px;
  overflow: visible;
  animation: fadeIn 0.9s ease 0.15s both;
}

.pearl-hero__image-wrap .pearl-img-box {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.pearl-hero__stat-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 8px 36px rgba(6, 58, 94, 0.14);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}

.pearl-hero__stat-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pearl-primary, #00609E), var(--pearl-navy, #063A5E));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pearl-hero__stat-badge-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
  fill: #ffffff;
}

.pearl-hero__stat-value {
  font-family: 'Spectral', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1D23;
  line-height: 1;
}

.pearl-hero__stat-label {
  font-size: 0.8125rem;
  color: #6A6E77;
  margin-top: 3px;
}

/* Metrics Strip */
.pearl-metrics-strip {
  border-top: 1px solid #E2D9CC;
  border-bottom: 1px solid #E2D9CC;
  margin-top: 60px;
  padding: 32px 0;
}

.pearl-metrics-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pearl-metric-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid #E2D9CC;
}

.pearl-metric-item:last-child {
  border-right: none;
}

.pearl-metric-item__value {
  font-family: 'Spectral', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--pearl-navy, #063A5E);
  line-height: 1;
}

.pearl-metric-item__label {
  font-size: 0.875rem;
  color: #6A6E77;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   10. WHY PEARL SECTION
   -------------------------------------------------------------------------- */

.pearl-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pearl-why__image-wrap {
  height: 580px;
  border-radius: 16px;
}

.pearl-why__content {
  padding: 16px 0;
}

.pearl-why__paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-bottom: 40px;
}

.pearl-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.pearl-feature-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pearl-feature-item__number {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pearl-gold, #C9A24B);
  line-height: 1;
}

.pearl-feature-item__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
}

.pearl-feature-item__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. CAMPUS CARDS
   -------------------------------------------------------------------------- */

.pearl-campus-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pearl-campus-card:hover {
  box-shadow: 0 10px 40px rgba(6, 58, 94, 0.12);
  transform: translateY(-4px);
}

.pearl-campus-card__image {
  height: 190px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pearl-campus-card__image img,
.pearl-campus-card__image .pearl-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pearl-campus-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.pearl-campus-card__city {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 6px;
}

.pearl-campus-card__name {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 10px;
  line-height: 1.25;
}

.pearl-campus-card__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.pearl-campus-card__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #F0EBE2;
}

.pearl-campus-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pearl-campus-card__stat-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1A1D23;
}

.pearl-campus-card__stat-label {
  font-size: 0.75rem;
  color: #6A6E77;
}

.pearl-campus-card__arrow {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #E0D9CF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl-primary, #00609E);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pearl-campus-card:hover .pearl-campus-card__arrow {
  background-color: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #ffffff;
}

.pearl-campus-card__arrow svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   12. ACADEMIC JOURNEY
   -------------------------------------------------------------------------- */

.pearl-journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pearl-journey__stages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pearl-stage-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1.5px solid transparent;
  text-align: left;
  background: transparent;
  width: 100%;
}

.pearl-stage-btn:hover {
  background-color: rgba(0, 96, 158, 0.06);
}

.pearl-stage-btn.is-active {
  background-color: var(--pearl-navy, #063A5E);
  border-color: var(--pearl-navy, #063A5E);
}

.pearl-stage-btn__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #C8C3BB;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.pearl-stage-btn.is-active .pearl-stage-btn__dot {
  background-color: var(--pearl-gold, #C9A24B);
}

.pearl-stage-btn__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
  transition: color 0.2s ease;
}

.pearl-stage-btn.is-active .pearl-stage-btn__label {
  color: #F7F3EC;
}

.pearl-stage-btn__ages {
  font-size: 0.8125rem;
  color: #6A6E77;
  margin-left: auto;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.pearl-stage-btn.is-active .pearl-stage-btn__ages {
  color: rgba(247, 243, 236, 0.65);
}

/* Journey Detail Panel */
.pearl-journey__detail {
  background-color: var(--pearl-navy, #063A5E);
  border-radius: 16px;
  padding: 36px 36px 40px;
  color: #F7F3EC;
  position: sticky;
  top: 94px;
}

.pearl-journey__detail-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 162, 75, 0.2);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--pearl-gold, #C9A24B);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.pearl-journey__detail-heading {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #F7F3EC;
  margin-bottom: 8px;
}

.pearl-journey__detail-ages {
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.65);
  margin-bottom: 18px;
}

.pearl-journey__detail-paragraph {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.82);
  margin-bottom: 28px;
}

.pearl-subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pearl-subject-tag {
  padding: 5px 14px;
  background: rgba(247, 243, 236, 0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: #F7F3EC;
  border: 1px solid rgba(247, 243, 236, 0.18);
}

.pearl-journey__outcome-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.12);
}

.pearl-journey__outcome-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201, 162, 75, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pearl-gold, #C9A24B);
}

.pearl-journey__outcome-text {
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.8);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. FACILITIES MOSAIC
   -------------------------------------------------------------------------- */

.pearl-facilities-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pearl-facility-tile {
  position: relative;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.pearl-facility-tile img,
.pearl-facility-tile .pearl-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-facility-tile:hover img,
.pearl-facility-tile:hover .pearl-placeholder {
  transform: scale(1.05);
}

.pearl-facility-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 40, 0.78) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
}

.pearl-facility-tile__name {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F7F3EC;
  margin-bottom: 3px;
}

.pearl-facility-tile__desc {
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.72);
}

/* Facility Card (grid card variant) */
.pearl-facility-card {
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  transition: box-shadow 0.2s ease;
}

.pearl-facility-card:hover {
  box-shadow: 0 8px 28px rgba(6, 58, 94, 0.1);
}

/* --------------------------------------------------------------------------
   14. STUDENT LIFE GALLERY
   -------------------------------------------------------------------------- */

.pearl-student-life-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 560px;
}

.pearl-student-life-grid__featured {
  grid-row: span 2;
  border-radius: 16px;
  overflow: hidden;
}

.pearl-student-life-grid__item {
  border-radius: 12px;
  overflow: hidden;
}

.pearl-student-life-grid__featured img,
.pearl-student-life-grid__item img,
.pearl-student-life-grid__featured .pearl-placeholder,
.pearl-student-life-grid__item .pearl-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-student-life-grid__featured:hover img,
.pearl-student-life-grid__item:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   15. RESULTS / STATS SECTION
   -------------------------------------------------------------------------- */

.pearl-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.pearl-result-stat {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(247, 243, 236, 0.1);
}

.pearl-result-stat:last-child {
  border-right: none;
}

.pearl-result-stat__number {
  font-family: 'Spectral', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--pearl-gold, #C9A24B);
  line-height: 1;
  margin-bottom: 10px;
}

.pearl-result-stat__label {
  font-size: 0.9375rem;
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   16. IMS SECTION
   -------------------------------------------------------------------------- */

.pearl-ims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pearl-ims__app-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6, 58, 94, 0.16);
}

.pearl-ims__heading {
  margin-bottom: 16px;
}

.pearl-ims__paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-bottom: 36px;
}

.pearl-ims-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 36px;
}

.pearl-ims-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pearl-ims-feature__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--pearl-gold, #C9A24B);
}

/* Diamond icon via CSS */
.pearl-diamond-icon {
  width: 14px;
  height: 14px;
  background: var(--pearl-gold, #C9A24B);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

.pearl-ims-feature__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1A1D23;
  margin-bottom: 3px;
}

.pearl-ims-feature__desc {
  font-size: 0.8125rem;
  color: #6A6E77;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   17. TESTIMONIALS
   -------------------------------------------------------------------------- */

.pearl-testimonials__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pearl-testimonial-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6A6E77;
  border: 1.5px solid #DDD6CC;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pearl-testimonial-tab:hover {
  color: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
}

.pearl-testimonial-tab.is-active {
  color: #ffffff;
  background-color: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
}

.pearl-testimonials__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.pearl-testimonials__video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
}

.pearl-testimonials__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.pearl-testimonials__video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

.pearl-testimonials__video-play svg {
  width: 24px;
  height: 24px;
  color: var(--pearl-primary, #00609E);
  margin-left: 3px;
}

.pearl-testimonials__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pearl-testimonial-card {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 14px;
  padding: 24px 26px;
  transition: box-shadow 0.2s ease;
}

.pearl-testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(6, 58, 94, 0.09);
}

.pearl-testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4A4E57;
  margin-bottom: 18px;
}

.pearl-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pearl-testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8E2D8;
}

.pearl-testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1A1D23;
}

.pearl-testimonial-card__role {
  font-size: 0.8125rem;
  color: #6A6E77;
}

.pearl-testimonial-card__stars {
  margin-left: auto;
  display: flex;
  gap: 3px;
  color: var(--pearl-gold, #C9A24B);
}

/* --------------------------------------------------------------------------
   18. NEWS CARDS
   -------------------------------------------------------------------------- */

.pearl-news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.pearl-news-card {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pearl-news-card:hover {
  box-shadow: 0 8px 30px rgba(6, 58, 94, 0.1);
  transform: translateY(-3px);
}

.pearl-news-card__image {
  overflow: hidden;
  position: relative;
}

.pearl-news-card--featured .pearl-news-card__image {
  height: 280px;
}

.pearl-news-card--small .pearl-news-card__image {
  height: 140px;
}

.pearl-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-news-card:hover .pearl-news-card__image img {
  transform: scale(1.04);
}

.pearl-news-card__content {
  padding: 22px 24px 24px;
}

.pearl-news-card__category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 8px;
}

.pearl-news-card__title {
  font-family: 'Spectral', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1A1D23;
  line-height: 1.35;
  margin-bottom: 10px;
}

.pearl-news-card--featured .pearl-news-card__title {
  font-size: 1.4375rem;
}

.pearl-news-card__excerpt {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.65;
  margin-bottom: 16px;
}

.pearl-news-card__meta {
  font-size: 0.8125rem;
  color: #8A8E97;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pearl-news-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #C8C3BB;
}

.pearl-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   19. ADMISSIONS CTA
   -------------------------------------------------------------------------- */

.pearl-admissions-cta {
  background-color: var(--pearl-navy, #063A5E);
  text-align: center;
  padding: 96px 36px;
}

.pearl-admissions-cta__eyebrow {
  justify-content: center;
}

.pearl-admissions-cta__heading {
  color: #F7F3EC;
  max-width: 640px;
  margin: 0 auto 20px;
}

.pearl-admissions-cta__sub {
  font-size: 1.0625rem;
  color: rgba(247, 243, 236, 0.72);
  max-width: 500px;
  margin: 0 auto 36px;
}

.pearl-admissions-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   20. APPLY FORM (Multi-step)
   -------------------------------------------------------------------------- */

.pearl-apply-layout {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  min-height: 100vh;
}

.pearl-apply-sidebar {
  background-color: var(--pearl-navy, #063A5E);
  padding: 48px 36px;
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  overflow-y: auto;
}

.pearl-apply-sidebar__logo {
  margin-bottom: 48px;
}

.pearl-apply-sidebar__title {
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  color: #F7F3EC;
  font-weight: 600;
  margin-bottom: 6px;
}

.pearl-apply-sidebar__sub {
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.6);
  margin-bottom: 36px;
}

.pearl-progress-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pearl-progress-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}

.pearl-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 40px;
  bottom: 0;
  width: 1.5px;
  background: rgba(247, 243, 236, 0.15);
}

.pearl-progress-step--done:not(:last-child)::after {
  background: #4CAF50;
}

.pearl-progress-step__circle {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid rgba(247, 243, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.5);
  flex-shrink: 0;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.pearl-progress-step--done .pearl-progress-step__circle {
  background: #4CAF50;
  border-color: #4CAF50;
  color: #ffffff;
}

.pearl-progress-step--active .pearl-progress-step__circle {
  background: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #ffffff;
}

.pearl-progress-step__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 243, 236, 0.55);
  padding-top: 4px;
  transition: color 0.2s ease;
}

.pearl-progress-step--active .pearl-progress-step__label {
  color: #F7F3EC;
  font-weight: 600;
}

.pearl-progress-step--done .pearl-progress-step__label {
  color: rgba(247, 243, 236, 0.75);
}

.pearl-apply-main {
  padding: 56px 64px;
  background: #F7F3EC;
}

.pearl-apply-main__heading {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 8px;
}

.pearl-apply-main__sub {
  font-size: 0.9375rem;
  color: #6A6E77;
  margin-bottom: 40px;
}

.pearl-apply-progress-bar {
  height: 4px;
  background: #E2D9CC;
  border-radius: 4px;
  margin-bottom: 48px;
  overflow: hidden;
}

.pearl-apply-progress-bar__fill {
  height: 100%;
  background: var(--pearl-primary, #00609E);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* --------------------------------------------------------------------------
   21. FORM ELEMENTS
   -------------------------------------------------------------------------- */

.pearl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.pearl-form-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.pearl-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pearl-form-group--full {
  grid-column: 1 / -1;
}

.pearl-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A1D23;
}

.pearl-label--required::after {
  content: ' *';
  color: #C0392B;
}

.pearl-input,
.pearl-select,
.pearl-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  color: #1A1D23;
  background: #ffffff;
  border: 1.5px solid #DDD6CC;
  border-radius: 7px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pearl-input::placeholder,
.pearl-textarea::placeholder {
  color: #9A9EA7;
}

.pearl-input:focus,
.pearl-select:focus,
.pearl-textarea:focus {
  border-color: var(--pearl-primary, #00609E);
  box-shadow: 0 0 0 3px rgba(0, 96, 158, 0.12);
}

.pearl-input:invalid:not(:placeholder-shown),
.pearl-select:invalid:not(:placeholder-shown) {
  border-color: #C0392B;
}

.pearl-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236A6E77' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

.pearl-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.pearl-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #E2D9CC;
}

/* --------------------------------------------------------------------------
   22. PARENT PORTAL PREVIEW
   -------------------------------------------------------------------------- */

.pearl-portal-layout {
  display: flex;
  min-height: 600px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E0D9CF;
  box-shadow: 0 16px 48px rgba(6, 58, 94, 0.12);
}

.pearl-portal-sidebar {
  width: 230px;
  background-color: var(--pearl-navy, #063A5E);
  flex-shrink: 0;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pearl-portal-sidebar__logo {
  margin-bottom: 24px;
  padding: 0 8px;
}

.pearl-portal-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: rgba(247, 243, 236, 0.65);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pearl-portal-nav-item:hover {
  background: rgba(247, 243, 236, 0.08);
  color: #F7F3EC;
}

.pearl-portal-nav-item.is-active {
  background: rgba(0, 96, 158, 0.45);
  color: #F7F3EC;
}

.pearl-portal-nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pearl-portal-main {
  flex: 1;
  padding: 28px 32px;
  background: #F7F3EC;
  overflow-y: auto;
}

.pearl-portal-main__title {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 20px;
}

/* Portal stat cards */
.pearl-portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.pearl-portal-stat-card {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 16px 18px;
}

.pearl-portal-stat-card__label {
  font-size: 0.8rem;
  color: #6A6E77;
  margin-bottom: 4px;
}

.pearl-portal-stat-card__value {
  font-family: 'Spectral', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #1A1D23;
}

.pearl-portal-stat-card__sub {
  font-size: 0.75rem;
  color: #6A6E77;
  margin-top: 2px;
}

/* Attendance bar chart */
.pearl-portal-chart {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.pearl-portal-chart__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 16px;
}

.pearl-attendance-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}

.pearl-attendance-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.pearl-attendance-bar {
  width: 100%;
  background: var(--pearl-primary, #00609E);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  opacity: 0.85;
}

.pearl-attendance-bar--low {
  background: #E57373;
  opacity: 0.85;
}

.pearl-attendance-bar-label {
  font-size: 0.7rem;
  color: #6A6E77;
}

/* Results table */
.pearl-portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pearl-portal-table thead th {
  text-align: left;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #6A6E77;
  border-bottom: 1px solid #E8E2D8;
}

.pearl-portal-table tbody td {
  padding: 10px 12px;
  color: #1A1D23;
  border-bottom: 1px solid #F0EBE2;
}

.pearl-portal-table tbody tr:last-child td {
  border-bottom: none;
}

.pearl-portal-table tbody tr:hover td {
  background: rgba(0, 96, 158, 0.03);
}

.pearl-grade-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pearl-grade-pill--a {
  background: rgba(76, 175, 80, 0.12);
  color: #388E3C;
}

.pearl-grade-pill--b {
  background: rgba(0, 96, 158, 0.1);
  color: var(--pearl-primary, #00609E);
}

.pearl-grade-pill--c {
  background: rgba(201, 162, 75, 0.15);
  color: var(--pearl-gold-muted, #9A7B3E);
}

/* --------------------------------------------------------------------------
   23. CONTACT SECTION
   -------------------------------------------------------------------------- */

.pearl-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pearl-contact-map {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.pearl-campus-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pearl-campus-address-card {
  padding: 18px;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  background: #ffffff;
}

.pearl-campus-address-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pearl-navy, #063A5E);
  margin-bottom: 6px;
}

.pearl-campus-address-card__address {
  font-size: 0.8125rem;
  color: #6A6E77;
  line-height: 1.6;
}

.pearl-campus-address-card__phone {
  font-size: 0.8125rem;
  color: var(--pearl-primary, #00609E);
  margin-top: 8px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */

.pearl-footer {
  background-color: #1A1D23;
  color: rgba(247, 243, 236, 0.72);
  padding-top: 72px;
}

.pearl-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
}

.pearl-footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 16px 0 24px;
  color: rgba(247, 243, 236, 0.6);
}

.pearl-footer__col-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #F7F3EC;
  margin-bottom: 18px;
}

.pearl-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pearl-footer__link {
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.65);
  transition: color 0.2s ease;
}

.pearl-footer__link:hover {
  color: var(--pearl-gold, #C9A24B);
}

/* Newsletter */
.pearl-footer__newsletter-label {
  font-size: 0.875rem;
  color: rgba(247, 243, 236, 0.7);
  margin-bottom: 12px;
}

.pearl-footer__newsletter-form {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(247, 243, 236, 0.18);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pearl-footer__newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(247, 243, 236, 0.06);
  color: #F7F3EC;
  border: none;
  outline: none;
  font-size: 0.875rem;
}

.pearl-footer__newsletter-input::placeholder {
  color: rgba(247, 243, 236, 0.4);
}

.pearl-footer__newsletter-btn {
  padding: 10px 18px;
  background: var(--pearl-gold, #C9A24B);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  white-space: nowrap;
}

.pearl-footer__newsletter-btn:hover {
  background: var(--pearl-gold-muted, #9A7B3E);
}

/* Social icons */
.pearl-footer__socials {
  display: flex;
  gap: 10px;
}

.pearl-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(247, 243, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 243, 236, 0.65);
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.pearl-social-icon:hover {
  background: var(--pearl-gold, #C9A24B);
  color: #ffffff;
}

.pearl-social-icon svg {
  width: 16px;
  height: 16px;
}

/* Footer bottom bar */
.pearl-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.pearl-footer__copyright {
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.45);
}

.pearl-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.pearl-footer__bottom-link {
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.45);
  transition: color 0.2s ease;
}

.pearl-footer__bottom-link:hover {
  color: rgba(247, 243, 236, 0.8);
}

/* --------------------------------------------------------------------------
   25. MISC / UTILITY CLASSES
   -------------------------------------------------------------------------- */

.pearl-divider {
  height: 1px;
  background: #E2D9CC;
  border: none;
  margin: 0;
}

.pearl-text-center { text-align: center; }
.pearl-text-gold   { color: var(--pearl-gold, #C9A24B); }
.pearl-text-navy   { color: var(--pearl-navy, #063A5E); }
.pearl-text-primary { color: var(--pearl-primary, #00609E); }

.pearl-mt-8  { margin-top: 8px; }
.pearl-mt-16 { margin-top: 16px; }
.pearl-mt-24 { margin-top: 24px; }
.pearl-mt-32 { margin-top: 32px; }
.pearl-mt-48 { margin-top: 48px; }
.pearl-mb-8  { margin-bottom: 8px; }
.pearl-mb-16 { margin-bottom: 16px; }
.pearl-mb-24 { margin-bottom: 24px; }
.pearl-mb-32 { margin-bottom: 32px; }

.pearl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.pearl-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--pearl-primary, #00609E);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}

.pearl-skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   26. RESPONSIVE — TABLET (768px – 1199px)
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {

  .pearl-container {
    padding: 0 28px;
  }

  .pearl-section {
    padding: 72px 0;
  }

  .pearl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 48px;
    padding-top: 60px;
  }

  .pearl-hero__image-wrap {
    height: 420px;
  }

  .pearl-hero__subtext {
    max-width: 100%;
  }

  .pearl-metrics-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-metric-item:nth-child(2) { border-right: none; }
  .pearl-metric-item:nth-child(3) { border-top: 1px solid #E2D9CC; }
  .pearl-metric-item:nth-child(4) { border-top: 1px solid #E2D9CC; }

  .pearl-why {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-why__image-wrap {
    height: 360px;
  }

  .pearl-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-facilities-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-result-stat:nth-child(2) { border-right: none; }
  .pearl-result-stat:nth-child(3) { border-top: 1px solid rgba(247, 243, 236, 0.1); }
  .pearl-result-stat:nth-child(4) { border-top: 1px solid rgba(247, 243, 236, 0.1); border-right: none; }

  .pearl-ims {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-journey {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pearl-journey__detail {
    position: static;
  }

  .pearl-testimonials__layout {
    grid-template-columns: 1fr;
  }

  .pearl-testimonials__video {
    height: 300px;
  }

  .pearl-news-grid {
    grid-template-columns: 1fr;
  }

  .pearl-contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-apply-layout {
    grid-template-columns: 1fr;
  }

  .pearl-apply-sidebar {
    position: static;
    height: auto;
  }

  .pearl-progress-rail {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pearl-progress-step:not(:last-child)::after {
    display: none;
  }

  .pearl-apply-main {
    padding: 40px 36px;
  }

  .pearl-portal-layout {
    flex-direction: column;
  }

  .pearl-portal-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 14px 20px;
    gap: 8px;
  }

  .pearl-portal-sidebar__logo {
    display: none;
  }

  .pearl-portal-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .pearl-portal-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .pearl-student-life-grid {
    height: 440px;
  }

  .pearl-nav { display: none; }
  .pearl-header__actions .pearl-btn { display: none; }
  .pearl-hamburger { display: flex; }
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE — MOBILE (<768px)
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

  .pearl-container {
    padding: 0 20px;
  }

  .pearl-section {
    padding: 56px 0;
  }

  .pearl-heading-xl {
    font-size: clamp(30px, 8vw, 40px);
  }

  .pearl-heading-lg {
    font-size: clamp(24px, 7vw, 32px);
  }

  .pearl-heading-md {
    font-size: clamp(20px, 6vw, 26px);
  }

  .pearl-hero {
    padding-top: 40px;
  }

  .pearl-hero__image-wrap {
    height: 280px;
  }

  .pearl-hero__stat-badge {
    bottom: -16px;
    left: -8px;
    padding: 12px 16px;
  }

  .pearl-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pearl-metrics-strip {
    margin-top: 40px;
  }

  .pearl-metrics-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-grid-2 {
    grid-template-columns: 1fr;
  }

  .pearl-grid-3 {
    grid-template-columns: 1fr;
  }

  .pearl-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .pearl-features-grid {
    grid-template-columns: 1fr;
  }

  .pearl-ims-features {
    grid-template-columns: 1fr;
  }

  .pearl-facilities-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .pearl-facility-tile {
    height: 180px;
  }

  .pearl-student-life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: 8px;
  }

  .pearl-student-life-grid__featured {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 220px;
  }

  .pearl-student-life-grid__item {
    height: 140px;
  }

  .pearl-results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pearl-result-stat {
    padding: 28px 16px;
  }

  .pearl-result-stat:nth-child(2) { border-right: none; }
  .pearl-result-stat:nth-child(3) { border-top: 1px solid rgba(247, 243, 236, 0.1); }
  .pearl-result-stat:nth-child(4) { border-top: 1px solid rgba(247, 243, 236, 0.1); border-right: none; }

  .pearl-testimonials__tabs {
    gap: 6px;
  }

  .pearl-admissions-cta {
    padding: 64px 20px;
  }

  .pearl-admissions-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .pearl-apply-main {
    padding: 32px 20px;
  }

  .pearl-form-grid {
    grid-template-columns: 1fr;
  }

  .pearl-form-grid--3 {
    grid-template-columns: 1fr;
  }

  .pearl-campus-addresses {
    grid-template-columns: 1fr;
  }

  .pearl-portal-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .pearl-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pearl-news-grid {
    grid-template-columns: 1fr;
  }

  .pearl-btn--lg {
    padding: 14px 28px;
  }

  .pearl-hero__stat-badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   28. APPLY FORM — TEMPLATE CLASSES
   Multi-step form with left rail + right panel layout.
   -------------------------------------------------------------------------- */

/* Outer layout used in template-apply.php */
.pearl-apply-container {
  background: var(--pearl-background, #F7F3EC);
  min-height: calc(100vh - 74px);
  padding: 40px 0 80px;
}

.pearl-apply-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.pearl-apply-header__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.pearl-apply-header__id-label {
  font-size: 0.75rem;
  color: #6A6E77;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pearl-apply-header__id {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  letter-spacing: 0.02em;
}

.pearl-apply-header__autosave {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #6A6E77;
}

.pearl-apply-header__autosave-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
}

/* Two-column layout: left rail, right panel */
.pearl-apply-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Left rail */
.pearl-apply-rail {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid #E2D9CC;
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
}

.pearl-apply-progress-bar {
  height: 4px;
  background: #E2D9CC;
  border-radius: 4px;
  margin-bottom: 28px;
  overflow: hidden;
}

.pearl-apply-progress-fill {
  height: 100%;
  width: 25%;
  background: var(--pearl-primary, #00609E);
  border-radius: 4px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pearl-apply-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.pearl-apply-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

.pearl-apply-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 36px;
  bottom: 0;
  width: 1.5px;
  background: #E2D9CC;
  z-index: 0;
}

.pearl-apply-step.is-done:not(:last-child)::after {
  background: #4CAF50;
}

.pearl-apply-step__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #DDD6CC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9A9EA7;
  flex-shrink: 0;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  z-index: 1;
  position: relative;
}

.pearl-apply-step.is-active .pearl-apply-step__circle {
  background: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #fff;
}

.pearl-apply-step.is-done .pearl-apply-step__circle {
  background: #4CAF50;
  border-color: #4CAF50;
  color: #fff;
}

.pearl-apply-step.is-done .pearl-apply-step__circle::after {
  content: '✓';
  font-size: 0.75rem;
}

.pearl-apply-step.is-done .pearl-apply-step__circle span {
  display: none;
}

.pearl-apply-step__num {
  font-size: 0.75rem;
  color: #9A9EA7;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2px;
}

.pearl-apply-step__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6A6E77;
  transition: color 0.2s;
}

.pearl-apply-step.is-active .pearl-apply-step__label {
  color: #1A1D23;
  font-weight: 600;
}

.pearl-apply-step.is-done .pearl-apply-step__label {
  color: #4CAF50;
}

.pearl-apply-rail__save-note {
  border-top: 1px solid #E2D9CC;
  padding-top: 18px;
}

.pearl-apply-rail__save-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 4px;
}

.pearl-apply-rail__save-desc {
  font-size: 0.75rem;
  color: #6A6E77;
  line-height: 1.5;
}

/* Right panel */
.pearl-apply-panel {
  background: #fff;
  border: 1px solid #E2D9CC;
  border-radius: 12px;
  padding: 36px 40px;
}

.pearl-apply-step-panel {
  /* shown/hidden via hidden attribute */
}

.pearl-apply-panel__sub {
  font-size: 0.9375rem;
  color: #6A6E77;
  margin-bottom: 32px;
}

/* Gender toggle */
.pearl-gender-toggle {
  display: flex;
  gap: 0;
  margin-top: 6px;
}

.pearl-gender-btn {
  flex: 1;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6A6E77;
  background: #fff;
  border: 1.5px solid #DDD6CC;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pearl-gender-btn:first-child {
  border-radius: 7px 0 0 7px;
}

.pearl-gender-btn:last-child {
  border-radius: 0 7px 7px 0;
  border-left: none;
}

.pearl-gender-btn.is-active {
  background: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #fff;
  z-index: 1;
}

/* Required asterisk and field errors */
.pearl-required {
  color: #C0392B;
}

.pearl-field-error {
  display: block;
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 4px;
  min-height: 1em;
}

.pearl-input--error,
.pearl-select--error {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1) !important;
}

/* Document upload tiles */
.pearl-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pearl-doc-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border: 1.5px dashed #DDD6CC;
  border-radius: 10px;
  background: #FAFAF8;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  position: relative;
  overflow: hidden;
}

.pearl-doc-tile:hover {
  border-color: var(--pearl-primary, #00609E);
  background: rgba(0, 96, 158, 0.03);
}

.pearl-doc-tile.is-uploaded {
  border-color: #4CAF50;
  border-style: solid;
  background: rgba(76, 175, 80, 0.05);
}

.pearl-doc-tile__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EEE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6A6E77;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}

.pearl-doc-tile.is-uploaded .pearl-doc-tile__icon {
  background: rgba(76, 175, 80, 0.15);
  color: #388E3C;
}

.pearl-doc-tile__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 2px;
}

.pearl-doc-tile__hint {
  font-size: 0.75rem;
  color: #6A6E77;
  word-break: break-all;
}

.pearl-doc-tile__check {
  margin-left: auto;
  color: #388E3C;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pearl-doc-tile__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.pearl-docs-count {
  font-size: 0.8125rem;
  color: #6A6E77;
  margin-top: 4px;
}

/* Review table */
.pearl-review-table {
  border: 1px solid #E2D9CC;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.pearl-review-table__section {
  border-bottom: 1px solid #E2D9CC;
}

.pearl-review-table__section:last-child {
  border-bottom: none;
}

.pearl-review-table__section-header {
  background: #F7F3EC;
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6A6E77;
}

.pearl-review-table__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pearl-review-field {
  padding: 12px 18px;
  border-right: 1px solid #E2D9CC;
  border-bottom: 1px solid #F0EBE2;
}

.pearl-review-field:nth-child(even) {
  border-right: none;
}

.pearl-review-field:nth-last-child(-n+2) {
  border-bottom: none;
}

.pearl-review-field__label {
  font-size: 0.75rem;
  color: #6A6E77;
  margin-bottom: 3px;
}

.pearl-review-field__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1A1D23;
}

.pearl-review-field__value--empty {
  color: #9A9EA7;
  font-style: italic;
}

/* Consent checkbox */
.pearl-apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #4A4E57;
  line-height: 1.5;
  cursor: pointer;
}

.pearl-apply-consent__cb {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--pearl-primary, #00609E);
  flex-shrink: 0;
  cursor: pointer;
}

/* Nav bar at bottom of panel */
.pearl-apply-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E2D9CC;
}

.pearl-apply-nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.pearl-apply-nav__step-count {
  font-size: 0.8125rem;
  color: #6A6E77;
}

/* Success state */
/* The hidden attribute must always win over component display rules
   (e.g. .pearl-apply-success is display:flex but starts hidden). */
[hidden] {
  display: none !important;
}

.pearl-apply-success {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--pearl-background, #F7F3EC);
}

.pearl-apply-success__inner {
  max-width: 540px;
  width: 100%;
  text-align: center;
}

.pearl-apply-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  color: #388E3C;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pearl-apply-success__id-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #E2D9CC;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  text-align: left;
}

.pearl-apply-success__id-label {
  font-size: 0.75rem;
  color: #6A6E77;
  margin-bottom: 4px;
}

.pearl-apply-success__id-value {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  letter-spacing: 0.03em;
}

.pearl-apply-success__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F59E0B;
}

.pearl-apply-success__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   29. PORTAL PREVIEW PAGE
   -------------------------------------------------------------------------- */

.pearl-page-header--dark {
  background: var(--pearl-navy, #063A5E);
  padding: 80px 0;
  color: #fff;
}

.pearl-page-header--dark .pearl-eyebrow {
  color: var(--pearl-gold, #C9A24B);
}

.pearl-page-header--dark h1,
.pearl-page-header--dark .pearl-heading-xl {
  color: #fff;
}

.pearl-page-header--dark em {
  color: var(--pearl-gold, #C9A24B);
  font-style: normal;
}

/* Portal feature cards */
.pearl-portal-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pearl-portal-feature {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pearl-portal-feature:hover {
  box-shadow: 0 8px 24px rgba(6, 58, 94, 0.1);
  transform: translateY(-2px);
}

.pearl-portal-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 96, 158, 0.08);
  color: var(--pearl-primary, #00609E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pearl-portal-feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1D23;
  margin-bottom: 8px;
}

.pearl-portal-feature__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.6;
}

/* Portal preview mockup wrapper */
.pearl-portal-preview-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E0D9CF;
  box-shadow: 0 16px 48px rgba(6, 58, 94, 0.12);
}

.pearl-portal-preview {
  display: flex;
  min-height: 580px;
}

/* Sidebar overrides for portal preview */
.pearl-portal-sidebar {
  width: 220px;
  background: var(--pearl-navy, #063A5E);
  flex-shrink: 0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pearl-portal-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F7F3EC;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  margin-bottom: 8px;
}

.pearl-portal-sidebar__brand-dot {
  color: var(--pearl-gold, #C9A24B);
  font-size: 0.6875rem;
}

.pearl-portal-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.pearl-portal-nav__item {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.875rem;
  color: rgba(247, 243, 236, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

.pearl-portal-nav__item:hover {
  background: rgba(247, 243, 236, 0.08);
  color: #F7F3EC;
}

.pearl-portal-nav__item.is-active {
  background: rgba(0, 96, 158, 0.4);
  color: #F7F3EC;
  font-weight: 600;
}

.pearl-portal-sidebar__student {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  margin-top: auto;
}

.pearl-portal-sidebar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pearl-primary, #00609E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pearl-portal-sidebar__student-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F7F3EC;
  line-height: 1.2;
}

.pearl-portal-sidebar__student-class {
  font-size: 0.6875rem;
  color: rgba(247, 243, 236, 0.55);
  margin-top: 2px;
}

/* Portal main area */
.pearl-portal-main {
  flex: 1;
  background: #F7F3EC;
  overflow-y: auto;
  max-height: 600px;
}

.pearl-portal-panel {
  padding: 24px 28px;
}

.pearl-portal-main__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.pearl-portal-main__title {
  font-family: 'Spectral', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1A1D23;
}

.pearl-portal-main__date {
  font-size: 0.8125rem;
  color: #6A6E77;
}

/* Stats */
.pearl-portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pearl-portal-stat {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 14px 16px;
}

.pearl-portal-stat__value {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1D23;
  margin-bottom: 4px;
}

.pearl-portal-stat__value.is-good {
  color: var(--pearl-primary, #00609E);
}

.pearl-portal-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 2px;
}

.pearl-portal-stat__note {
  font-size: 0.6875rem;
  color: #6A6E77;
}

/* Attendance chart */
.pearl-portal-chart-wrap {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.pearl-portal-chart-header {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 14px;
}

.pearl-portal-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.pearl-portal-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.pearl-portal-chart__bar {
  width: 100%;
  background: var(--pearl-primary, #00609E);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.pearl-portal-chart__col:hover .pearl-portal-chart__bar {
  opacity: 1;
}

.pearl-portal-chart__label {
  font-size: 0.625rem;
  color: #6A6E77;
}

/* Notices list in dashboard */
.pearl-portal-notices {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  overflow: hidden;
}

.pearl-portal-notices__header {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A1D23;
  border-bottom: 1px solid #E8E2D8;
  background: #FAFAF8;
}

.pearl-portal-notice {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #F0EBE2;
}

.pearl-portal-notice:last-child {
  border-bottom: none;
}

.pearl-portal-notice__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pearl-primary, #00609E);
  flex-shrink: 0;
  margin-top: 6px;
}

.pearl-portal-notice__date {
  font-size: 0.6875rem;
  color: #6A6E77;
  margin-bottom: 2px;
}

.pearl-portal-notice__text {
  font-size: 0.8125rem;
  color: #1A1D23;
  line-height: 1.4;
}

/* Attendance panel */
.pearl-portal-attendance-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pearl-portal-att-stat {
  flex: 1;
  min-width: 120px;
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
  font-size: 0.8125rem;
  color: #6A6E77;
}

.pearl-portal-att-stat__num {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A1D23;
  margin-bottom: 4px;
}

.pearl-portal-att-stat--present .pearl-portal-att-stat__num { color: #388E3C; }
.pearl-portal-att-stat--absent  .pearl-portal-att-stat__num { color: #C0392B; }

/* Shared table wrapper */
.pearl-portal-table-wrap {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  overflow: hidden;
}

/* Badges */
.pearl-portal-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pearl-portal-badge.is-present {
  background: rgba(76, 175, 80, 0.12);
  color: #388E3C;
}

.pearl-portal-badge.is-absent {
  background: rgba(192, 57, 43, 0.1);
  color: #C0392B;
}

/* Fee card */
.pearl-portal-fee-card {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  overflow: hidden;
}

.pearl-portal-fee-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #F0EBE2;
  font-size: 0.875rem;
  color: #1A1D23;
}

.pearl-portal-fee-card__row:last-child {
  border-bottom: none;
}

.pearl-portal-fee-card__row--total {
  font-weight: 700;
  background: #FAFAF8;
  border-top: 1px solid #E8E2D8;
}

/* Homework panel */
.pearl-portal-hw {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.pearl-portal-hw.is-done {
  opacity: 0.55;
}

.pearl-portal-hw.is-done .pearl-portal-hw__task {
  text-decoration: line-through;
}

.pearl-portal-hw__subject {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pearl-primary, #00609E);
  margin-bottom: 4px;
}

.pearl-portal-hw__task {
  font-size: 0.9375rem;
  color: #1A1D23;
  margin-bottom: 4px;
}

.pearl-portal-hw__due {
  font-size: 0.75rem;
  color: #6A6E77;
}

/* Notices panel cards */
.pearl-portal-notice-card {
  background: #fff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.pearl-portal-notice-card__date {
  font-size: 0.75rem;
  color: #6A6E77;
  margin-bottom: 6px;
}

.pearl-portal-notice-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 6px;
}

.pearl-portal-notice-card__body {
  font-size: 0.875rem;
  color: #4A4E57;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   30. GENERIC PAGE (page.php)
   -------------------------------------------------------------------------- */

.pearl-prose {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: #2A2D33;
}

.pearl-prose h1,
.pearl-prose h2,
.pearl-prose h3,
.pearl-prose h4 {
  font-family: 'Spectral', serif;
  color: #1A1D23;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.pearl-prose p {
  margin-bottom: 1.25em;
}

.pearl-prose ul,
.pearl-prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.pearl-prose li {
  margin-bottom: 0.4em;
}

.pearl-prose a {
  color: var(--pearl-primary, #00609E);
}

/* --------------------------------------------------------------------------
   31. RESPONSIVE — NEW COMPONENTS
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  .pearl-portal-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-apply-layout {
    grid-template-columns: 220px 1fr;
  }

  .pearl-portal-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pearl-apply-layout {
    grid-template-columns: 1fr;
  }

  .pearl-apply-rail {
    position: static;
  }

  .pearl-apply-steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 4px;
  }

  .pearl-apply-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-width: 70px;
    padding: 8px 0;
  }

  .pearl-apply-step:not(:last-child)::after {
    display: none;
  }

  .pearl-apply-step__num {
    display: none;
  }

  .pearl-apply-panel {
    padding: 24px 20px;
  }

  .pearl-apply-header {
    flex-direction: column;
    gap: 12px;
  }

  .pearl-apply-header__meta {
    align-items: flex-start;
  }

  .pearl-docs-grid {
    grid-template-columns: 1fr;
  }

  .pearl-review-table__grid {
    grid-template-columns: 1fr;
  }

  .pearl-review-field {
    border-right: none;
  }

  .pearl-portal-preview {
    flex-direction: column;
    min-height: auto;
  }

  .pearl-portal-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    gap: 6px;
  }

  .pearl-portal-sidebar__brand {
    width: 100%;
    padding-bottom: 12px;
    margin-bottom: 4px;
  }

  .pearl-portal-sidebar__student {
    width: 100%;
    margin-top: 0;
    padding-top: 12px;
  }

  .pearl-portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .pearl-portal-nav__item {
    width: auto;
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .pearl-portal-main {
    max-height: none;
  }

  .pearl-portal-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-portal-features {
    grid-template-columns: 1fr;
  }

  .pearl-apply-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pearl-apply-nav__right {
    width: 100%;
    justify-content: flex-end;
  }
}

@media print {
  .pearl-header,
  .pearl-footer,
  .pearl-mobile-menu,
  .pearl-hamburger {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .pearl-section {
    padding: 24pt 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555;
  }
}

/* ==========================================================================
   32. MISSING TEMPLATE STYLES
   Styles for every class used by the PHP templates that previously had no
   rules. Appended only — earlier rules are overridden where the legacy CSS
   targeted a different markup structure (e.g. .pearl-hero / .pearl-why /
   .pearl-ims were grids on the <section>, but templates nest an inner
   __grid inside .pearl-container).
   ========================================================================== */

/* ---------------------------------------------------------------
   32.0 STRUCTURAL OVERRIDES & SHARED UTILITIES
   --------------------------------------------------------------- */

.pearl-main {
  display: block;
  background-color: var(--pearl-background, #F7F3EC);
}

/* Sections that use --warm / --dark standalone need their own padding */
.pearl-section--warm,
.pearl-section--dark {
  padding: 96px 0;
}

/* Legacy rules made these section elements grids — restore normal flow */
.pearl-hero,
.pearl-why,
.pearl-ims {
  display: block;
  min-height: 0;
}

.pearl-hero {
  padding: 80px 0 96px;
}

/* Italic em accents inside serif headings */
.pearl-heading-xl em,
.pearl-heading-lg em,
.pearl-heading-md em {
  font-style: italic;
  color: var(--pearl-primary, #00609E);
}

.pearl-section--dark .pearl-heading-xl em,
.pearl-section--dark .pearl-heading-lg em,
.pearl-section--dark .pearl-heading-md em {
  color: var(--pearl-gold, #C9A24B);
}

/* Scroll-reveal animation (JS adds .is-visible) */
.pearl-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.pearl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .pearl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.pearl-count-up {
  font-variant-numeric: tabular-nums;
}

.pearl-diamond {
  display: inline-block;
  font-size: 0.65rem;
  line-height: 1;
  color: var(--pearl-gold, #C9A24B);
  flex-shrink: 0;
}

.pearl-btn__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.pearl-btn:hover .pearl-btn__arrow {
  transform: translateX(4px);
}

/* Eyebrow variants */
.pearl-eyebrow--centered {
  justify-content: center;
  text-align: center;
}

.pearl-eyebrow--light {
  color: var(--pearl-gold, #C9A24B);
}

.pearl-eyebrow--light::before {
  background-color: var(--pearl-gold, #C9A24B);
}

/* Section headers */
.pearl-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.pearl-section-header .pearl-heading-lg {
  max-width: 620px;
}

.pearl-section-header--light {
  color: #F7F3EC;
}

.pearl-section__center-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

/* Page header band */
.pearl-page-header {
  padding: 90px 0 60px;
  background-color: var(--pearl-background, #F7F3EC);
}

.pearl-page-header--warm {
  background-color: #F1EBE0;
  border-bottom: 1px solid #E2D9CC;
}

.pearl-page-header .pearl-heading-xl {
  max-width: 800px;
  margin-bottom: 20px;
}

.pearl-page-header .pearl-lead {
  max-width: 640px;
}

/* Tags / pills */
.pearl-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: #F1EBE0;
  border: 1px solid #E2D9CC;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4A4E57;
  white-space: nowrap;
}

.pearl-tag--light {
  background: #ffffff;
  border-color: #E8E2D8;
}

/* Tab switcher (pill group) */
.pearl-tab-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: rgba(6, 58, 94, 0.06);
  border-radius: 100px;
  flex-wrap: wrap;
}

.pearl-tab-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A4E57;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.pearl-tab-btn:hover {
  color: var(--pearl-primary, #00609E);
}

.pearl-tab-btn.is-active {
  background-color: var(--pearl-navy, #063A5E);
  color: #ffffff;
}

/* Filter chips (campuses page) */
.pearl-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.pearl-filter-btn {
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.875rem;
}

.pearl-filter-btn.is-active {
  background-color: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #ffffff;
}

/* Empty state */
.pearl-empty-state {
  padding: 64px 28px;
  text-align: center;
  border: 1.5px dashed #D5CCBC;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  color: #6A6E77;
  font-size: 0.9375rem;
}

.pearl-empty-state__note {
  font-size: 0.875rem;
  color: #6A6E77;
}

/* Native fallback form (contact page) */
.pearl-form {
  display: block;
}

.pearl-form .pearl-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pearl-form .pearl-label > span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A1D23;
}

/* ---------------------------------------------------------------
   32.1 HEADER — LOGO & NAV
   --------------------------------------------------------------- */

.pearl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.pearl-logo__img {
  height: 46px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.pearl-logo__initial {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--pearl-navy, #063A5E);
  color: #ffffff;
  font-family: 'Spectral', serif;
  font-size: 1.375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pearl-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.pearl-logo__name {
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1D23;
  white-space: nowrap;
}

.pearl-logo__sub {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  white-space: nowrap;
}

/* Desktop nav links */
.pearl-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 26px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4A4E57;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pearl-nav__item:hover {
  color: var(--pearl-primary, #00609E);
}

.pearl-nav__item.is-active {
  color: var(--pearl-primary, #00609E);
  font-weight: 600;
}

.pearl-nav__active-bar {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background-color: var(--pearl-gold, #C9A24B);
  border-radius: 2px 2px 0 0;
}

/* Hamburger lines (header.php uses bare <span>s) */
.pearl-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1A1D23;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pearl-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pearl-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.pearl-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu CTA buttons */
.pearl-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 0 12px;
}

.pearl-mobile-menu__actions .pearl-btn {
  justify-content: center;
}

.pearl-mobile-menu__actions .pearl-btn--outline {
  color: #F7F3EC;
  border-color: rgba(247, 243, 236, 0.45);
}

.pearl-mobile-menu__actions .pearl-btn--outline:hover {
  background-color: rgba(247, 243, 236, 0.12);
  color: #F7F3EC;
}

/* ---------------------------------------------------------------
   32.2 HERO
   --------------------------------------------------------------- */

.pearl-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.pearl-hero__headline {
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
  margin: 0 0 24px;
}

.pearl-hero__headline em {
  font-style: italic;
  color: var(--pearl-primary, #00609E);
}

.pearl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.pearl-hero__visual {
  position: relative;
}

.pearl-hero__img-box {
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
}

.pearl-hero__badge {
  position: absolute;
  bottom: 36px;
  left: -28px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 26px;
  box-shadow: 0 10px 40px rgba(6, 58, 94, 0.14);
  z-index: 2;
}

.pearl-hero__badge-num {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  line-height: 1;
}

.pearl-hero__badge-label {
  font-size: 0.8125rem;
  color: #6A6E77;
  margin-top: 5px;
}

/* ---------------------------------------------------------------
   32.3 METRICS STRIP
   --------------------------------------------------------------- */

.pearl-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid #E2D9CC;
  margin-top: 64px;
  padding-top: 40px;
}

.pearl-metrics__item {
  min-width: 0;
}

.pearl-metrics__num {
  font-family: 'Spectral', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  line-height: 1.1;
}

.pearl-metrics__label {
  font-size: 0.85rem;
  color: #6A6E77;
  margin-top: 6px;
}

.pearl-metrics--large {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.pearl-metrics--large .pearl-metrics__num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.pearl-section--dark .pearl-metrics {
  border-top-color: rgba(247, 243, 236, 0.15);
}

.pearl-section--dark .pearl-metrics__num {
  color: var(--pearl-gold, #C9A24B);
}

.pearl-section--dark .pearl-metrics__label {
  color: #9AA0AC;
}

/* ---------------------------------------------------------------
   32.4 WHY PEARL
   --------------------------------------------------------------- */

.pearl-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pearl-why__img-wrap {
  height: 560px;
  border-radius: 16px;
}

.pearl-why__heading {
  margin-bottom: 20px;
}

.pearl-why__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-bottom: 40px;
}

.pearl-why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.pearl-why__feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pearl-why__feature-num {
  font-family: 'Spectral', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pearl-gold, #C9A24B);
  line-height: 1;
}

.pearl-why__feature-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
}

.pearl-why__feature-desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   32.5 CAMPUS CARDS (preview + campuses page)
   --------------------------------------------------------------- */

.pearl-campuses-preview {
  position: relative;
}

.pearl-campus-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.pearl-campus-card__img-wrap {
  height: 220px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pearl-campus-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-campus-card:hover .pearl-campus-card__img-wrap img {
  transform: scale(1.04);
}

.pearl-campus-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--pearl-gold, #C9A24B);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pearl-campus-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.pearl-campus-card__district {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 6px;
}

.pearl-campus-card__stat-num {
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1A1D23;
  line-height: 1.2;
}

/* ---------------------------------------------------------------
   32.6 ACADEMIC JOURNEY — FRONT PAGE TABS
   --------------------------------------------------------------- */

.pearl-academic {
  position: relative;
}

.pearl-academic__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.pearl-academic__stages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pearl-academic__stage-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pearl-academic__stage-btn:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.pearl-academic__stage-btn.is-active {
  background-color: #ffffff;
  border-color: #E2D9CC;
  border-left: 3px solid var(--pearl-primary, #00609E);
  box-shadow: 0 6px 24px rgba(6, 58, 94, 0.08);
}

.pearl-academic__stage-num {
  font-family: 'Spectral', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pearl-gold-muted, #9A7B3E);
  width: 26px;
  flex-shrink: 0;
}

.pearl-academic__stage-info {
  flex: 1;
  min-width: 0;
}

.pearl-academic__stage-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
}

.pearl-academic__stage-meta {
  font-size: 0.8rem;
  color: #6A6E77;
  margin-top: 2px;
}

.pearl-academic__stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #C8C3BB;
  background: transparent;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pearl-academic__stage-btn.is-active .pearl-academic__stage-dot {
  background-color: var(--pearl-gold, #C9A24B);
  border-color: var(--pearl-gold, #C9A24B);
}

.pearl-academic__panels {
  position: relative;
}

.pearl-academic__panel {
  display: none;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 10px 36px rgba(6, 58, 94, 0.08);
}

.pearl-academic__panel.is-active {
  display: block;
  animation: fadeUp 0.45s ease both;
}

.pearl-academic__panel-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 12px;
}

.pearl-academic__panel-name {
  font-family: 'Spectral', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 4px;
}

.pearl-academic__panel-age {
  font-size: 0.9rem;
  color: #6A6E77;
  margin-bottom: 18px;
}

.pearl-academic__panel-approach {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-bottom: 28px;
}

.pearl-academic__panel-subjects-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 10px;
}

.pearl-academic__panel-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pearl-academic__panel-outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #EEE7DB;
}

.pearl-academic__panel-outcome .pearl-diamond {
  margin-top: 5px;
}

.pearl-academic__panel-outcome-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 3px;
}

.pearl-academic__panel-outcome-text {
  font-size: 0.9375rem;
  color: #1A1D23;
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   32.7 ACADEMICS PAGE — ALTERNATING STAGES
   --------------------------------------------------------------- */

.pearl-academic-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #E8E2D8;
}

.pearl-academic-stage:first-child {
  padding-top: 0;
}

.pearl-academic-stage:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pearl-academic-stage--flip .pearl-academic-stage__img-wrap {
  order: 2;
}

.pearl-academic-stage__img-wrap {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.pearl-academic-stage__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
}

.pearl-academic-stage__content p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4A4E57;
}

.pearl-academic-stage__name {
  margin-bottom: 16px;
}

.pearl-academic-stage__subjects-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin: 26px 0 10px;
}

.pearl-academic-stage__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pearl-academic-stage__outcome {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #E2D9CC;
  font-size: 0.9375rem;
  color: #1A1D23;
  line-height: 1.6;
}

.pearl-academic-stage__outcome .pearl-diamond {
  margin-top: 5px;
}

.pearl-academic-stage__outcome-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-bottom: 3px;
}

/* ---------------------------------------------------------------
   32.8 FACILITIES (mosaic preview + facilities page grid)
   --------------------------------------------------------------- */

.pearl-facilities-preview {
  position: relative;
}

.pearl-facilities-mosaic__item {
  position: relative;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
}

.pearl-facilities-mosaic__item--tall {
  grid-row: span 2;
  height: auto;
  min-height: 472px;
}

.pearl-facilities-mosaic__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 22, 40, 0.78) 0%, rgba(6, 22, 40, 0.1) 55%, transparent 75%);
  transition: background-color 0.3s ease;
}

.pearl-facilities-mosaic__item:hover .pearl-facilities-mosaic__overlay {
  background-color: rgba(6, 22, 40, 0.22);
}

.pearl-facilities-mosaic__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
}

.pearl-facilities-mosaic__name {
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #F7F3EC;
}

.pearl-facilities-mosaic__desc {
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.75);
  margin-top: 2px;
}

/* Facilities page cards */
.pearl-facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pearl-facility-card__img {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.pearl-facility-card__body {
  padding: 26px 28px 30px;
}

.pearl-facility-card__icon {
  display: inline-block;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.pearl-facility-card__title {
  font-family: 'Spectral', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 10px;
}

.pearl-facility-card__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   32.9 STUDENT LIFE
   --------------------------------------------------------------- */

.pearl-student-life {
  position: relative;
}

.pearl-student-life__header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.pearl-student-life__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #6A6E77;
}

.pearl-student-life__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 265px;
  gap: 14px;
}

.pearl-student-life__featured {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 16px;
  overflow: hidden;
}

.pearl-student-life__item {
  border-radius: 12px;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   32.10 RESULTS (dark section)
   --------------------------------------------------------------- */

.pearl-results {
  position: relative;
}

.pearl-results__heading {
  color: #F7F3EC;
  max-width: 620px;
}

.pearl-results__note {
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.65);
  max-width: 280px;
  line-height: 1.6;
}

.pearl-results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.pearl-results__item {
  padding: 36px 28px;
  border-right: 1px solid rgba(247, 243, 236, 0.12);
}

.pearl-results__item:last-child {
  border-right: none;
}

.pearl-results__num {
  font-family: 'Spectral', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--pearl-gold, #C9A24B);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.pearl-results__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F7F3EC;
}

.pearl-results__desc {
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.6);
  margin-top: 5px;
  line-height: 1.55;
}

.pearl-results__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(247, 243, 236, 0.12);
}

.pearl-achievement-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid rgba(247, 243, 236, 0.25);
  border-radius: 100px;
  background: transparent;
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.85);
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   32.11 IMS SECTION
   --------------------------------------------------------------- */

.pearl-ims__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.pearl-ims__content {
  min-width: 0;
}

.pearl-ims__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(0, 96, 158, 0.08);
  color: var(--pearl-primary, #00609E);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.pearl-ims__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--pearl-primary, #00609E);
  flex-shrink: 0;
}

.pearl-ims__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-top: 16px;
}

.pearl-ims__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin: 36px 0 40px;
}

.pearl-ims__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pearl-ims__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 96, 158, 0.07);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pearl-ims__feature-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 3px;
}

.pearl-ims__feature-desc {
  font-size: 0.8125rem;
  color: #6A6E77;
  line-height: 1.55;
}

.pearl-ims__visual {
  position: relative;
}

.pearl-ims__img-box {
  height: 540px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6, 58, 94, 0.14);
}

.pearl-ims__platform-badge {
  position: absolute;
  bottom: 36px;
  right: -22px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 10px 36px rgba(6, 58, 94, 0.14);
  z-index: 2;
}

.pearl-ims__platform-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
}

.pearl-ims__platform-name {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1D23;
  margin-top: 3px;
}

/* ---------------------------------------------------------------
   32.12 TESTIMONIALS
   --------------------------------------------------------------- */

.pearl-testimonials {
  position: relative;
}

.pearl-testimonials__content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.pearl-testimonials__panel {
  display: none;
}

.pearl-testimonials__panel.is-active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.45s ease both;
}

.pearl-testimonials__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pearl-primary, #00609E);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.pearl-testimonials__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

.pearl-testimonials__play svg {
  margin-left: 3px;
}

.pearl-testimonials__video-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F7F3EC;
  text-shadow: 0 1px 8px rgba(6, 22, 40, 0.5);
}

.pearl-testimonial-card__quote-mark {
  font-family: 'Spectral', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 0.6;
  color: var(--pearl-gold, #C9A24B);
  margin-bottom: 14px;
}

.pearl-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pearl-testimonial-card__initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 96, 158, 0.1);
  color: var(--pearl-primary, #00609E);
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   32.13 NEWS PREVIEW
   --------------------------------------------------------------- */

.pearl-news-preview {
  position: relative;
}

.pearl-news-preview__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.pearl-news-preview__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pearl-news-card__img-wrap {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.pearl-news-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-news-card:hover .pearl-news-card__img-wrap img {
  transform: scale(1.04);
}

.pearl-news-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--pearl-gold, #C9A24B);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pearl-news-card__body {
  padding: 22px 24px 24px;
}

.pearl-news-card--small {
  display: flex;
  align-items: stretch;
}

.pearl-news-card__thumb {
  width: 140px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.pearl-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-news-card:hover .pearl-news-card__thumb img {
  transform: scale(1.05);
}

.pearl-news-card--small .pearl-news-card__body {
  padding: 18px 22px;
}

.pearl-news-card--small .pearl-news-card__title {
  font-size: 1rem;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------
   32.14 ADMISSIONS CTA
   --------------------------------------------------------------- */

.pearl-admissions-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pearl-admissions-cta__inner .pearl-admissions-cta__heading em {
  font-style: italic;
  color: var(--pearl-gold, #C9A24B);
}

/* ---------------------------------------------------------------
   32.15 ABOUT PAGE
   --------------------------------------------------------------- */

.pearl-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pearl-about__mission-grid .pearl-img-box {
  border-radius: 16px;
}

.pearl-about__mission-heading {
  line-height: 1.4;
  margin-bottom: 24px;
}

.pearl-about__mission-content p,
.pearl-about__mission-grid p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4A4E57;
  margin-bottom: 1em;
}

.pearl-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pearl-value-card {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pearl-value-card:hover {
  box-shadow: 0 8px 28px rgba(6, 58, 94, 0.1);
  transform: translateY(-3px);
}

.pearl-value-card__icon {
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.pearl-value-card__title {
  font-family: 'Spectral', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 10px;
}

.pearl-value-card__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.65;
}

.pearl-leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pearl-leader-card {
  text-align: left;
}

.pearl-leader-card__img-box {
  height: 320px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.pearl-leader-card__name {
  font-family: 'Spectral', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1A1D23;
}

.pearl-leader-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
  margin-top: 4px;
}

/* ---------------------------------------------------------------
   32.16 ADMISSIONS PAGE
   --------------------------------------------------------------- */

.pearl-admissions-hero {
  padding: 88px 0;
}

.pearl-admissions-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.pearl-admissions-hero__grid .pearl-img-box {
  border-radius: 16px;
}

.pearl-admissions-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pearl-step-card {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pearl-step-card:hover {
  box-shadow: 0 8px 28px rgba(6, 58, 94, 0.1);
  transform: translateY(-3px);
}

.pearl-step-card__num {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pearl-gold, #C9A24B);
  line-height: 1;
}

.pearl-step-card__divider {
  width: 36px;
  height: 2px;
  background: var(--pearl-gold, #C9A24B);
  margin: 16px 0 18px;
}

.pearl-step-card__title {
  font-family: 'Spectral', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 8px;
}

.pearl-step-card__desc {
  font-size: 0.875rem;
  color: #6A6E77;
  line-height: 1.65;
}

.pearl-admissions-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.pearl-requirements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pearl-requirement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.9375rem;
  color: #1A1D23;
}

.pearl-faqs {
  display: flex;
  flex-direction: column;
}

.pearl-faq {
  padding: 22px 0;
  border-bottom: 1px solid #E2D9CC;
}

.pearl-faq:first-child {
  padding-top: 0;
}

.pearl-faq__q {
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1A1D23;
  margin-bottom: 8px;
}

.pearl-faq__a {
  font-size: 0.9rem;
  color: #6A6E77;
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   32.17 CAMPUS DETAIL (single-pearl_campus.php)
   --------------------------------------------------------------- */

.pearl-campus-hero {
  padding: 64px 0 96px;
}

.pearl-campus-hero__back {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 243, 236, 0.65);
  margin-bottom: 36px;
  transition: color 0.2s ease;
}

.pearl-campus-hero__back:hover {
  color: var(--pearl-gold, #C9A24B);
}

.pearl-campus-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.pearl-campus-hero__grid .pearl-img-box {
  border-radius: 16px;
}

.pearl-campus-hero__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(201, 162, 75, 0.18);
  border: 1px solid rgba(201, 162, 75, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl-gold, #C9A24B);
  margin-bottom: 20px;
}

.pearl-campus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(6, 58, 94, 0.08);
  overflow: hidden;
}

.pearl-campus-stat {
  padding: 30px 32px;
  border-right: 1px solid #F0EBE2;
}

.pearl-campus-stat:last-child {
  border-right: none;
}

.pearl-campus-stat__num {
  font-family: 'Spectral', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.pearl-campus-stat__label {
  font-size: 0.85rem;
  color: #6A6E77;
  margin-top: 5px;
}

.pearl-campus-detail-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px 64px;
  align-items: start;
  margin-top: 72px;
}

.pearl-campus-facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pearl-campus-facility {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #1A1D23;
}

.pearl-campus-content {
  grid-column: 1 / -1;
  max-width: 760px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4A4E57;
}

.pearl-campus-content p {
  margin-bottom: 1.1em;
}

.pearl-campus-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pearl-campus-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 12px;
  padding: 20px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pearl-campus-link-card:hover {
  box-shadow: 0 8px 26px rgba(6, 58, 94, 0.1);
  transform: translateY(-2px);
}

.pearl-campus-link-card__city {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
}

.pearl-campus-link-card__name {
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1A1D23;
  margin-top: 2px;
}

.pearl-campus-link-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #E0D9CF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl-primary, #00609E);
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pearl-campus-link-card:hover .pearl-campus-link-card__arrow {
  background-color: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  color: #ffffff;
}

/* ---------------------------------------------------------------
   32.18 CONTACT PAGE
   --------------------------------------------------------------- */

.pearl-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.pearl-contact-form-wrap {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(6, 58, 94, 0.08);
}

.pearl-contact-form-inner {
  padding: 40px 44px 44px;
}

.pearl-campus-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.pearl-campus-contact {
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-radius: 10px;
  padding: 18px 20px;
}

.pearl-campus-contact__city {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-gold-muted, #9A7B3E);
}

.pearl-campus-contact__name {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pearl-navy, #063A5E);
  margin: 3px 0 8px;
}

.pearl-campus-contact__info {
  font-size: 0.8125rem;
  color: #6A6E77;
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   32.19 GALLERY
   --------------------------------------------------------------- */

.pearl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}

.pearl-gallery-grid__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
}

.pearl-gallery-grid__item--wide {
  grid-column: span 2;
}

.pearl-gallery-grid__item--tall {
  grid-row: span 2;
}

.pearl-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pearl-gallery-grid__item:hover img {
  transform: scale(1.04);
}

.pearl-gallery-grid__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 22, 40, 0.72) 0%, rgba(6, 22, 40, 0.05) 50%, transparent 70%);
  transition: background-color 0.3s ease;
}

.pearl-gallery-grid__item:hover .pearl-gallery-grid__overlay {
  background-color: rgba(6, 22, 40, 0.25);
}

.pearl-gallery-grid__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F7F3EC;
}

/* ---------------------------------------------------------------
   32.20 FOOTER
   --------------------------------------------------------------- */

.pearl-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
}

.pearl-footer__brand {
  min-width: 0;
}

.pearl-footer__col {
  min-width: 0;
}

.pearl-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pearl-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pearl-footer__logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.pearl-footer__logo-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--pearl-gold, #C9A24B);
  font-family: 'Spectral', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pearl-footer__logo-name {
  font-family: 'Spectral', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F7F3EC;
  line-height: 1.25;
}

.pearl-footer__logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pearl-gold, #C9A24B);
}

.pearl-footer__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.6);
  max-width: 360px;
  margin-bottom: 24px;
}

.pearl-footer__newsletter-desc {
  font-size: 0.875rem;
  color: rgba(247, 243, 236, 0.6);
  margin-bottom: 14px;
  line-height: 1.6;
}

.pearl-footer__newsletter {
  display: flex;
  border: 1.5px solid rgba(247, 243, 236, 0.18);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 22px;
}

.pearl-footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(247, 243, 236, 0.7);
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.pearl-footer__social:hover {
  background: var(--pearl-gold, #C9A24B);
  color: #ffffff;
}

.pearl-footer__social--placeholder {
  opacity: 0.35;
  cursor: default;
}

.pearl-footer__copy {
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.45);
}

.pearl-footer__bottom {
  border-top: none;
}

.pearl-footer__powered {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pearl-gold, #C9A24B);
  opacity: 0.8;
}

/* ---------------------------------------------------------------
   32.21 APPLY / PORTAL ODDS & ENDS
   --------------------------------------------------------------- */

.pearl-apply-header__id-wrap {
  text-align: right;
}

.pearl-doc-tile__info {
  flex: 1;
  min-width: 0;
}

.pearl-portal-page {
  background-color: var(--pearl-background, #F7F3EC);
}

/* ---------------------------------------------------------------
   32.22 WP-ADMIN HELPERS (meta boxes & options page)
   Minimal — these screens also print their own inline styles.
   --------------------------------------------------------------- */

.pearl-mb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.pearl-mb-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pearl-mb-field label {
  display: block;
  font-weight: 600;
  font-size: 12px;
}

.pearl-mb-full {
  grid-column: 1 / -1;
}

.pearl-opts-block {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
}

.pearl-opts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.pearl-opts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
  align-items: start;
}

.pearl-opts-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}

.pearl-opts-item-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--pearl-primary, #00609E);
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------
   32.23 RESPONSIVE — TABLET (max-width: 1199px)
   --------------------------------------------------------------- */

@media (max-width: 1199px) {

  .pearl-hero {
    padding: 56px 0 72px;
  }

  .pearl-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-hero__img-box {
    height: 420px;
  }

  .pearl-hero__badge {
    left: 20px;
    bottom: 24px;
  }

  .pearl-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
  }

  .pearl-why__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-why__img-wrap {
    height: 400px;
  }

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

  .pearl-academic-stage {
    gap: 40px;
  }

  .pearl-academic-stage__img-wrap {
    height: 320px;
  }

  .pearl-ims__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-ims__img-box {
    height: 440px;
  }

  .pearl-ims__platform-badge {
    right: 20px;
    bottom: 24px;
  }

  .pearl-student-life__header {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .pearl-results__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-results__item:nth-child(2) {
    border-right: none;
  }

  .pearl-results__item:nth-child(n + 3) {
    border-top: 1px solid rgba(247, 243, 236, 0.12);
  }

  .pearl-testimonials__content {
    grid-template-columns: 1fr;
  }

  .pearl-news-preview__grid {
    grid-template-columns: 1fr;
  }

  .pearl-news-card__img-wrap {
    height: 260px;
  }

  .pearl-admissions-hero__grid,
  .pearl-campus-hero__grid,
  .pearl-about__mission-grid,
  .pearl-contact-grid,
  .pearl-campus-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pearl-admissions-steps,
  .pearl-values-grid,
  .pearl-leaders-grid,
  .pearl-facilities-grid,
  .pearl-campus-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pearl-admissions-details-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pearl-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .pearl-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------------------------------------------------------------
   32.24 RESPONSIVE — MOBILE (max-width: 767px)
   --------------------------------------------------------------- */

@media (max-width: 767px) {

  .pearl-hero {
    padding: 40px 0 56px;
  }

  .pearl-hero__grid {
    gap: 36px;
  }

  .pearl-hero__img-box {
    height: 340px;
  }

  .pearl-hero__badge {
    left: 14px;
    bottom: 14px;
    padding: 14px 18px;
  }

  .pearl-hero__badge-num {
    font-size: 1.5rem;
  }

  .pearl-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .pearl-hero__ctas .pearl-btn {
    justify-content: center;
  }

  .pearl-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
  }

  .pearl-metrics__num {
    font-size: 1.8rem;
  }

  .pearl-section--warm,
  .pearl-section--dark {
    padding: 64px 0;
  }

  .pearl-page-header {
    padding: 64px 0 48px;
  }

  .pearl-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .pearl-section__center-header {
    margin-bottom: 36px;
  }

  .pearl-why__img-wrap {
    height: 300px;
  }

  .pearl-why__features {
    grid-template-columns: 1fr;
  }

  .pearl-academic__panel {
    padding: 28px 24px;
  }

  .pearl-academic-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  .pearl-academic-stage--flip .pearl-academic-stage__img-wrap {
    order: 0;
  }

  .pearl-academic-stage__img-wrap {
    height: 240px;
  }

  .pearl-facilities-mosaic__item--tall {
    grid-row: auto;
    min-height: 0;
    height: 200px;
  }

  .pearl-facilities-grid {
    grid-template-columns: 1fr;
  }

  .pearl-student-life__gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .pearl-student-life__featured {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 230px;
  }

  .pearl-results__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .pearl-results__item {
    border-right: none;
    border-top: 1px solid rgba(247, 243, 236, 0.12);
    padding: 24px 4px;
  }

  .pearl-results__item:first-child {
    border-top: none;
  }

  .pearl-results__note {
    max-width: 100%;
  }

  .pearl-ims__features {
    grid-template-columns: 1fr;
  }

  .pearl-ims__img-box {
    height: 340px;
  }

  .pearl-tab-switcher {
    width: 100%;
  }

  .pearl-news-card__img-wrap {
    height: 200px;
  }

  .pearl-news-card__thumb {
    width: 110px;
  }

  .pearl-admissions-steps,
  .pearl-values-grid,
  .pearl-leaders-grid,
  .pearl-campus-links-grid,
  .pearl-campus-facilities-grid,
  .pearl-campus-contacts {
    grid-template-columns: 1fr;
  }

  .pearl-campus-stats {
    grid-template-columns: 1fr;
  }

  .pearl-campus-stat {
    border-right: none;
    border-bottom: 1px solid #F0EBE2;
  }

  .pearl-campus-stat:last-child {
    border-bottom: none;
  }

  .pearl-contact-form-inner {
    padding: 28px 22px 32px;
  }

  .pearl-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .pearl-gallery-grid__item--wide,
  .pearl-gallery-grid__item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .pearl-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .pearl-nav__active-bar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   33. APPLICATION TRACKING PAGE
   -------------------------------------------------------------------------- */

.pearl-track-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1040px;
}

.pearl-track-form-card {
  background: #fff;
  border: 1px solid #E2D9CC;
  border-radius: 12px;
  padding: 28px;
}

.pearl-track-help {
  font-size: 0.8125rem;
  color: #6A6E77;
  line-height: 1.55;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #F0EBE2;
}

.pearl-track-apply-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pearl-primary, #00609E);
  text-decoration: none;
}

.pearl-track-apply-link:hover {
  text-decoration: underline;
}

.pearl-track-result-card {
  background: #fff;
  border: 1px solid #E2D9CC;
  border-radius: 12px;
  padding: 28px 32px;
}

.pearl-track-result__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid #F0EBE2;
  margin-bottom: 18px;
}

.pearl-track-result__id-label {
  font-size: 0.75rem;
  color: #6A6E77;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pearl-track-result__id {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pearl-primary, #00609E);
  letter-spacing: 0.02em;
}

.pearl-track-status-badge {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.pearl-track-status-badge.is-pending { background: rgba(180, 83, 9, 0.1);  color: #B45309; }
.pearl-track-status-badge.is-info    { background: rgba(0, 96, 158, 0.1);  color: var(--pearl-primary, #00609E); }
.pearl-track-status-badge.is-good    { background: rgba(21, 128, 61, 0.1); color: #15803D; }
.pearl-track-status-badge.is-warn    { background: rgba(161, 98, 7, 0.12); color: #A16207; }
.pearl-track-status-badge.is-bad     { background: rgba(185, 28, 28, 0.08);color: #B91C1C; }

.pearl-track-result__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.pearl-track-result__meta-label {
  font-size: 0.75rem;
  color: #6A6E77;
  margin-bottom: 3px;
}

.pearl-track-result__meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1D23;
}

/* Timeline */
.pearl-track-timeline {
  display: flex;
  flex-direction: column;
}

.pearl-track-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 26px;
}

.pearl-track-step:last-child {
  padding-bottom: 0;
}

.pearl-track-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: #E2D9CC;
}

.pearl-track-step.is-done:not(:last-child)::before {
  background: #15803D;
}

.pearl-track-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #DDD6CC;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 1px;
}

.pearl-track-step.is-done .pearl-track-step__dot {
  background: #15803D;
  border-color: #15803D;
}

.pearl-track-step.is-current .pearl-track-step__dot {
  background: var(--pearl-primary, #00609E);
  border-color: var(--pearl-primary, #00609E);
  box-shadow: 0 0 0 4px rgba(0, 96, 158, 0.15);
}

.pearl-track-step.is-current.is-bad .pearl-track-step__dot {
  background: #B91C1C;
  border-color: #B91C1C;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12);
}

.pearl-track-step.is-current.is-warn .pearl-track-step__dot {
  background: #A16207;
  border-color: #A16207;
  box-shadow: 0 0 0 4px rgba(161, 98, 7, 0.14);
}

.pearl-track-step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #9A9EA7;
  margin-bottom: 2px;
}

.pearl-track-step__desc {
  font-size: 0.8125rem;
  color: #9A9EA7;
  line-height: 1.5;
}

.pearl-track-step.is-done .pearl-track-step__title,
.pearl-track-step.is-current .pearl-track-step__title {
  color: #1A1D23;
}

.pearl-track-step.is-done .pearl-track-step__desc,
.pearl-track-step.is-current .pearl-track-step__desc {
  color: #6A6E77;
}

.pearl-track-result__updated {
  font-size: 0.75rem;
  color: #9A9EA7;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #F0EBE2;
}

@media (max-width: 991px) {
  .pearl-track-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .pearl-track-result__meta {
    grid-template-columns: 1fr 1fr;
  }

  .pearl-track-result-card {
    padding: 22px 20px;
  }
}

.pearl-track-result {
  /* container for the result card; visibility controlled via hidden attr */
  min-width: 0;
}

.pearl-track-result__meta-item {
  min-width: 0;
  overflow-wrap: break-word;
}
