/* ==========================================================================
   Pearl School System — "Horizon" theme stylesheet (v2)
   Display: Sora · Body: Plus Jakarta Sans · Accent: Instrument Serif
   Brand colours come from the Customizer as --pearl-* custom properties.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --pearl-primary: #0D47A1;
  --pearl-navy: #0A2E78;
  --pearl-gold: #F28A1E;
  --pearl-gold-muted: #C9650A;
  --pearl-bg: #F4F7FC;
  --pearl-primary-rgb: 13, 71, 161;
  --pearl-navy-rgb: 10, 46, 120;
  --pearl-gold-rgb: 242, 138, 30;

  --ink: #0A1530;
  --body: #3D4A5C;
  --muted: #687586;
  --muted-2: #95A0AE;
  --line: #E1E7F1;
  --line-strong: #CAD4E4;
  --surface: #FFFFFF;
  --surface-2: #EDF2FA;
  --surface-3: #F8FAFD;
  --primary-light: color-mix(in srgb, var(--pearl-primary) 45%, #8CC4FF);
  --primary-dark: color-mix(in srgb, var(--pearl-primary) 70%, #000);
  --navy-2: color-mix(in srgb, var(--pearl-navy) 70%, #04153D);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(11, 22, 38, .06);
  --shadow: 0 18px 40px -18px rgba(11, 22, 38, .22);
  --shadow-lg: 0 40px 80px -30px rgba(11, 22, 38, .35);
  --shadow-glow: 0 20px 50px -20px rgba(var(--pearl-primary-rgb), .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --masthead-h: 150px;
  --intro: 0s;
}
.pearl-intro { --intro: 1.15s; }

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--pearl-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
::selection { background: rgba(var(--pearl-gold-rgb), .4); color: var(--ink); }
[hidden] { display: none !important; }
body.scroll-lock { overflow: hidden; }
:focus-visible { outline: 3px solid rgba(var(--pearl-gold-rgb), .8); outline-offset: 3px; border-radius: 6px; }

.pearl-skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000; padding: 10px 18px;
  background: var(--pearl-gold); color: var(--ink); font-weight: 700; border-radius: 10px; transition: top .2s;
}
.pearl-skip-link:focus { top: 12px; }

.pearl-icon { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.pearl-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.pearl-container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.pearl-section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.pearl-section--tint { background: var(--surface-2); }
.pearl-section--warm { background: var(--surface-2); padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.pearl-section--dark {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(var(--pearl-primary-rgb), .35), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(var(--pearl-gold-rgb), .12), transparent 60%),
              var(--pearl-navy);
  color: rgba(255, 255, 255, .78);
  padding: clamp(72px, 9vw, 128px) 0;
  position: relative; overflow: hidden;
}
.pearl-section--dark h1, .pearl-section--dark h2, .pearl-section--dark h3, .pearl-section--dark h4 { color: #fff; }
.pearl-main { position: relative; }
.pearl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pearl-grid-3--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.pearl-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.pearl-btn-row--center { justify-content: center; }
.pearl-center-cta { display: flex; justify-content: center; margin-top: 44px; }
.pearl-center-block { text-align: center; max-width: 760px; }
.pearl-center-block .pearl-lead { margin: 14px auto 0; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.pearl-heading-xl { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.pearl-heading-lg { font-size: clamp(2rem, 3.8vw, 3.15rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.pearl-heading-md { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.2; }
.pearl-heading-sm { font-size: 1.2rem; }
.pearl-heading-xl em, .pearl-heading-lg em, .pearl-heading-md em, .pearl-hero__headline em, .pearl-cta__heading em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--pearl-primary) 0%, var(--primary-light) 45%, var(--pearl-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.pearl-section--dark .pearl-heading-lg em, .pearl-page-hero .pearl-heading-xl em, .pearl-hero__headline em, .pearl-cta__heading em {
  background-image: linear-gradient(100deg, var(--primary-light) 0%, #DCEBFF 40%, var(--pearl-gold) 100%);
}
.pearl-split.is-split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; padding-right: 0; }
.pearl-split.is-split em .pearl-word > span {
  background-image: linear-gradient(100deg, var(--primary-light) 0%, #DCEBFF 45%, var(--pearl-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
}
.pearl-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 680px; }
.pearl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pearl-primary); margin-bottom: 18px;
}
.pearl-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--pearl-gold), var(--pearl-primary)); }
.pearl-eyebrow--light { color: var(--pearl-gold); }
.pearl-eyebrow--centered { justify-content: center; }
.pearl-eyebrow--centered::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); }

.pearl-prose { color: var(--body); font-size: 1.05rem; }
.pearl-prose > * + * { margin-top: 1.1em; }
.pearl-prose h2, .pearl-prose h3, .pearl-prose h4 { margin-top: 1.8em; }
.pearl-prose h2 { font-size: 1.7rem; } .pearl-prose h3 { font-size: 1.35rem; }
.pearl-prose a { color: var(--pearl-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(var(--pearl-primary-rgb), .35); }
.pearl-prose ul { list-style: none; } .pearl-prose ol { list-style: decimal; padding-left: 1.3em; }
.pearl-prose ul li { position: relative; padding-left: 1.5em; }
.pearl-prose ul li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 3px; background: var(--pearl-primary); transform: rotate(45deg); }
.pearl-prose blockquote { border-left: 4px solid var(--pearl-gold); padding: 6px 0 6px 22px; font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--ink); }
.pearl-prose img { border-radius: var(--radius); height: auto; }
.pearl-prose figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------------------
   5. BUTTONS, CHIPS, TAGS
   -------------------------------------------------------------------------- */
.pearl-btn {
  --btn-bg: var(--pearl-primary); --btn-fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  background: var(--btn-bg); color: var(--btn-fg); white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.pearl-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.pearl-btn:hover::before { transform: translateX(120%); }
.pearl-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.pearl-btn:active { transform: translateY(0) scale(.98); }
.pearl-btn__icon { transition: transform .35s var(--ease); }
.pearl-btn:hover .pearl-btn__icon { transform: translateX(4px); }
.pearl-btn--primary { --btn-bg: var(--pearl-primary); }
.pearl-btn--gold { --btn-bg: var(--pearl-gold); --btn-fg: var(--ink); }
.pearl-btn--gold:hover { box-shadow: 0 20px 44px -18px rgba(var(--pearl-gold-rgb), .9); }
.pearl-btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.pearl-btn--outline:hover { border-color: var(--pearl-primary); color: var(--pearl-primary); box-shadow: none; background: rgba(var(--pearl-primary-rgb), .05); }
.pearl-btn--ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.pearl-btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.pearl-btn--glass { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(12px); padding-left: 10px; }
.pearl-btn--glass:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }
.pearl-btn__play { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pearl-primary); }
.pearl-btn--sm { padding: 10px 18px; font-size: .86rem; }
.pearl-btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.pearl-btn--glass.pearl-btn--lg { padding: 9px 26px 9px 9px; }

.pearl-round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); color: var(--ink); background: var(--surface);
  transition: all .3s var(--ease);
}
.pearl-round-btn:hover { background: var(--pearl-primary); border-color: var(--pearl-primary); color: #fff; transform: scale(1.06); }

.pearl-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
}
.pearl-chip--gold { background: var(--pearl-gold); color: var(--ink); }
.pearl-chip--soft { background: rgba(var(--pearl-primary-rgb), .1); color: var(--pearl-primary); margin-bottom: 20px; }
.pearl-chip--glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); }
a.pearl-chip--glass:hover { background: rgba(255, 255, 255, .2); }
.pearl-chip--light { background: rgba(255, 255, 255, .92); color: var(--ink); }
.pearl-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pearl-img-box > .pearl-chip { position: absolute; top: 16px; left: 16px; z-index: 2; }

.pearl-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pearlPing 1.8s infinite; }

.pearl-tag {
  display: inline-flex; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
}
.pearl-tag--glass { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .14); }
.pearl-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.pearl-checklist { display: grid; gap: 10px; margin-top: 22px; }
.pearl-checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.pearl-checklist li .pearl-icon { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: rgba(var(--pearl-primary-rgb), .12); color: var(--pearl-primary); margin-top: -1px; }
.pearl-checklist--lg li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.pearl-checklist--grid { grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
@media (min-width: 640px) { .pearl-campus-feature .pearl-checklist { grid-template-columns: repeat(2, 1fr); } }

.pearl-admin-hint {
  margin: 18px 0; padding: 12px 16px; border-radius: 12px; font-size: .86rem;
  background: rgba(var(--pearl-gold-rgb), .14); color: var(--ink); border: 1px dashed rgba(var(--pearl-gold-rgb), .8);
}
.pearl-empty-state { text-align: center; padding: 56px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--line-strong); color: var(--muted); }
.pearl-empty-state .pearl-btn { margin-top: 18px; }

/* --------------------------------------------------------------------------
   6. IMAGES & PLACEHOLDERS
   -------------------------------------------------------------------------- */
.pearl-img-box { position: relative; overflow: hidden; background: var(--surface-2); }
.pearl-fill-img, .pearl-fill-video, .pearl-fill-iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.pearl-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--pearl-gold-rgb), .22), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(var(--pearl-primary-rgb), .35), transparent 50%),
    linear-gradient(135deg, var(--navy-2), var(--pearl-navy));
  color: rgba(255, 255, 255, .85);
}
.pearl-placeholder::before {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pearl-placeholder__icon {
  position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .12);
}
.pearl-placeholder__icon::after {
  content: ''; position: absolute; inset: 11px;
  background: rgba(255, 255, 255, .85);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3l4 8 5-5 5 15H2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3l4 8 5-5 5 15H2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pearl-placeholder::after {
  content: attr(data-ph); position: relative; font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 0 18px; opacity: .8;
}
.pearl-life-mosaic .pearl-placeholder::after, .pearl-facility-slide .pearl-placeholder::after, .pearl-gallery-grid .pearl-placeholder::after { display: none; }
.pearl-kenburns { animation: pearlKenburns 22s ease-in-out infinite alternate; }
.pearl-media-frame { border-radius: var(--radius-xl); aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   7. ANIMATION PRIMITIVES
   -------------------------------------------------------------------------- */
@keyframes pearlFadeUp { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pearlWordIn { from { opacity: 0; transform: translateY(70%) rotate(4deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pearlKenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
@keyframes pearlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pearlSpin { to { transform: rotate(360deg); } }
@keyframes pearlPing { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
@keyframes pearlAurora { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(8%, -6%) scale(1.15); } 66% { transform: translate(-6%, 6%) scale(.92); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes pearlMarquee { to { transform: translateX(-50%); } }
@keyframes pearlScrollDot { 0% { transform: translate(-50%, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes pearlShine { to { background-position: 200% center; } }
@keyframes pearlSlideDown { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes pearlIntroOut { to { opacity: 0; visibility: hidden; } }
@keyframes pearlBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pearlPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

.pearl-js .pearl-anim-in { opacity: 0; animation: pearlFadeUp 1s var(--ease-out) calc(var(--d, 0s) + var(--intro)) forwards; }
.pearl-js .pearl-split.is-split { opacity: 1; }
.pearl-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pearl-word > span { display: inline-block; }
.pearl-js .pearl-split.is-split .pearl-word > span { opacity: 0; animation: pearlWordIn 1s var(--ease-out) calc(var(--i) * 70ms + .15s + var(--intro)) forwards; }

.pearl-js .pearl-reveal { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.pearl-js .pearl-reveal--left { transform: translateX(-56px); }
.pearl-js .pearl-reveal--right { transform: translateX(56px); }
.pearl-js .pearl-reveal--zoom { transform: scale(.92); }
.pearl-js .pearl-reveal.is-visible { opacity: 1; transform: none; }

.pearl-float { animation: pearlFloat 6s ease-in-out var(--fd, 0s) infinite; }
.pearl-tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); }

/* Cursor spotlight on cards (JS sets --mx/--my) */
.pearl-spotlight { position: relative; isolation: isolate; }
.pearl-spotlight::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--pearl-primary-rgb), .14), transparent 45%);
}
.pearl-spotlight:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   8. INTRO SCREEN & SCROLL PROGRESS
   -------------------------------------------------------------------------- */
.pearl-intro-screen { display: none; }
.pearl-intro .pearl-intro-screen {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(800px 500px at 50% 40%, rgba(var(--pearl-primary-rgb), .45), transparent 70%), var(--pearl-navy);
  animation: pearlIntroOut .6s ease 2.8s forwards;
}
.pearl-intro-screen.is-out { animation: pearlIntroOut .6s ease forwards !important; }
.pearl-intro-screen__mark { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); animation: pearlPop .8s var(--ease-out) both; overflow: hidden; }
.pearl-intro-screen__mark img { width: 78%; height: 78%; object-fit: contain; }
.pearl-intro-screen__mark span { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--pearl-gold); }
.pearl-intro-screen__name { font-family: var(--font-display); color: #fff; font-weight: 600; letter-spacing: .02em; animation: pearlFadeUp .8s var(--ease-out) .2s both; text-align: center; padding: 0 20px; }
.pearl-intro-screen__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pearl-intro-screen__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); transform-origin: left; animation: pearlBar 1s var(--ease) .15s both; }

.pearl-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.pearl-scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pearl-gold), var(--primary-light), var(--pearl-primary)); }

/* --------------------------------------------------------------------------
   9. MASTHEAD: EVENT BAR, TOP BAR, HEADER
   -------------------------------------------------------------------------- */
.pearl-masthead { position: relative; z-index: 60; background: var(--pearl-navy); }
.pearl-has-hero .pearl-masthead { position: absolute; top: 0; left: 0; right: 0; background: transparent; }

.pearl-eventbar { background: linear-gradient(90deg, var(--pearl-gold), color-mix(in srgb, var(--pearl-gold) 70%, #fff)); color: var(--ink); font-size: .86rem; transition: opacity .3s, transform .3s; }
.pearl-eventbar.is-dismissed { opacity: 0; transform: translateY(-100%); }
.pearl-eventbar__inner { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.pearl-eventbar__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pearl-eventbar__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pearlPing 1.8s infinite; }
.pearl-eventbar__viewport { position: relative; flex: 1; height: 22px; overflow: hidden; }
.pearl-eventbar__item { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: all .5s var(--ease); }
.pearl-eventbar__item.is-active { opacity: 1; transform: none; }
.pearl-eventbar__item:hover strong { text-decoration: underline; }
.pearl-eventbar__close { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.pearl-eventbar__close:hover { background: rgba(0, 0, 0, .08); }

.pearl-topbar { color: rgba(255, 255, 255, .72); font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pearl-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.pearl-topbar__info, .pearl-topbar__right { display: flex; align-items: center; gap: 22px; }
.pearl-topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; white-space: nowrap; }
.pearl-topbar__item .pearl-icon { color: var(--pearl-gold); }
a.pearl-topbar__item:hover { color: #fff; }
.pearl-topbar__badge { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: 999px; background: rgba(var(--pearl-primary-rgb), .35); color: #fff; font-weight: 600; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .12); }
.pearl-topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; animation: pearlPing 1.8s infinite; }
.pearl-topbar__social { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: all .25s; }
.pearl-topbar__social:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.pearl-header { position: relative; z-index: 70; transition: background-color .4s, box-shadow .4s, padding .4s; }
.pearl-header__inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .4s var(--ease); }
.pearl-header.is-scrolled {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(var(--pearl-navy-rgb), .82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .35); border-bottom: 1px solid rgba(255, 255, 255, .06);
  animation: pearlSlideDown .5s var(--ease-out);
}
.pearl-header.is-scrolled .pearl-header__inner { height: 70px; }
.pearl-header.is-hidden { transform: translateY(-100%); transition: transform .4s var(--ease); }

.pearl-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; color: #fff; }
.pearl-logo__mark {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
  background: #fff; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4); transition: transform .5s var(--ease);
}
.pearl-logo:hover .pearl-logo__mark { transform: rotate(-6deg) scale(1.05); }
.pearl-logo__img { width: 86%; height: 86%; object-fit: contain; }
.pearl-logo__initial { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; background: linear-gradient(135deg, var(--pearl-primary), var(--pearl-navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pearl-logo__text { display: flex; flex-direction: column; min-width: 0; }
.pearl-logo__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pearl-logo__name--long { font-size: .95rem; }
.pearl-logo__sub { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--pearl-gold); margin-top: 3px; }

.pearl-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.pearl-nav__item {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 999px;
  font-family: var(--font-display); font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .82); transition: color .25s, background-color .25s;
}
.pearl-nav__item::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--pearl-gold); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease); }
.pearl-nav__item:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pearl-nav__item.is-active { color: #fff; }
.pearl-nav__item.is-active::after { transform: translateX(-50%) scale(1); }
.pearl-nav__caret { transition: transform .3s var(--ease); opacity: .7; }
.pearl-nav__group { position: relative; }
.pearl-nav__group:hover .pearl-nav__caret, .pearl-nav__group.is-open .pearl-nav__caret { transform: rotate(180deg); }
.pearl-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden; transition: all .35s var(--ease); z-index: 80;
}
.pearl-mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.pearl-nav__group:hover .pearl-mega, .pearl-nav__group:focus-within .pearl-mega, .pearl-nav__group.is-open .pearl-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pearl-mega__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.pearl-mega__item { display: flex; gap: 14px; padding: 14px; border-radius: 16px; transition: background-color .25s; }
.pearl-mega__item:hover, .pearl-mega__item.is-active { background: var(--surface-2); }
.pearl-mega__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(var(--pearl-primary-rgb), .1); color: var(--pearl-primary); transition: all .3s var(--ease); }
.pearl-mega__item:hover .pearl-mega__icon { background: var(--pearl-primary); color: #fff; transform: rotate(-8deg); }
.pearl-mega__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.pearl-mega__desc { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.pearl-mega__promo {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; border-radius: 16px; color: #fff; min-height: 120px;
  background: radial-gradient(circle at 90% 10%, rgba(var(--pearl-gold-rgb), .55), transparent 55%), linear-gradient(135deg, var(--pearl-primary), var(--pearl-navy));
}
.pearl-mega__promo-eyebrow { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pearl-gold); font-weight: 700; }
.pearl-mega__promo-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.pearl-mega__promo-cta { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; opacity: .9; }
.pearl-mega__promo:hover .pearl-icon { transform: translateX(4px); transition: transform .3s; }

.pearl-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pearl-hamburger { display: none; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); position: relative; margin-left: auto; z-index: 120; }
.pearl-hamburger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.pearl-hamburger span:nth-child(1) { top: 16px; } .pearl-hamburger span:nth-child(2) { top: 23px; } .pearl-hamburger span:nth-child(3) { top: 30px; }
.pearl-hamburger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.pearl-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pearl-hamburger.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.pearl-mobile-menu { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; }
.pearl-mobile-menu::before { content: ''; position: absolute; inset: 0; background: rgba(5, 12, 22, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.pearl-mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); overflow-y: auto; padding: 96px 28px 32px;
  background: radial-gradient(600px 400px at 100% 0, rgba(var(--pearl-primary-rgb), .45), transparent 60%), var(--pearl-navy);
  transform: translateX(100%); transition: transform .55s var(--ease-out); display: flex; flex-direction: column; gap: 24px;
}
.pearl-mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.pearl-mobile-menu.is-open::before { opacity: 1; }
.pearl-mobile-menu.is-open .pearl-mobile-menu__panel { transform: none; }
.pearl-mobile-menu__close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); transition: transform .4s var(--ease); }
.pearl-mobile-menu__close:hover { transform: rotate(90deg); }
.pearl-mobile-menu__nav { display: flex; flex-direction: column; }
.pearl-mobile-menu__link, .pearl-mobile-menu__group {
  opacity: 0; transform: translateX(30px); transition: all .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + .15s);
}
.pearl-mobile-menu.is-open .pearl-mobile-menu__link, .pearl-mobile-menu.is-open .pearl-mobile-menu__group { opacity: 1; transform: none; }
.pearl-mobile-menu__link { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pearl-mobile-menu__link:hover { color: var(--pearl-gold); }
.pearl-mobile-menu__group { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pearl-mobile-menu__grouplabel { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.pearl-mobile-menu__sublink { display: flex; align-items: center; gap: 10px; padding: 7px 0 7px 4px; color: rgba(255, 255, 255, .72); font-weight: 500; }
.pearl-mobile-menu__sublink .pearl-icon { color: var(--pearl-gold); }
.pearl-mobile-menu__sublink:hover { color: #fff; }
.pearl-mobile-menu__actions { display: grid; gap: 10px; }
.pearl-mobile-menu__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--pearl-gold); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. HOMEPAGE HERO
   -------------------------------------------------------------------------- */
.pearl-hero {
  position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: var(--pearl-navy); color: #fff;
  padding: calc(var(--masthead-h) + 40px) 0 200px;
}
.pearl-hero__media { position: absolute; inset: 0; z-index: -3; }
.pearl-hero__slide { position: absolute; inset: -2%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.pearl-hero__slide.is-active { opacity: 1; animation: pearlKenburns 16s ease-out both; }
.pearl-hero__slide--fallback {
  background:
    radial-gradient(900px 600px at 75% 30%, rgba(var(--pearl-primary-rgb), .55), transparent 65%),
    radial-gradient(600px 400px at 15% 80%, rgba(var(--pearl-gold-rgb), .18), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--pearl-navy));
}
.pearl-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(var(--pearl-navy-rgb), .95) 0%, rgba(var(--pearl-navy-rgb), .78) 45%, rgba(var(--pearl-navy-rgb), .35) 100%),
              linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .9) 0%, transparent 35%);
}
.pearl-hero__aurora, .pearl-page-hero__aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.pearl-hero__aurora span, .pearl-page-hero__aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: pearlAurora 18s ease-in-out infinite; }
.pearl-hero__aurora span:nth-child(1), .pearl-page-hero__aurora span:nth-child(1) { width: 520px; height: 520px; background: var(--pearl-primary); top: -12%; right: 8%; }
.pearl-hero__aurora span:nth-child(2), .pearl-page-hero__aurora span:nth-child(2) { width: 420px; height: 420px; background: rgba(var(--pearl-gold-rgb), .55); bottom: 5%; left: -6%; animation-delay: -6s; animation-duration: 22s; }
.pearl-hero__aurora span:nth-child(3), .pearl-page-hero__aurora span:nth-child(3) { width: 360px; height: 360px; background: #2563EB; top: 35%; left: 40%; opacity: .25; animation-delay: -11s; animation-duration: 26s; }
.pearl-hero__grid-lines, .pearl-page-hero__grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.pearl-hero__particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.pearl-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.pearl-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.pearl-hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pearl-gold); box-shadow: 0 0 0 4px rgba(var(--pearl-gold-rgb), .25); }
.pearl-hero__headline { color: #fff; font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; max-width: 12ch; }
.pearl-hero__headline em { display: inline; font-size: 1.08em; line-height: .9; }
.pearl-hero__rotator { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: rgba(255, 255, 255, .7); }
.pearl-hero__rotator-words { position: relative; display: inline-grid; color: var(--pearl-gold); font-weight: 700; }
.pearl-hero__rotator-words > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); filter: blur(6px); transition: all .6s var(--ease-out); white-space: nowrap; }
.pearl-hero__rotator-words > span.is-active { opacity: 1; transform: none; filter: none; }
.pearl-hero__rotator-words > span.is-leaving { opacity: 0; transform: translateY(-60%); }
.pearl-hero__rotator-words::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, var(--pearl-gold), transparent); }
.pearl-hero__subtext { margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.75; color: rgba(255, 255, 255, .78); max-width: 600px; }
.pearl-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pearl-hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pearl-hero__trust-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .75); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pearl-hero__trust-pill .pearl-icon { color: #34D399; }

.pearl-hero__aside { position: relative; height: 480px; }
.pearl-hero__seal { position: absolute; top: 10px; right: 6%; width: 230px; height: 230px; }
.pearl-hero__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: pearlSpin 28s linear infinite; }
.pearl-hero__seal-ring text { fill: rgba(255, 255, 255, .75); font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: 3.2px; }
.pearl-hero__seal-core {
  position: absolute; inset: 34px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(145deg, var(--pearl-gold), var(--pearl-gold-muted));
  color: var(--ink); box-shadow: 0 25px 60px -20px rgba(var(--pearl-gold-rgb), .7), inset 0 0 0 6px rgba(255, 255, 255, .2);
}
.pearl-hero__seal-year { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pearl-hero__seal-sub { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.pearl-hero__card {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px; border-radius: 22px; min-width: 240px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .5);
}
.pearl-hero__card--badge { left: 0; top: 56%; }
.pearl-hero__card--app { right: 0; bottom: 0; }
.pearl-hero__card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--pearl-gold); color: var(--ink); flex-shrink: 0; }
.pearl-hero__card-icon--green { background: var(--pearl-primary); color: #fff; }
.pearl-hero__card-num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: #fff; }
.pearl-hero__card-title { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; }
.pearl-hero__card-label { display: block; font-size: .8rem; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.pearl-hero__dots { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.pearl-hero__dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .35); transition: all .4s var(--ease); }
.pearl-hero__dots button.is-active { width: 34px; background: var(--pearl-gold); }
.pearl-hero__scroll { position: absolute; right: var(--gutter); bottom: 150px; width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .4); z-index: 3; }
.pearl-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: pearlScrollDot 1.8s infinite; }

.pearl-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 170px; pointer-events: none; z-index: 1; }
.pearl-mountains__l1 { fill: rgba(255, 255, 255, .05); }
.pearl-mountains__l2 { fill: rgba(255, 255, 255, .08); }
.pearl-mountains__l3 { fill: var(--pearl-bg); }
.pearl-hero__mountains { height: clamp(110px, 14vw, 200px); }

/* Metrics strip overlapping the hero */
.pearl-metrics-wrap { position: relative; z-index: 5; margin-top: -90px; }
.pearl-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pearl-metrics__item {
  position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8); transition: transform .5s var(--ease), box-shadow .5s;
}
.pearl-metrics__item::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); transform: scaleX(.2); transform-origin: left; transition: transform 1.2s var(--ease-out) .3s; }
.pearl-metrics__item.is-visible::before, .pearl-no-motion .pearl-metrics__item::before { transform: scaleX(1); }
.pearl-metrics__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pearl-metrics__num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.pearl-metrics__label { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.pearl-metrics--band .pearl-metrics__item, .pearl-metrics--inline .pearl-metrics__item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: blur(10px); }
.pearl-metrics--band .pearl-metrics__num { color: #fff; }
.pearl-metrics--band .pearl-metrics__label { color: rgba(255, 255, 255, .65); }
.pearl-metrics--inline { margin-bottom: 64px; }
.pearl-metrics--inline .pearl-metrics__item { background: var(--surface); border-color: var(--line); }
.pearl-stats-band { padding: 64px 0; background: linear-gradient(120deg, var(--pearl-navy), var(--navy-2)); position: relative; overflow: hidden; }
.pearl-stats-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0, rgba(var(--pearl-primary-rgb), .45), transparent 70%); }

/* --------------------------------------------------------------------------
   11. MARQUEE
   -------------------------------------------------------------------------- */
.pearl-marquee { position: relative; margin: 72px 0 0; padding: 18px 0; overflow: hidden; background: var(--pearl-primary); color: #fff; transform: rotate(-1.4deg) scale(1.02); box-shadow: var(--shadow-glow); }
.pearl-marquee::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pearl-primary) 0%, transparent 10%, transparent 90%, var(--pearl-primary) 100%); z-index: 1; pointer-events: none; }
.pearl-marquee__track { display: flex; width: max-content; animation: pearlMarquee 38s linear infinite; }
.pearl-marquee:hover .pearl-marquee__track { animation-play-state: paused; }
.pearl-marquee__group { display: flex; flex-shrink: 0; }
.pearl-marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.pearl-marquee__item .pearl-icon { color: var(--pearl-gold); fill: var(--pearl-gold); }

/* --------------------------------------------------------------------------
   12. SECTION HEAD
   -------------------------------------------------------------------------- */
.pearl-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.pearl-section-head__text { max-width: 760px; }
.pearl-section-head__lead { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.pearl-section-head--center { justify-content: center; text-align: center; }
.pearl-section-head--center .pearl-section-head__text { margin: 0 auto; }
.pearl-section-head--center .pearl-section-head__lead { margin-left: auto; margin-right: auto; }
.pearl-section-head.is-light .pearl-section-head__lead { color: rgba(255, 255, 255, .7); }
.pearl-section-head__action { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   13. WHY — BENTO
   -------------------------------------------------------------------------- */
.pearl-why { overflow: hidden; }
.pearl-why__bg-word {
  position: absolute; top: 10px; right: -2vw; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 16vw, 15rem);
  line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--pearl-primary-rgb), .07); white-space: nowrap; pointer-events: none; user-select: none;
}
.pearl-bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.pearl-bento__media { grid-row: span 3; border-radius: var(--radius-xl); min-height: 520px; box-shadow: var(--shadow-lg); }
.pearl-bento__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .8), transparent 50%); pointer-events: none; }
.pearl-bento__years { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: #fff; display: flex; align-items: flex-end; gap: 14px; }
.pearl-bento__years-num { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .85; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, var(--pearl-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pearl-bento__years-label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; max-width: 160px; line-height: 1.3; padding-bottom: 6px; }
.pearl-feature-card {
  padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.pearl-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--pearl-primary-rgb), .3); }
.pearl-feature-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pearl-feature-card__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--pearl-primary), var(--navy-2)); box-shadow: var(--shadow-glow); transition: transform .6s var(--ease);
}
.pearl-feature-card:hover .pearl-feature-card__icon { transform: rotate(-10deg) scale(1.08); }
.pearl-feature-card__num { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--muted-2); }
.pearl-feature-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.pearl-feature-card__desc { font-size: .93rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   14. PRINCIPAL
   -------------------------------------------------------------------------- */
.pearl-principal { padding-top: 0; }
.pearl-principal__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.pearl-principal__visual { position: relative; padding: 0 24px 24px 0; }
.pearl-principal__frame { aspect-ratio: 4 / 5; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); z-index: 1; }
.pearl-principal__deco { position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--pearl-gold), var(--pearl-primary)); z-index: -1; opacity: .9; }
.pearl-principal__visual::before { content: ''; position: absolute; top: -20px; left: -20px; width: 120px; height: 120px; background-image: radial-gradient(rgba(var(--pearl-primary-rgb), .35) 2px, transparent 2px); background-size: 16px 16px; z-index: 0; }
.pearl-principal__quote-mark { display: block; color: rgba(var(--pearl-gold-rgb), .9); margin-bottom: 8px; }
.pearl-principal__message p { color: var(--body); font-size: 1.05rem; }
.pearl-principal__message p + p { margin-top: 14px; }
.pearl-principal__message p.is-lead { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.3; color: var(--ink); font-style: italic; }
.pearl-principal__sign { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pearl-principal__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.pearl-principal__title { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   15. ACADEMIC JOURNEY (dark)
   -------------------------------------------------------------------------- */
.pearl-academic__glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--pearl-primary-rgb), .35), transparent 65%); left: -200px; top: 30%; pointer-events: none; }
.pearl-academic__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; position: relative; }
.pearl-academic__stages { position: relative; display: flex; flex-direction: column; gap: 8px; padding-left: 22px; }
.pearl-academic__rail { position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; }
.pearl-academic__rail span { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--pearl-gold), var(--primary-light)); border-radius: 2px; transition: height .7s var(--ease-out); }
.pearl-academic__stage-btn {
  position: relative; display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; padding: 18px 20px; border-radius: 20px;
  border: 1px solid transparent; transition: all .45s var(--ease); color: rgba(255, 255, 255, .7);
}
.pearl-academic__stage-btn::before { content: ''; position: absolute; left: -27px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--pearl-navy); border: 2px solid rgba(255, 255, 255, .25); transform: translateY(-50%); transition: all .4s var(--ease); }
.pearl-academic__stage-btn:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.pearl-academic__stage-btn.is-active { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #fff; }
.pearl-academic__stage-btn.is-active::before { background: var(--pearl-gold); border-color: var(--pearl-gold); box-shadow: 0 0 0 6px rgba(var(--pearl-gold-rgb), .2); }
.pearl-academic__stage-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: rgba(255, 255, 255, .25); min-width: 38px; transition: color .4s; }
.pearl-academic__stage-btn.is-active .pearl-academic__stage-num { color: var(--pearl-gold); }
.pearl-academic__stage-info { flex: 1; min-width: 0; }
.pearl-academic__stage-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.pearl-academic__stage-meta { display: block; font-size: .82rem; opacity: .65; margin-top: 2px; }
.pearl-academic__stage-arrow { opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); color: var(--pearl-gold); }
.pearl-academic__stage-btn.is-active .pearl-academic__stage-arrow { opacity: 1; transform: none; }
.pearl-academic__panels { position: relative; }
.pearl-academic__panel {
  border-radius: var(--radius-xl); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.pearl-academic__panel.is-active { animation: pearlFadeUp .7s var(--ease-out); }
.pearl-academic__panel-img { height: 240px; }
.pearl-academic__panel-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .85), transparent 60%); }
.pearl-academic__panel-body { padding: clamp(26px, 3vw, 40px); }
.pearl-academic__panel-tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(var(--pearl-gold-rgb), .15); color: var(--pearl-gold); font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
.pearl-academic__panel-name { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.pearl-academic__panel-age { color: rgba(255, 255, 255, .6); margin-top: 4px; font-size: .92rem; }
.pearl-academic__panel-approach { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 1.02rem; }
.pearl-academic__panel-subjects-label { margin-top: 24px; margin-bottom: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.pearl-academic__panel-subjects { display: flex; flex-wrap: wrap; gap: 8px; }
.pearl-academic__panel.is-active .pearl-tag--glass { animation: pearlPop .5s var(--ease-out) both; animation-delay: calc(var(--k) * 50ms + .2s); }
.pearl-academic__panel-outcome { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px; border-radius: 18px; background: linear-gradient(120deg, rgba(var(--pearl-primary-rgb), .35), rgba(var(--pearl-primary-rgb), .08)); border: 1px solid rgba(var(--pearl-primary-rgb), .45); }
.pearl-academic__panel-outcome-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pearl-gold); color: var(--ink); flex-shrink: 0; }
.pearl-academic__panel-outcome-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pearl-gold); }
.pearl-academic__panel-outcome-text { color: #fff; font-weight: 500; margin-top: 2px; }

/* --------------------------------------------------------------------------
   16. CAMPUS
   -------------------------------------------------------------------------- */
.pearl-campus-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pearl-campus-feature__img { border-radius: var(--radius-xl); min-height: 540px; box-shadow: var(--shadow-lg); }
.pearl-campus-feature__loc { display: inline-flex; align-items: center; gap: 8px; color: var(--pearl-primary); font-weight: 600; margin-top: 12px; }
.pearl-campus-feature__desc { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.pearl-campus-feature__stats { display: flex; gap: 36px; margin-top: 28px; }
.pearl-campus-feature__stats div { display: flex; flex-direction: column; }
.pearl-campus-feature__stats strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pearl-campus-feature__stats span { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.pearl-campus-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .5s, transform .5s var(--ease); }
.pearl-campus-card:hover { box-shadow: var(--shadow-lg); }
.pearl-campus-card__link { display: flex; flex-direction: column; height: 100%; }
.pearl-campus-card__img-wrap { aspect-ratio: 16 / 11; }
.pearl-campus-card__img-wrap .pearl-fill-img { transition: transform 1.2s var(--ease); }
.pearl-campus-card:hover .pearl-fill-img { transform: scale(1.08); }
.pearl-campus-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pearl-campus-card__city { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pearl-primary); }
.pearl-campus-card__name { font-size: 1.35rem; margin-top: 8px; }
.pearl-campus-card__desc { color: var(--muted); font-size: .93rem; margin-top: 8px; flex: 1; }
.pearl-campus-card__stats { display: flex; align-items: center; gap: 26px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pearl-campus-card__stat { display: flex; flex-direction: column; }
.pearl-campus-card__stat strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.pearl-campus-card__stat span { font-size: .78rem; color: var(--muted); }
.pearl-campus-card__arrow { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: all .4s var(--ease); }
.pearl-campus-card:hover .pearl-campus-card__arrow { background: var(--pearl-primary); color: #fff; transform: rotate(45deg); }
.pearl-filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pearl-filter-btn { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .9rem; transition: all .3s; }
.pearl-filter-btn:hover { border-color: var(--pearl-primary); color: var(--pearl-primary); }
.pearl-filter-btn.is-active { background: var(--pearl-primary); border-color: var(--pearl-primary); color: #fff; }

/* --------------------------------------------------------------------------
   17. FACILITIES — HORIZONTAL SCROLLER
   -------------------------------------------------------------------------- */
.pearl-hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 30px; cursor: grab; }
.pearl-hscroll::-webkit-scrollbar { display: none; }
.pearl-hscroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pearl-hscroll__track { display: flex; gap: 22px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.pearl-facility-slide {
  position: relative; width: clamp(280px, 30vw, 380px); height: clamp(380px, 42vw, 480px); border-radius: var(--radius-xl); overflow: hidden;
  scroll-snap-align: start; scroll-margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); isolation: isolate; box-shadow: var(--shadow);
}
.pearl-facility-slide__img { position: absolute; inset: 0; z-index: -2; }
.pearl-facility-slide__img .pearl-fill-img { transition: transform 1.4s var(--ease); }
.pearl-facility-slide:hover .pearl-fill-img { transform: scale(1.1); }
.pearl-facility-slide__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .95) 0%, rgba(var(--pearl-navy-rgb), .4) 45%, transparent 70%); transition: background .5s; }
.pearl-facility-slide:hover .pearl-facility-slide__shade { background: linear-gradient(0deg, rgba(var(--pearl-primary-rgb), .95) 0%, rgba(var(--pearl-navy-rgb), .5) 60%, transparent 85%); }
.pearl-facility-slide__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.pearl-facility-slide__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); margin-bottom: 14px; color: var(--pearl-gold); }
.pearl-facility-slide__name { color: #fff; font-size: 1.35rem; }
.pearl-facility-slide__desc { font-size: .92rem; color: rgba(255, 255, 255, .82); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: all .6s var(--ease); }
.pearl-facility-slide:hover .pearl-facility-slide__desc, .pearl-facility-slide:focus-within .pearl-facility-slide__desc { max-height: 120px; opacity: 1; }
.pearl-facility-slide__index { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: rgba(255, 255, 255, .7); }
.pearl-hscroll__controls { display: flex; align-items: center; gap: 12px; }
.pearl-hscroll__progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-left: 12px; }
.pearl-hscroll__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); transform-origin: left; transform: scaleX(.15); transition: transform .2s; }

/* Facilities page grid */
.pearl-facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pearl-facility-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .5s; }
.pearl-facility-card:hover { box-shadow: var(--shadow-lg); }
.pearl-facility-card__img { aspect-ratio: 4 / 3; }
.pearl-facility-card__img .pearl-fill-img { transition: transform 1.2s var(--ease); }
.pearl-facility-card:hover .pearl-fill-img { transform: scale(1.08); }
.pearl-facility-card__body { position: relative; padding: 34px 26px 28px; }
.pearl-facility-card__icon { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pearl-primary), var(--navy-2)); box-shadow: var(--shadow-glow); }
.pearl-facility-card__title { font-size: 1.2rem; }
.pearl-facility-card__desc { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* --------------------------------------------------------------------------
   18. RESULTS (dark)
   -------------------------------------------------------------------------- */
.pearl-results__orbs span { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.pearl-results__orbs span:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -120px; border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 0 120px rgba(var(--pearl-primary-rgb), .25); animation: pearlFloat 9s ease-in-out infinite; }
.pearl-results__orbs span:nth-child(2) { width: 260px; height: 260px; left: -80px; bottom: -60px; border: 1px solid rgba(var(--pearl-gold-rgb), .2); animation: pearlFloat 11s ease-in-out -3s infinite; }
.pearl-results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.pearl-result-card {
  position: relative; padding: 34px 26px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px); transition: transform .5s var(--ease), border-color .4s;
}
.pearl-result-card:hover { transform: translateY(-8px); border-color: rgba(var(--pearl-gold-rgb), .5); }
.pearl-result-card__ring { width: 120px; height: 120px; margin: 0 auto -98px; transform: rotate(-90deg); }
.pearl-result-card__ring circle { fill: none; stroke-width: 6; }
.pearl-result-card__ring-bg { stroke: rgba(255, 255, 255, .1); }
.pearl-result-card__ring-fg { stroke: var(--pearl-gold); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.pearl-result-card.is-visible .pearl-result-card__ring-fg, .pearl-no-motion .pearl-result-card__ring-fg { stroke-dashoffset: calc(327 - 327 * var(--pct) / 100); }
.pearl-result-card__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px; display: grid; place-items: center; background: rgba(var(--pearl-gold-rgb), .15); color: var(--pearl-gold); }
.pearl-result-card__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; letter-spacing: -.04em; height: 76px; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.pearl-result-card__ring + .pearl-result-card__num { font-size: 1.9rem; }
.pearl-result-card__label { margin-top: 30px; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; }
.pearl-result-card__icon + .pearl-result-card__num { height: auto; margin-bottom: 0; }
.pearl-result-card__icon ~ .pearl-result-card__label { margin-top: 12px; }
.pearl-result-card__desc { margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: .86rem; }

/* --------------------------------------------------------------------------
   19. STUDENT LIFE MOSAIC
   -------------------------------------------------------------------------- */
.pearl-life-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.pearl-life-mosaic__item { border-radius: var(--radius-lg); }
.pearl-life-mosaic__item--0 { grid-column: span 2; grid-row: span 2; }
.pearl-life-mosaic__item .pearl-fill-img { transition: transform 1.2s var(--ease); }
.pearl-life-mosaic__item:hover .pearl-fill-img { transform: scale(1.08); }
.pearl-life-mosaic__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 20px; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .9), transparent); color: #fff; font-family: var(--font-display); font-weight: 600; }
.pearl-life-mosaic__caption span { display: inline-block; transition: transform .5s var(--ease); }
.pearl-life-mosaic__item:hover .pearl-life-mosaic__caption span { transform: translateX(6px); }
.pearl-life-mosaic__item--0 .pearl-life-mosaic__caption { font-size: 1.4rem; padding: 80px 30px 28px; }

/* --------------------------------------------------------------------------
   20. PARENT APP
   -------------------------------------------------------------------------- */
.pearl-ims { overflow: hidden; background: linear-gradient(180deg, var(--pearl-bg), var(--surface-2)); }
.pearl-ims__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.pearl-ims__lead { margin-top: 16px; color: var(--muted); font-size: 1.06rem; max-width: 560px; }
.pearl-ims__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.pearl-ims__feature { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.pearl-ims__feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pearl-ims__feature-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--pearl-primary-rgb), .1); color: var(--pearl-primary); flex-shrink: 0; }
.pearl-ims__feature-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.pearl-ims__feature-desc { font-size: .84rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.pearl-ims__visual { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.pearl-ims__halo { position: absolute; width: 440px; height: 440px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--pearl-primary-rgb), .35), rgba(var(--pearl-gold-rgb), .35), rgba(var(--pearl-primary-rgb), .35)); filter: blur(60px); animation: pearlSpin 16s linear infinite; }
.pearl-phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: #0D1522; box-shadow: 0 50px 100px -30px rgba(11, 22, 38, .6), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.pearl-phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; border-radius: 20px; background: #0D1522; transform: translateX(-50%); z-index: 3; }
.pearl-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, var(--pearl-navy), var(--navy-2)); }
.pearl-phone__ui { padding: 54px 18px 18px; color: #fff; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.pearl-phone__ui-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.pearl-phone__ui-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--pearl-gold), var(--pearl-primary)); }
.pearl-phone__ui-hello { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.pearl-phone__ui-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pearl-phone__ui-card { padding: 14px; border-radius: 16px; display: flex; flex-direction: column; }
.pearl-phone__ui-card b { font-family: var(--font-display); font-size: 1.4rem; }
.pearl-phone__ui-card span { font-size: .7rem; opacity: .8; }
.pearl-phone__ui-card.is-green { background: var(--pearl-primary); }
.pearl-phone__ui-card.is-gold { background: var(--pearl-gold); color: var(--ink); }
.pearl-phone__ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.pearl-phone__ui-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--primary-light), var(--pearl-primary)); height: var(--h); transform-origin: bottom; animation: pearlBarY 1.4s var(--ease-out) both; }
.pearl-phone__ui-bars span:nth-child(2) { animation-delay: .1s; } .pearl-phone__ui-bars span:nth-child(3) { animation-delay: .2s; } .pearl-phone__ui-bars span:nth-child(4) { animation-delay: .3s; } .pearl-phone__ui-bars span:nth-child(5) { animation-delay: .4s; } .pearl-phone__ui-bars span:nth-child(6) { animation-delay: .5s; }
@keyframes pearlBarY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pearl-phone__ui-row { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.pearl-phone__ui-row span:first-child { width: 28px; height: 28px; border-radius: 9px; background: rgba(var(--pearl-gold-rgb), .5); }
.pearl-phone__ui-row span:last-child { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.pearl-ims__float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: .86rem; color: var(--ink); z-index: 2; }
.pearl-ims__float .pearl-icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(var(--pearl-primary-rgb), .12); color: var(--pearl-primary); }
.pearl-ims__float--1 { top: 14%; left: 0; }
.pearl-ims__float--2 { bottom: 18%; right: -4%; }
.pearl-ims__float--2 .pearl-icon { background: rgba(var(--pearl-gold-rgb), .2); color: var(--pearl-gold-muted); }
.pearl-ims__float--3 { bottom: 4%; left: 6%; }
.pearl-playstore-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: #0B1220; color: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.pearl-playstore-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pearl-playstore-badge__hint { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.pearl-playstore-badge__store { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }

/* --------------------------------------------------------------------------
   21. TESTIMONIALS
   -------------------------------------------------------------------------- */
.pearl-tab-switcher { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.pearl-tab-btn { padding: 10px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .35s var(--ease); }
.pearl-tab-btn:hover { color: var(--ink); }
.pearl-tab-btn.is-active { background: var(--pearl-primary); color: #fff; box-shadow: var(--shadow-glow); }
.pearl-testimonials__content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.pearl-testimonials__content--full { grid-template-columns: 1fr; }
.pearl-testimonials__video { border-radius: var(--radius-xl); min-height: 420px; box-shadow: var(--shadow-lg); }
.pearl-testimonials__video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .75), transparent 55%); pointer-events: none; }
.pearl-testimonials__video.is-playing::after { display: none; }
.pearl-testimonials__video iframe, .pearl-testimonials__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pearl-testimonials__play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl-gold); color: var(--ink); transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(var(--pearl-gold-rgb), .6); animation: pearlPulseGold 2.2s infinite; transition: transform .3s var(--ease); }
.pearl-testimonials__play:hover { transform: translate(-50%, -50%) scale(1.1); }
.pearl-testimonials__play .pearl-icon { margin-left: 4px; }
@keyframes pearlPulseGold { 0% { box-shadow: 0 0 0 0 rgba(var(--pearl-gold-rgb), .55); } 80%, 100% { box-shadow: 0 0 0 26px rgba(var(--pearl-gold-rgb), 0); } }
.pearl-testimonials__video-label { position: absolute; left: 26px; bottom: 22px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 600; }
.pearl-testimonials__panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pearl-testimonials__content--full .pearl-testimonials__panel { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pearl-testimonials__panel.is-active { animation: pearlFadeUp .6s var(--ease-out); }
.pearl-testimonial-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.pearl-testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pearl-testimonial-card__stars { display: flex; gap: 3px; color: var(--pearl-gold); margin-bottom: 16px; }
.pearl-testimonial-card__stars .pearl-icon { fill: currentColor; }
.pearl-testimonial-card__quote { flex: 1; font-size: 1.02rem; color: var(--ink); line-height: 1.7; }
.pearl-testimonial-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.pearl-testimonial-card__avatar, .pearl-testimonial-card__initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pearl-testimonial-card__initial { display: grid; place-items: center; background: linear-gradient(135deg, var(--pearl-primary), var(--pearl-navy)); color: #fff; font-family: var(--font-display); font-weight: 700; }
.pearl-testimonial-card__name { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.pearl-testimonial-card__role { display: block; font-size: .84rem; color: var(--muted); }
.pearl-testimonial-card__mark { position: absolute; top: 18px; right: 20px; color: rgba(var(--pearl-primary-rgb), .08); }

/* --------------------------------------------------------------------------
   22. EVENTS & NEWS
   -------------------------------------------------------------------------- */
.pearl-events { padding-top: clamp(40px, 5vw, 72px); }
.pearl-events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pearl-event-card { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: all .45s var(--ease); }
.pearl-event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(var(--pearl-primary-rgb), .3); }
.pearl-event-card__date { width: 72px; height: 80px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(160deg, var(--pearl-primary), var(--pearl-navy)); color: #fff; }
.pearl-event-card__day { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.pearl-event-card__month { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pearl-gold); margin-top: 4px; }
.pearl-event-card__when { font-size: .78rem; font-weight: 600; color: var(--pearl-primary); }
.pearl-event-card__title { font-size: 1.08rem; margin-top: 4px; line-height: 1.3; }
.pearl-event-card__location { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin-top: 8px; }

.pearl-news-preview { padding-top: clamp(56px, 7vw, 100px); }
.pearl-news-preview__grid--single { grid-template-columns: minmax(0, 1fr); }
.pearl-news-preview__grid--single .pearl-news-card--featured { flex-direction: row; }
.pearl-news-preview__grid--single .pearl-news-card--featured .pearl-news-card__img-wrap { width: 55%; flex-shrink: 0; aspect-ratio: auto; min-height: 360px; }
.pearl-news-preview__grid--single .pearl-news-card--featured .pearl-news-card__body { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.pearl-news-preview__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.pearl-news-preview__list { display: flex; flex-direction: column; gap: 16px; }
.pearl-news-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pearl-news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pearl-news-card__img-wrap { aspect-ratio: 16 / 10; }
.pearl-news-card .pearl-fill-img { transition: transform 1.2s var(--ease); }
.pearl-news-card:hover .pearl-fill-img { transform: scale(1.07); }
.pearl-news-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pearl-news-card__meta { font-size: .78rem; font-weight: 600; color: var(--pearl-primary); letter-spacing: .02em; }
.pearl-news-card__title { font-size: 1.12rem; margin-top: 8px; line-height: 1.3; transition: color .3s; }
.pearl-news-card:hover .pearl-news-card__title { color: var(--pearl-primary); }
.pearl-news-card__title--lg { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.pearl-news-card__excerpt { color: var(--muted); font-size: .93rem; margin-top: 10px; flex: 1; }
.pearl-news-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.pearl-news-card:hover .pearl-news-card__more .pearl-icon { transform: translateX(4px); transition: transform .3s; }
.pearl-news-card--small { flex-direction: row; align-items: stretch; }
.pearl-news-card--small .pearl-news-card__thumb { width: 38%; flex-shrink: 0; min-height: 140px; }
.pearl-news-card--small .pearl-news-card__body { padding: 18px 20px; justify-content: center; }
.pearl-news-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pearl-pagination { margin-top: 48px; display: flex; justify-content: center; }
.pearl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pearl-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-strong); font-weight: 600; transition: all .3s; }
.pearl-pagination .page-numbers.current, .pearl-pagination .page-numbers:hover { background: var(--pearl-primary); border-color: var(--pearl-primary); color: #fff; }
.pearl-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pearl-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.pearl-post-meta .pearl-icon { color: var(--pearl-gold); }
.pearl-article__cover { aspect-ratio: 16 / 9; border-radius: var(--radius-xl); margin: -150px 0 48px; box-shadow: var(--shadow-lg); z-index: 3; }
.pearl-article__footer { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   23. CTA BAND
   -------------------------------------------------------------------------- */
.pearl-cta { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.pearl-cta__box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 80px); text-align: center; color: #fff;
  background: radial-gradient(800px 400px at 15% 0%, rgba(var(--pearl-gold-rgb), .35), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(var(--pearl-primary-rgb), .9), transparent 60%), var(--pearl-navy);
  box-shadow: var(--shadow-lg);
}
.pearl-cta__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .25; mix-blend-mode: luminosity; }
.pearl-cta__orbs span { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.pearl-cta__orbs span:nth-child(1) { width: 300px; height: 300px; border: 1px solid rgba(255, 255, 255, .12); left: -80px; bottom: -120px; animation: pearlFloat 8s ease-in-out infinite; }
.pearl-cta__orbs span:nth-child(2) { width: 160px; height: 160px; background: rgba(var(--pearl-gold-rgb), .25); filter: blur(30px); right: 12%; top: 10%; animation: pearlAurora 14s ease-in-out infinite; }
.pearl-cta__orbs span:nth-child(3) { width: 520px; height: 520px; border: 1px solid rgba(255, 255, 255, .06); right: -200px; top: -240px; animation: pearlSpin 40s linear infinite; border-style: dashed; }
.pearl-cta__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pearl-cta__heading { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; margin-top: 22px; font-weight: 800; }
.pearl-cta__sub { margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 620px; }
.pearl-cta__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: rgba(255, 255, 255, .75); font-weight: 500; }
.pearl-cta__phone:hover { color: var(--pearl-gold); }

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
.pearl-footer { position: relative; background: var(--pearl-navy); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; margin-top: 120px; }
.pearl-footer__mountains { top: auto; bottom: calc(100% - 1px); height: 120px; }
.pearl-footer__mountains .pearl-mountains__l1 { fill: rgba(var(--pearl-primary-rgb), .16); }
.pearl-footer__mountains .pearl-mountains__l2 { fill: rgba(var(--pearl-navy-rgb), .5); }
.pearl-footer__mountains .pearl-mountains__l3 { fill: var(--pearl-navy); }
.pearl-footer__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 400px at 90% 10%, rgba(var(--pearl-primary-rgb), .3), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(var(--pearl-gold-rgb), .08), transparent 60%); }
.pearl-footer .pearl-container { position: relative; }
.pearl-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); margin-bottom: 64px; }
.pearl-footer__cta-title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.5rem; }
.pearl-footer__cta-sub { margin-top: 4px; }
.pearl-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pearl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.pearl-footer__logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.pearl-footer__logo-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.pearl-footer__logo-sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pearl-gold); margin-top: 3px; }
.pearl-footer__desc { margin-top: 20px; font-size: .93rem; line-height: 1.7; max-width: 340px; }
.pearl-footer__since { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); letter-spacing: -.02em; }
.pearl-footer__since span { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pearl-gold); -webkit-text-stroke: 0; }
.pearl-footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.pearl-footer__social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: all .35s var(--ease); }
.pearl-footer__social:hover { background: var(--pearl-gold); color: var(--ink); transform: translateY(-4px); border-color: var(--pearl-gold); }
.pearl-footer__col-title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: 18px; }
.pearl-footer__col nav { display: flex; flex-direction: column; gap: 10px; }
.pearl-footer__link { position: relative; width: fit-content; font-size: .93rem; transition: color .25s, transform .3s var(--ease); }
.pearl-footer__link:hover { color: #fff; transform: translateX(4px); }
.pearl-footer__link::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--pearl-gold); transform: translateY(-50%) scale(0); transition: transform .3s var(--ease); }
.pearl-footer__link:hover::before { transform: translateY(-50%) scale(1); }
.pearl-footer__contact-row { display: flex; gap: 12px; font-size: .92rem; margin-bottom: 14px; line-height: 1.55; }
.pearl-footer__contact-row .pearl-icon { color: var(--pearl-gold); margin-top: 2px; }
.pearl-footer__contact-row a:hover { color: #fff; }
.pearl-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.pearl-footer__bottom-links { display: flex; align-items: center; gap: 22px; }
.pearl-footer__bottom-link:hover { color: #fff; }
.pearl-footer__powered { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; transition: all .3s; }
.pearl-footer__powered:hover { background: rgba(var(--pearl-gold-rgb), .2); border-color: rgba(var(--pearl-gold-rgb), .5); }
.pearl-footer__powered-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--pearl-gold), var(--primary-light)); }

.pearl-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.pearl-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.pearl-whatsapp__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .9rem; transition: max-width .5s var(--ease); }
.pearl-whatsapp:hover .pearl-whatsapp__label { max-width: 140px; padding-right: 6px; }
.pearl-whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: pearlPingGreen 2.4s infinite; }
@keyframes pearlPingGreen { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
.pearl-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl-primary); color: #fff; box-shadow: var(--shadow-glow); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--ease); }
.pearl-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.pearl-to-top:hover { background: var(--pearl-gold); color: var(--ink); }

/* --------------------------------------------------------------------------
   25. INNER PAGE HERO
   -------------------------------------------------------------------------- */
.pearl-page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--pearl-navy);
  padding: calc(var(--masthead-h) + clamp(50px, 7vw, 100px)) 0 clamp(150px, 15vw, 220px);
}
.pearl-page-hero--compact { padding-bottom: clamp(130px, 13vw, 180px); }
.pearl-page-hero__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .3; animation: pearlKenburns 26s ease-in-out infinite alternate; }
.pearl-page-hero.has-image::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(var(--pearl-navy-rgb), .92), rgba(var(--pearl-navy-rgb), .55)); }
.pearl-page-hero__inner { position: relative; z-index: 2; }
.pearl-page-hero__title { color: #fff; max-width: 17ch; }
.pearl-page-hero__lead { color: rgba(255, 255, 255, .78); margin-top: 22px; }
.pearl-page-hero__extra { margin-top: 22px; }
.pearl-page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pearl-page-hero__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: rgba(255, 255, 255, .8); max-width: 640px; }
.pearl-page-hero__note .pearl-icon { color: var(--pearl-gold); margin-top: 4px; }
.pearl-page-hero__mountains { height: clamp(90px, 11vw, 160px); }
.pearl-404 { min-height: 90vh; display: flex; align-items: center; text-align: center; }
.pearl-404__inner { display: flex; flex-direction: column; align-items: center; }
.pearl-404 .pearl-page-hero__title { margin: 0 auto; }
.pearl-404__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 20vw, 14rem); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .25); background: linear-gradient(90deg, var(--pearl-gold), var(--primary-light), var(--pearl-gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; animation: pearlShine 4s linear infinite; }

/* --------------------------------------------------------------------------
   26. ABOUT
   -------------------------------------------------------------------------- */
.pearl-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.pearl-split-grid--top { align-items: start; }
.pearl-split-grid__media { position: relative; }
.pearl-media-badge { position: absolute; right: -10px; bottom: 40px; display: flex; flex-direction: column; align-items: center; padding: 22px 26px; border-radius: 24px; background: var(--pearl-gold); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(var(--pearl-gold-rgb), .8); }
.pearl-media-badge span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.pearl-media-badge strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.pearl-about-mission__heading { margin-bottom: 20px; }

.pearl-timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.pearl-timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--line); border-radius: 2px; }
.pearl-timeline__line span { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--pearl-gold), var(--pearl-primary)); }
.pearl-timeline__item { position: relative; width: 50%; padding: 0 48px 48px 0; }
.pearl-timeline__item:nth-child(odd) { margin-left: 50%; padding: 0 0 48px 48px; }
.pearl-timeline__item:nth-child(even) { text-align: right; }
.pearl-timeline__dot { position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--pearl-primary); z-index: 1; transition: all .5s var(--ease); }
.pearl-timeline__item:nth-child(odd) .pearl-timeline__dot { right: auto; left: -9px; }
.pearl-timeline__item.is-visible .pearl-timeline__dot { background: var(--pearl-gold); border-color: var(--pearl-gold); box-shadow: 0 0 0 8px rgba(var(--pearl-gold-rgb), .2); }
.pearl-timeline__card { display: inline-block; text-align: left; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; max-width: 440px; }
.pearl-timeline__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pearl-timeline__year { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.03em; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pearl-timeline__title { font-size: 1.15rem; margin-top: 10px; }
.pearl-timeline__desc { color: var(--muted); font-size: .94rem; margin-top: 6px; }

.pearl-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.pearl-value-card { padding: 32px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: all .5s var(--ease); }
.pearl-value-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); border-color: rgba(var(--pearl-gold-rgb), .4); }
.pearl-value-card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pearl-gold), var(--pearl-gold-muted)); color: var(--ink); margin-bottom: 20px; }
.pearl-value-card__title { color: #fff; font-size: 1.2rem; }
.pearl-value-card__desc { color: rgba(255, 255, 255, .7); margin-top: 8px; font-size: .95rem; }
.pearl-values .pearl-spotlight::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--pearl-gold-rgb), .14), transparent 45%); }

/* 3 per row (2 on tablets, 1 on phones); an incomplete last row is centred. */
.pearl-leaders-grid { --cols: 3; --gap: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); max-width: 1080px; margin: 0 auto; }
.pearl-leaders-grid > .pearl-leader-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 900px) { .pearl-leaders-grid { --cols: 2; --gap: 20px; } }
@media (max-width: 560px) { .pearl-leaders-grid { --cols: 1; max-width: 400px; } }
.pearl-leader-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pearl-leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pearl-leader-card__img-box { aspect-ratio: 4 / 4.6; }
.pearl-leader-card__img-box .pearl-fill-img { transition: transform 1.2s var(--ease); filter: grayscale(.3); }
.pearl-leader-card:hover .pearl-fill-img { transform: scale(1.06); filter: none; }
.pearl-leader-card__body { padding: 20px 22px; }
.pearl-leader-card__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.pearl-leader-card__role { color: var(--pearl-primary); font-size: .88rem; font-weight: 600; margin-top: 2px; }

/* --------------------------------------------------------------------------
   27. ACADEMICS PAGE — STAGES
   -------------------------------------------------------------------------- */
.pearl-stages .pearl-container { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.pearl-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; scroll-margin-top: 100px; }
.pearl-stage--flip .pearl-stage__media { order: 2; }
.pearl-stage__media { position: relative; }
.pearl-stage__num { position: absolute; top: -40px; right: -10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 10vw, 8.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(var(--pearl-primary-rgb), .35); z-index: 2; pointer-events: none; }
.pearl-stage--flip .pearl-stage__num { right: auto; left: -10px; }
.pearl-stage__approach { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.pearl-stage__label { margin: 26px 0 12px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.pearl-outcome { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: rgba(var(--pearl-primary-rgb), .07); border: 1px solid rgba(var(--pearl-primary-rgb), .2); }
.pearl-outcome__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pearl-primary); color: #fff; flex-shrink: 0; }
.pearl-outcome__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pearl-primary); }
.pearl-outcome__text { display: block; color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   28. ADMISSIONS
   -------------------------------------------------------------------------- */
.pearl-quicklinks-wrap { padding: 0; margin-top: -90px; z-index: 5; }
.pearl-quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pearl-quicklink { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.pearl-quicklink:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pearl-quicklink__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--pearl-primary-rgb), .1); color: var(--pearl-primary); margin-bottom: 18px; transition: all .4s var(--ease); }
.pearl-quicklink:hover .pearl-quicklink__icon { background: var(--pearl-primary); color: #fff; transform: rotate(-8deg); }
.pearl-quicklink__t { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.pearl-quicklink__d { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.pearl-quicklink__go { position: absolute; top: 22px; right: 22px; color: var(--muted-2); transition: all .4s var(--ease); }
.pearl-quicklink:hover .pearl-quicklink__go { color: var(--pearl-primary); transform: translate(3px, -3px); }

.pearl-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pearl-steps__line { position: absolute; top: 44px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.pearl-steps__line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); transition: width 1.8s var(--ease-out); }
.pearl-steps.is-visible .pearl-steps__line span, .pearl-no-motion .pearl-steps__line span { width: 100%; }
.pearl-step-card { position: relative; text-align: center; padding: 0 10px; }
.pearl-step-card__num { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--pearl-primary), var(--pearl-navy)); box-shadow: var(--shadow-glow); position: relative; transform: rotate(-6deg); transition: transform .5s var(--ease); }
.pearl-step-card:hover .pearl-step-card__num { transform: rotate(0) scale(1.06); }
.pearl-step-card:last-child .pearl-step-card__num { background: linear-gradient(135deg, var(--pearl-gold), var(--pearl-gold-muted)); color: var(--ink); }
.pearl-step-card__title { font-size: 1.15rem; }
.pearl-step-card__desc { color: var(--muted); font-size: .93rem; margin-top: 8px; }

.pearl-admissions-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.pearl-panel-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); }
.pearl-panel-card__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pearl-gold), var(--pearl-gold-muted)); color: var(--ink); margin-bottom: 20px; }
.pearl-faqs { display: flex; flex-direction: column; gap: 12px; }
.pearl-faq { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.pearl-faq[open] { border-color: rgba(var(--pearl-primary-rgb), .35); box-shadow: var(--shadow-sm); }
.pearl-faq__q { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.pearl-faq__q::-webkit-details-marker { display: none; }
.pearl-faq__toggle { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); flex-shrink: 0; transition: all .35s var(--ease); }
.pearl-faq__toggle::before, .pearl-faq__toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.pearl-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.pearl-faq[open] .pearl-faq__toggle { background: var(--pearl-primary); color: #fff; }
.pearl-faq[open] .pearl-faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.pearl-faq__a { padding: 0 22px 20px; color: var(--muted); }
.pearl-faq[open] .pearl-faq__a { animation: pearlFadeUp .45s var(--ease-out); }

/* --------------------------------------------------------------------------
   29. CONTACT & FORMS
   -------------------------------------------------------------------------- */
.pearl-contact { padding-top: 0; }
.pearl-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: -90px; position: relative; z-index: 5; margin-bottom: 56px; }
.pearl-contact-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .45s var(--ease); }
a.pearl-contact-card:hover { transform: translateY(-6px); }
.pearl-contact-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pearl-primary), var(--navy-2)); color: #fff; margin-bottom: 18px; }
.pearl-contact-card__label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.pearl-contact-card__value { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-top: 4px; line-height: 1.45; word-break: break-word; }
.pearl-contact-card__hours { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin-top: 10px; }
.pearl-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.pearl-form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pearl-form-card__sub { color: var(--muted); margin: 8px 0 26px; }
.pearl-contact-map { border-radius: var(--radius-xl); overflow: hidden; position: relative; min-height: 440px; box-shadow: var(--shadow); background: var(--surface-2); }
.pearl-contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(.85); }

.pearl-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pearl-label { display: flex; flex-direction: column; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.pearl-required { color: #D14343; }
.pearl-input, .pearl-select, .pearl-textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-3);
  font-size: .95rem; font-weight: 500; color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none; -webkit-appearance: none;
}
.pearl-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23687586' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.pearl-textarea { resize: vertical; min-height: 120px; }
.pearl-input::placeholder, .pearl-textarea::placeholder { color: var(--muted-2); font-weight: 400; }
.pearl-input:hover, .pearl-select:hover, .pearl-textarea:hover { border-color: var(--line-strong); }
.pearl-input:focus, .pearl-select:focus, .pearl-textarea:focus { outline: none; border-color: var(--pearl-primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--pearl-primary-rgb), .12); }
.pearl-input--error, .pearl-select--error { border-color: #D14343 !important; box-shadow: 0 0 0 4px rgba(209, 67, 67, .1) !important; }
.pearl-field-error { color: #C53030; font-size: .8rem; font-weight: 500; min-height: 0; }
.pearl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pearl-form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.pearl-form-msg.is-ok { background: rgba(var(--pearl-primary-rgb), .1); color: var(--primary-dark); border: 1px solid rgba(var(--pearl-primary-rgb), .3); }
.pearl-form-msg.is-error { background: rgba(209, 67, 67, .08); color: #B42318; border: 1px solid rgba(209, 67, 67, .3); }
.pearl-btn.is-loading { pointer-events: none; opacity: .8; }
.pearl-btn.is-loading .pearl-btn__icon { animation: pearlSpin 1s linear infinite; }

/* --------------------------------------------------------------------------
   30. GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.pearl-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.pearl-gallery-grid__item { border-radius: var(--radius); display: block; width: 100%; text-align: left; cursor: zoom-in; }
.pearl-gallery-grid__item.is-big { grid-column: span 2; grid-row: span 2; }
.pearl-gallery-grid__item.is-wide { grid-column: span 2; }
.pearl-gallery-grid__item.is-tall { grid-row: span 2; }
.pearl-gallery-grid__item .pearl-fill-img { transition: transform 1s var(--ease), filter .6s; }
.pearl-gallery-grid__item:hover .pearl-fill-img { transform: scale(1.08); }
.pearl-gallery-grid__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--pearl-navy-rgb), .85), transparent 55%); opacity: 0; transition: opacity .5s; }
.pearl-gallery-grid__item:hover::after, .pearl-gallery-grid__item:focus-visible::after { opacity: 1; }
.pearl-gallery-grid__label { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 600; transform: translateY(12px); opacity: 0; transition: all .5s var(--ease); }
.pearl-gallery-grid__item:hover .pearl-gallery-grid__label, div.pearl-gallery-grid__item .pearl-gallery-grid__label { transform: none; opacity: 1; }
.pearl-gallery-grid__zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(0); transition: transform .45s var(--ease); }
.pearl-gallery-grid__item:hover .pearl-gallery-grid__zoom { transform: scale(1); }

.pearl-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pearl-lightbox__backdrop { position: absolute; inset: 0; background: rgba(5, 12, 22, .92); backdrop-filter: blur(10px); animation: pearlFadeIn .35s; }
@keyframes pearlFadeIn { from { opacity: 0; } to { opacity: 1; } }
.pearl-lightbox__content { position: relative; z-index: 1; width: min(1100px, 100%); display: flex; flex-direction: column; gap: 14px; animation: pearlPop .5s var(--ease-out); }
.pearl-lightbox__header { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.pearl-lightbox__label { font-family: var(--font-display); font-weight: 600; }
.pearl-lightbox__counter { font-size: .86rem; opacity: .6; margin-left: 12px; }
.pearl-lightbox__close, .pearl-lightbox__nav { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; transition: background .25s; }
.pearl-lightbox__close:hover, .pearl-lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.pearl-lightbox__img-wrap { position: relative; }
.pearl-lightbox__img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; }
.pearl-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.pearl-lightbox__nav--prev { left: 12px; } .pearl-lightbox__nav--next { right: 12px; }

/* --------------------------------------------------------------------------
   31. ENTRY TESTS
   -------------------------------------------------------------------------- */
.pearl-et-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pearl-et-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.pearl-et-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pearl-primary), var(--pearl-gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pearl-et-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pearl-et-card:hover::before { transform: scaleX(1); }
.pearl-et-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.pearl-et-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pearl-et-card__subjects { color: var(--muted); font-size: .92rem; margin-top: 14px; flex: 1; }
.pearl-et-card__cta { margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--pearl-primary); }
.pearl-et-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(var(--pearl-gold-rgb), .18); color: var(--ink); font-size: .8rem; font-weight: 600; }
.pearl-et-badge .pearl-diamond { color: var(--pearl-gold-muted); font-size: .6rem; }
.pearl-et-badge--muted { background: var(--surface-2); color: var(--muted); }
.pearl-et-schedule { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.pearl-et-schedule th, .pearl-et-schedule td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .94rem; }
.pearl-et-schedule thead th { background: var(--pearl-navy); color: #fff; font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.pearl-et-schedule tbody tr { transition: background-color .25s; }
.pearl-et-schedule tbody tr:hover { background: var(--surface-3); }
.pearl-et-schedule tbody tr:last-child td { border-bottom: 0; }
.pearl-et-schedule__class { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.pearl-et-schedule__date { font-weight: 600; color: var(--pearl-primary); }
.pearl-et-schedule a { font-weight: 600; color: var(--pearl-primary); }
.pearl-et-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pearl-et-subject-block { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.pearl-et-subject-block__name { font-size: 1.3rem; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.pearl-et-topics { display: grid; gap: 10px; }
.pearl-et-topics li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.pearl-et-topics .pearl-diamond { color: var(--pearl-primary); font-size: .6rem; margin-top: .55em; flex-shrink: 0; }
.pearl-et-topics li[dir="auto"] { unicode-bidi: plaintext; }
.pearl-et-detail__info { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pearl-img-box:has(> p) { border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--line-strong); }

/* --------------------------------------------------------------------------
   32. FUNCTIONAL PAGES (apply / track / portal) — shell
   -------------------------------------------------------------------------- */
.pearl-apply-main { padding: 48px 0 80px; min-height: 70vh; }
.pearl-track-receipt__form .pearl-label { display: block; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   33. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .pearl-nav__item { padding: 10px 9px; font-size: .84rem; }
  .pearl-topbar__item--hide-md { display: none; }
}
@media (max-width: 1100px) {
  .pearl-nav, .pearl-header__actions { display: none; }
  .pearl-hamburger { display: block; }
  .pearl-header__inner { gap: 14px; }
  .pearl-logo { flex: 1 1 auto; min-width: 0; }
  .pearl-logo__text { flex: 1 1 auto; min-width: 0; }
  .pearl-logo__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pearl-hero__inner { grid-template-columns: 1fr; }
  .pearl-hero__aside { height: 260px; max-width: 620px; }
  .pearl-hero__seal { width: 180px; height: 180px; right: auto; left: 0; top: 20px; }
  .pearl-hero__seal-core { inset: 28px; }
  .pearl-hero__seal-year { font-size: 2rem; }
  .pearl-hero__card--badge { left: 200px; top: 10px; }
  .pearl-hero__card--app { left: 200px; right: auto; bottom: 20px; }
  .pearl-metrics, .pearl-results__grid, .pearl-quicklinks { grid-template-columns: repeat(2, 1fr); }
  .pearl-bento { grid-template-columns: 1fr 1fr; }
  .pearl-bento__media { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .pearl-academic__grid, .pearl-principal__grid, .pearl-campus-feature, .pearl-ims__grid, .pearl-testimonials__content, .pearl-news-preview__grid, .pearl-split-grid, .pearl-stage, .pearl-admissions-details, .pearl-contact-grid { grid-template-columns: 1fr; }
  .pearl-stage--flip .pearl-stage__media { order: 0; }
  .pearl-principal__visual { max-width: 460px; }
  .pearl-campus-feature__img { min-height: 380px; }
  .pearl-grid-3, .pearl-facilities-grid, .pearl-news-archive-grid, .pearl-events__grid, .pearl-values-grid { grid-template-columns: repeat(2, 1fr); }
  .pearl-footer__grid { grid-template-columns: 1fr 1fr; }
  .pearl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pearl-steps__line { display: none; }
  .pearl-life-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .pearl-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .pearl-media-frame { aspect-ratio: 16 / 11; }
}
@media (max-width: 760px) {
  :root { --radius-lg: 22px; --radius-xl: 26px; }
  .pearl-topbar__item--hide-sm, .pearl-topbar__social { display: none; }
  .pearl-topbar__inner { min-height: 36px; font-size: .78rem; }
  .pearl-topbar__info { gap: 12px; }
  .pearl-header__inner { height: 72px; }
  .pearl-logo__mark { width: 44px; height: 44px; border-radius: 13px; }
  .pearl-logo__name { font-size: .92rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pearl-logo__sub { font-size: .62rem; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pearl-logo { gap: 10px; }
  .pearl-hamburger { width: 44px; height: 44px; border-radius: 12px; }
  .pearl-hamburger span { left: 12px; right: 12px; }
  .pearl-hamburger span:nth-child(1) { top: 14px; } .pearl-hamburger span:nth-child(2) { top: 21px; } .pearl-hamburger span:nth-child(3) { top: 28px; }
  .pearl-hamburger.is-open span:nth-child(1), .pearl-hamburger.is-open span:nth-child(3) { top: 21px; }
  .pearl-hero { padding-bottom: 150px; min-height: auto; }
  .pearl-hero__aside { display: none; }
  .pearl-hero__dots, .pearl-hero__scroll { bottom: 110px; }
  .pearl-hero__scroll { display: none; }
  .pearl-hero__ctas .pearl-btn { width: 100%; }
  .pearl-metrics-wrap { margin-top: -60px; }
  .pearl-metrics { gap: 12px; }
  .pearl-metrics__item { padding: 20px 18px; }
  .pearl-section-head { flex-direction: column; align-items: flex-start; }
  .pearl-section-head--center { align-items: center; }
  .pearl-bento, .pearl-grid-3, .pearl-facilities-grid, .pearl-news-archive-grid, .pearl-events__grid, .pearl-values-grid, .pearl-ims__features, .pearl-testimonials__panel, .pearl-form-grid, .pearl-checklist--grid, .pearl-quicklinks, .pearl-footer__grid { grid-template-columns: 1fr; }
  .pearl-bento__media { grid-column: auto; min-height: 320px; }
  .pearl-results__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pearl-result-card { padding: 26px 14px; }
  .pearl-result-card__ring { width: 96px; height: 96px; margin-bottom: -80px; }
  .pearl-result-card__num { height: 64px; font-size: 1.7rem; }
  .pearl-result-card__ring + .pearl-result-card__num { font-size: 1.4rem; }
  .pearl-steps { grid-template-columns: 1fr; }
  .pearl-life-mosaic { grid-auto-rows: 180px; gap: 10px; }
  .pearl-life-mosaic__item--0 { grid-column: span 2; grid-row: span 1; }
  .pearl-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .pearl-gallery-grid__item.is-big { grid-column: span 2; grid-row: span 1; }
  .pearl-news-card--small .pearl-news-card__thumb { width: 34%; min-height: 110px; }
  .pearl-news-preview__grid--single .pearl-news-card--featured { flex-direction: column; }
  .pearl-news-preview__grid--single .pearl-news-card--featured .pearl-news-card__img-wrap { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .pearl-timeline__line { left: 9px; }
  .pearl-timeline__item, .pearl-timeline__item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 32px 40px; text-align: left; }
  .pearl-timeline__dot, .pearl-timeline__item:nth-child(odd) .pearl-timeline__dot { left: 0; right: auto; }
  .pearl-ims__float--2 { right: 0; }
  .pearl-phone { width: 250px; height: 510px; }
  .pearl-stage__num { top: -26px; }
  .pearl-media-badge { right: 10px; bottom: 20px; padding: 16px 20px; }
  .pearl-campus-feature__stats { gap: 22px; }
  .pearl-footer__cta { padding: 24px; }
  .pearl-footer { margin-top: 90px; }
  .pearl-whatsapp { height: 52px; left: 14px; bottom: 14px; }
  .pearl-to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .pearl-et-schedule, .pearl-et-schedule thead, .pearl-et-schedule tbody, .pearl-et-schedule th, .pearl-et-schedule td, .pearl-et-schedule tr { display: block; }
  .pearl-et-schedule { background: none; box-shadow: none; }
  .pearl-et-schedule thead { display: none; }
  .pearl-et-schedule tbody tr { margin-bottom: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
  .pearl-et-schedule td { display: flex; gap: 12px; padding: 12px 16px; }
  .pearl-et-schedule td::before { content: attr(data-label); min-width: 92px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding-top: 2px; }
  .pearl-quicklinks-wrap, .pearl-contact-cards { margin-top: -70px; }
  .pearl-article__cover { margin-top: -110px; }
  .pearl-why__bg-word { display: none; }
}

/* --------------------------------------------------------------------------
   33b. PENCIL CURSOR (Customizer → Animations & Extras)
   Mouse/trackpad devices only. Hotspot (13 67) is the pencil's tip. The PNG
   is a fallback for browsers that don't accept SVG cursors.
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  body.pearl-pencil-cursor,
  body.pearl-pencil-cursor * {
    cursor: url("../images/cursor-pencil.svg") 13 67, url("../images/cursor-pencil.png") 13 67, auto;
  }
  body.pearl-pencil-cursor a, body.pearl-pencil-cursor a *,
  body.pearl-pencil-cursor button, body.pearl-pencil-cursor button *,
  body.pearl-pencil-cursor [role="button"], body.pearl-pencil-cursor [role="tab"],
  body.pearl-pencil-cursor summary, body.pearl-pencil-cursor summary *,
  body.pearl-pencil-cursor label[for], body.pearl-pencil-cursor .pearl-doc-tile, body.pearl-pencil-cursor .pearl-doc-tile *,
  body.pearl-pencil-cursor select, body.pearl-pencil-cursor input[type="checkbox"], body.pearl-pencil-cursor input[type="radio"],
  body.pearl-pencil-cursor input[type="submit"], body.pearl-pencil-cursor input[type="file"],
  body.pearl-pencil-cursor [data-gallery-src], body.pearl-pencil-cursor [data-gallery-src] * {
    cursor: url("../images/cursor-pencil-hover.svg") 13 67, url("../images/cursor-pencil-hover.png") 13 67, pointer;
  }
  body.pearl-pencil-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):not([type="button"]),
  body.pearl-pencil-cursor textarea,
  body.pearl-pencil-cursor [contenteditable="true"] { cursor: text; }
  body.pearl-pencil-cursor .pearl-hscroll.is-dragging, body.pearl-pencil-cursor .pearl-hscroll.is-dragging * { cursor: grabbing; }
  body.pearl-pencil-cursor :disabled, body.pearl-pencil-cursor :disabled * { cursor: not-allowed; }
}

/* --------------------------------------------------------------------------
   34. REDUCED MOTION / MOTION OFF
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .pearl-js .pearl-reveal, .pearl-js .pearl-anim-in, .pearl-js .pearl-split.is-split .pearl-word > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .pearl-marquee__track { animation: none; }
  .pearl-hero__particles { display: none; }
}
.pearl-no-motion .pearl-hero__aurora, .pearl-no-motion .pearl-page-hero__aurora span, .pearl-no-motion .pearl-hero__particles { animation: none; }
.pearl-no-motion .pearl-hero__particles { display: none; }
.pearl-no-motion .pearl-float, .pearl-no-motion .pearl-kenburns, .pearl-no-motion .pearl-hero__seal-ring, .pearl-no-motion .pearl-ims__halo, .pearl-no-motion .pearl-page-hero__bg, .pearl-no-motion .pearl-hero__slide.is-active { animation: none; }

/* --------------------------------------------------------------------------
   35. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .pearl-masthead, .pearl-footer, .pearl-whatsapp, .pearl-to-top, .pearl-scroll-progress, .pearl-cta, .pearl-mountains { display: none !important; }
  .pearl-page-hero { padding: 20px 0; background: none; color: #000; }
  .pearl-page-hero__title { color: #000; }
  .pearl-js .pearl-reveal { opacity: 1; transform: none; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .pearl-topbar__inner { gap: 8px; }
  .pearl-topbar__item { font-size: .72rem; }
  .pearl-topbar__badge { font-size: .7rem; padding: 3px 9px; gap: 6px; }
}
