:root {
  --rich-navy: #0f172a;
  --rich-blue: #004c8c;
  --rich-gold: #d4af37;
  --rich-ink: #1e293b;
  --rich-muted: #64748b;
  --rich-soft: #f8fafc;
  --rich-line: #dbe3ee;
  --rich-white: #ffffff;
  --rich-logo-width: 168px;
  --rich-radius: 8px;
  --rich-shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rich-ink);
  font-family: Inter, "Plus Jakarta Sans", Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--rich-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 1rem;
  color: var(--rich-muted);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--rich-navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  font-size: 1.2rem;
}

.rich-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.brand img,
.custom-logo {
  width: var(--rich-logo-width);
  max-width: 42vw;
  height: auto;
}

.brand-mark {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--rich-white);
  font-weight: 800;
  background: var(--rich-navy);
  border: 2px solid var(--rich-gold);
  border-radius: var(--rich-radius);
}

.brand-text {
  font-weight: 800;
  color: var(--rich-navy);
}

.primary-nav {
  justify-self: end;
}

.menu,
.footer-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 650;
}

.menu a:hover {
  color: var(--rich-blue);
}

.header-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 1rem;
  color: var(--rich-navy);
  font-weight: 750;
  background: var(--rich-soft);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-btn,
button.rich-btn,
.rich-chat-input button {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid transparent;
  border-radius: var(--rich-radius);
  cursor: pointer;
}

.rich-btn-primary,
.rich-chat-input button {
  color: var(--rich-navy);
  background: var(--rich-gold);
  border-color: #c9a32c;
}

.rich-btn-secondary {
  color: var(--rich-white);
  background: var(--rich-blue);
}

.rich-btn-ghost {
  color: var(--rich-navy);
  background: var(--rich-white);
  border-color: var(--rich-line);
}

.rich-btn-ghost.light {
  color: var(--rich-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.rich-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--rich-blue);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  overflow: hidden;
  color: var(--rich-white);
  background: var(--rich-navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72), rgba(0, 76, 140, 0.5)),
    url("../images/hero-rich-students.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0f172a, #004c8c);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 78px));
  padding: 6rem 0;
}

.hero-copy {
  width: min(780px, 100%);
}

.hero h1,
.hero p {
  color: var(--rich-white);
}

.hero p {
  max-width: 720px;
  color: #e2e8f0;
  font-size: 1.12rem;
}

.rich-eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--rich-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-facts {
  background: var(--rich-white);
  border-bottom: 1px solid var(--rich-line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rich-line);
}

.fact-card {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  color: var(--rich-navy);
  font-weight: 850;
  text-align: center;
  background: var(--rich-white);
}

.rich-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.band {
  background: var(--rich-soft);
}

.muted {
  background: #eef5fb;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid,
.rich-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.rich-card,
.alumni-card,
.rich-form,
.rich-chat-shell {
  background: var(--rich-white);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.feature-card {
  min-height: 176px;
  padding: 1.35rem;
}

.rich-card {
  overflow: hidden;
}

.rich-card a {
  display: block;
}

.rich-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dce7f3;
}

.rich-card h2,
.rich-card h3,
.rich-card p {
  padding-inline: 1.25rem;
}

.rich-card h2,
.rich-card h3 {
  padding-top: 1.2rem;
}

.rich-card p {
  padding-bottom: 1.25rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.benefit-list div,
.trust-badges span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--rich-navy);
  font-weight: 850;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-left: 4px solid var(--rich-gold);
  border-radius: var(--rich-radius);
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.alumni-card {
  padding: 1rem;
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(212, 175, 55, 0.16)),
    url("../images/alumni-cruise.jpg") center / cover no-repeat;
  border-radius: var(--rich-radius);
}

.legal-band {
  color: var(--rich-white);
  background: var(--rich-navy);
}

.legal-band h2,
.legal-band p {
  color: var(--rich-white);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rich-ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.rich-chat-shell {
  padding: 1rem;
}

.rich-chat-log {
  height: 300px;
  overflow: auto;
  padding: 0.75rem;
  background: var(--rich-soft);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-chat-bubble {
  max-width: 86%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.65rem;
  border-radius: var(--rich-radius);
}

.rich-chat-bot {
  color: var(--rich-ink);
  background: #fff;
  border: 1px solid var(--rich-line);
}

.rich-chat-user {
  margin-left: auto;
  color: var(--rich-white);
  background: var(--rich-blue);
}

.rich-chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin: 0.8rem 0;
}

.rich-chat-input input,
.rich-form input,
.rich-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.82rem 0.9rem;
  color: var(--rich-ink);
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.rich-form {
  padding: 1.25rem;
}

.rich-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rich-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  color: var(--rich-navy);
  font-weight: 750;
}

.rich-microcopy {
  font-size: 0.88rem;
}

.rich-alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--rich-radius);
}

.rich-alert-success {
  color: #065f46;
  background: #d1fae5;
}

.rich-alert-error {
  color: #991b1b;
  background: #fee2e2;
}

.rich-page-hero {
  padding: 5rem 0;
  color: var(--rich-white);
  background: linear-gradient(135deg, var(--rich-navy), var(--rich-blue));
}

.rich-page-hero h1,
.rich-page-hero p {
  color: var(--rich-white);
}

.rich-content {
  max-width: 860px;
}

.rich-content > *:first-child {
  margin-top: 0;
}

.rich-featured-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--rich-radius);
}

.site-footer {
  color: #dbeafe;
  background: #07111f;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--rich-white);
}

.site-footer p {
  color: #b7c6d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.25fr 0.8fr 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

.footer-menu {
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  padding: 1.2rem 0;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem 20px 1.4rem;
    background: #fff;
    border-bottom: 1px solid var(--rich-line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .menu {
    display: grid;
    gap: 0.2rem;
  }

  .header-actions {
    display: none;
  }

  .fact-grid,
  .benefit-list,
  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .rich-post-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rich-container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .primary-nav {
    top: 70px;
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78)),
      url("../images/hero-rich-students-mobile.jpg") center / cover no-repeat,
      linear-gradient(135deg, #0f172a, #004c8c);
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .hero-actions,
  .rich-chat-input {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .rich-btn {
    width: 100%;
  }

  .split-grid,
  .rich-ai-panel,
  .form-layout,
  .feature-grid,
  .rich-post-grid,
  .footer-grid,
  .rich-form-grid,
  .trust-badges,
  .fact-grid,
  .benefit-list,
  .alumni-grid {
    grid-template-columns: 1fr;
  }

  .fact-card {
    min-height: 74px;
  }
}

/* Tentang RICH page */
.rich-about-hero {
  padding: 78px 0 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--rich-navy), var(--rich-blue));
}

.rich-about-hero h1,
.rich-about-hero p {
  color: #fff;
}

.rich-about-hero h1 {
  max-width: 860px;
  margin-top: 1rem;
}

.rich-about-hero p {
  max-width: 760px;
  font-size: 1.08rem;
}

.about-meta {
  color: rgba(255, 255, 255, 0.88);
}

.rich-about-hero__layout,
.rich-about-media-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.rich-about-hero__image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rich-radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.rich-about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-about-main-image,
.rich-story-slide__image,
.rich-timeline-image,
.rich-team-photo,
.rich-facility-image {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(0, 76, 140, 0.18)),
    var(--rich-navy);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-about-main-image {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.rich-about-intro-text {
  max-width: 880px;
  text-align: center;
}

.rich-about-intro-text p {
  font-size: 1.08rem;
}

.rich-about-main-image img,
.rich-story-slide__image img,
.rich-timeline-image img,
.rich-team-photo img,
.rich-facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-about-carousel {
  position: relative;
}

.rich-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.rich-story-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  min-height: 430px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  scroll-snap-align: start;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.rich-story-slide__image {
  min-height: 430px;
  border-width: 0 1px 0 0;
  border-radius: 0;
}

.rich-story-slide__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.rich-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rich-carousel-controls button {
  min-width: 44px;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  color: var(--rich-ink);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: 999px;
  cursor: pointer;
}

.rich-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.rich-carousel-dots button {
  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  background: #9aa7b7;
  border: 0;
  border-radius: 999px;
}

.rich-carousel-dots button.is-active {
  width: 28px;
  min-width: 28px;
  background: var(--rich-gold);
}

.rich-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.rich-timeline article,
.rich-team-card,
.rich-facility-card {
  position: relative;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rich-timeline-image,
.rich-team-photo,
.rich-facility-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.rich-timeline span {
  color: var(--rich-blue);
  font-size: 1.4rem;
  font-weight: 900;
}

.rich-document-image {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(0, 76, 140, 0.18)),
    var(--rich-soft);
}

.rich-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.rich-team-role {
  margin-bottom: 0.6rem;
  color: var(--rich-blue);
  font-weight: 800;
}

.rich-facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 980px) {
  .rich-about-hero__layout,
  .rich-about-media-copy,
  .rich-story-slide {
    grid-template-columns: 1fr;
  }

  .rich-timeline,
  .rich-team-grid,
  .rich-facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rich-story-slide__image {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--rich-line);
  }
}

@media (max-width: 760px) {
  .rich-about-hero {
    padding: 52px 0 36px;
  }

  .rich-about-hero__image,
  .rich-story-slide__image {
    aspect-ratio: 16 / 10;
  }

  .rich-story-slide {
    min-height: 0;
  }

  .rich-timeline,
  .rich-team-grid,
  .rich-facility-grid {
    grid-template-columns: 1fr;
  }

  .rich-story-slide__copy {
    padding: 1.5rem;
  }
}

/* Program page */
.rich-program-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.rich-program-list {
  display: grid;
  gap: 1rem;
}

.rich-program-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rich-program-icon {
  overflow: hidden;
  width: 110px;
  aspect-ratio: 1 / 1;
  background: #f5ead0;
  border-radius: var(--rich-radius);
}

.rich-program-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-program-short {
  color: var(--rich-blue);
  font-weight: 800;
}

/* Kabar RICH page */
.rich-kabar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rich-kabar-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rich-kabar-image {
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--rich-soft);
  border-radius: var(--rich-radius);
}

.rich-kabar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-kabar-copy h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.rich-kabar-copy h2 a,
.rich-read-more {
  color: var(--rich-ink);
}

.rich-kabar-date {
  margin-bottom: 0.4rem;
  color: var(--rich-muted);
  font-size: 0.9rem;
}

.rich-read-more {
  font-weight: 900;
  text-decoration: none;
}

.rich-empty-state {
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

@media (max-width: 980px) {
  .rich-program-intro,
  .rich-kabar-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rich-program-row,
  .rich-kabar-item {
    grid-template-columns: 1fr;
  }

  .rich-program-icon {
    width: 86px;
  }
}

/* v0.2.1 content systems */
.hero-media {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72), rgba(0, 76, 140, 0.5)),
    var(--rich-hero-image, url("../images/hero-rich-students.jpg")) center / cover no-repeat,
    linear-gradient(135deg, #0f172a, #004c8c);
}

.hero .hero-actions .rich-btn + .rich-btn {
  display: none;
}

.alumni-carousel-tools {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: -1rem 0 1rem;
}

.alumni-carousel-tools button {
  width: 42px;
  height: 42px;
  color: var(--rich-navy);
  font-size: 1.4rem;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: 999px;
  cursor: pointer;
}

.alumni-grid.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scroll-snap-type: x mandatory;
}

.alumni-grid.scroll-row > * {
  flex: 0 0 calc((100% - 3rem) / 4);
  scroll-snap-align: start;
}

.alumni-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--rich-radius);
}

.alumni-card blockquote {
  margin: 0.8rem 0 0;
  color: var(--rich-muted);
  font-size: 0.94rem;
}

.rich-float-panel {
  max-width: 380px;
  max-height: min(720px, 85vh);
  overflow: auto;
}

.rich-floating-chat .rich-chat-log {
  max-height: 48vh;
}

.rich-float-head button {
  min-width: 36px;
  min-height: 36px;
}

.rich-prechat-warning {
  margin: 0;
  color: #991b1b;
  font-size: 0.9rem;
}

.rich-structured-page {
  display: grid;
  gap: 2rem;
}

.inline-cta {
  padding: 2rem;
  border-radius: var(--rich-radius);
}

@media (max-width: 960px) {
  .alumni-grid.scroll-row > * {
    flex-basis: 42%;
  }
}

@media (max-width: 760px) {
  .alumni-grid.scroll-row > * {
    flex-basis: 88%;
  }

  .rich-float-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 82px;
    width: auto;
    max-width: none;
    max-height: 85vh;
    border-radius: 16px;
  }

  .rich-floating-chat .rich-chat-log {
    max-height: 42vh;
  }
}

/* v0.1.5 Kasukabumi-inspired stable header/footer */
.rich-topbar {
  background: linear-gradient(90deg, var(--rich-navy), var(--rich-blue));
  color: var(--rich-white);
  font-size: 14px;
}

.rich-topbar__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.rich-topbar__contact,
.rich-topbar__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rich-topbar__social {
  justify-content: flex-end;
}

.rich-topbar__link,
.rich-topbar__social a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--rich-white);
}

.rich-main-header {
  background: var(--rich-white);
  border-bottom: 1px solid var(--rich-line);
}

.rich-main-header__inner {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 78px;
}

.rich-site-brand {
  flex: 0 0 auto;
}

.rich-site-brand img {
  display: block;
  width: auto !important;
  object-fit: contain;
}

.rich-main-nav {
  flex: 1 1 auto;
}

.rich-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rich-main-nav a {
  color: var(--rich-ink);
  font-size: 15px;
  font-weight: 800;
}

.rich-main-nav a:hover,
.rich-main-nav a:focus {
  color: var(--rich-blue);
}

.rich-menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 9px;
  background: var(--rich-white);
  border: 1px solid var(--rich-line);
  border-radius: 10px;
}

.rich-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--rich-navy);
  border-radius: 999px;
}

.rich-header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
}

.rich-header-search {
  display: flex;
  align-items: center;
  width: 46px;
  min-width: 46px;
  overflow: hidden;
  background: var(--rich-soft);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  transition: width 180ms ease;
}

.rich-header-search.is-open,
.rich-header-search:focus-within {
  width: min(280px, 24vw);
}

.rich-header-search input {
  width: 0;
  min-width: 0;
  min-height: 42px;
  padding: 0;
  opacity: 0;
  background: transparent;
  border: 0;
  outline: 0;
  transition: width 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.rich-header-search.is-open input,
.rich-header-search:focus-within input {
  width: 100%;
  padding: 0 0.75rem;
  opacity: 1;
}

.rich-header-search button {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  min-height: 42px;
  place-items: center;
  color: var(--rich-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.rich-search-submit {
  display: none !important;
}

.rich-header-search.is-open .rich-search-submit,
.rich-header-search:focus-within .rich-search-submit {
  display: inline-grid !important;
}

.rich-mobile-search,
.rich-menu-cta {
  display: none;
}

.rich-footer-widgets {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.25fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}

.rich-footer-brand p {
  max-width: 320px;
}

.rich-footer-contact {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rich-footer-bottom {
  display: grid;
  gap: 0.25rem;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rich-footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .rich-main-header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 74px;
  }

  .rich-menu-toggle {
    display: block;
    order: 2;
  }

  .rich-site-brand {
    order: 1;
  }

  .rich-header-actions {
    display: none;
  }

  .rich-main-nav {
    display: none;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    margin: 0 -20px;
    padding: 12px 20px 18px;
    background: var(--rich-white);
    border-top: 1px solid var(--rich-line);
  }

  .rich-main-nav.is-open {
    display: block;
  }

  .rich-main-nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .rich-main-nav li,
  .rich-main-nav a {
    width: 100%;
  }

  .rich-mobile-search {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 14px;
    overflow: hidden;
    background: var(--rich-soft);
    border: 1px solid var(--rich-line);
    border-radius: var(--rich-radius);
  }

  .rich-mobile-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 0.8rem;
    background: transparent;
    border: 0;
    outline: 0;
  }

  .rich-mobile-search button {
    width: 44px;
    min-height: 44px;
    color: var(--rich-navy);
    background: transparent;
    border: 0;
  }

  .rich-menu-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .rich-topbar__inner {
    justify-content: center;
    min-height: 44px;
  }

  .rich-topbar__contact span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

  .rich-topbar__contact,
  .rich-topbar__social {
    gap: 14px;
    justify-content: center;
  }

  .rich-main-header__inner {
    min-height: 74px;
  }

  .rich-site-brand img {
    max-width: min(72vw, 270px) !important;
  }

  .rich-footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0;
  }
}

/* v0.1.2 homepage revision */
.rich-topbar {
  color: #eaf2fb;
  background: linear-gradient(90deg, var(--rich-navy), var(--rich-blue));
}

.topbar-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  font-size: 0.86rem;
}

.topbar-contact,
.topbar-social,
.footer-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.topbar-contact a,
.topbar-social a,
.footer-social a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: inherit;
}

.header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  flex-shrink: 0;
}

.brand img,
.custom-logo {
  max-width: 260px;
  max-height: 56px;
  object-fit: contain;
}

.primary-nav {
  justify-self: center;
  min-width: 0;
}

.menu {
  gap: 0.85rem;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  min-width: 220px;
  overflow: hidden;
  background: var(--rich-soft);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.header-search input,
.mobile-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 0.8rem;
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search button,
.mobile-search button {
  width: 42px;
  min-height: 40px;
  color: var(--rich-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-search {
  display: none;
  margin-top: 0.8rem;
}

.menu-toggle {
  width: 44px;
  min-height: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--rich-navy);
  border-radius: 999px;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.hero-badges span {
  padding: 0.58rem 0.8rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 28px;
  background: var(--rich-gold);
}

.quick-facts,
.legal-band,
.rich-ai-panel {
  display: none;
}

.tabs-section {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.rich-tabs {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: var(--rich-shadow);
}

.tab-buttons {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  background: var(--rich-soft);
  border-bottom: 1px solid var(--rich-line);
}

.tab-buttons button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: var(--rich-navy);
  font-weight: 850;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--rich-radius);
  cursor: pointer;
}

.tab-buttons button.is-active {
  background: #fff;
  border-color: var(--rich-line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.tab-panel {
  display: none;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.tab-panel.is-active {
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-image {
  min-height: 420px;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(0, 76, 140, 0.16)),
    url("../images/hero-rich-students-mobile.jpg") center / cover no-repeat;
  border-radius: var(--rich-radius);
}

.feature-card .fa {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--rich-navy);
  background: rgba(212, 175, 55, 0.28);
  border-radius: var(--rich-radius);
}

.trust-badges.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.trust-badges.compact span {
  min-height: 46px;
  padding: 0.65rem 0.85rem;
}

.cta-strip {
  padding: 3rem 0;
  color: #fff;
  background: linear-gradient(135deg, var(--rich-navy), var(--rich-blue));
}

.cta-strip h2,
.cta-strip p {
  color: #fff;
}

.cta-strip-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  width: min(210px, 80%);
  max-height: 64px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-bottom a {
  color: #fff;
  font-weight: 800;
}

.rich-floating-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
}

.rich-float-button {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 56px;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  color: var(--rich-navy);
  font-weight: 900;
  background: var(--rich-gold);
  border: 1px solid #c9a32c;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
  cursor: pointer;
}

.rich-float-button img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 999px;
}

.rich-float-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: var(--rich-shadow);
}

.rich-float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  color: #fff;
  background: var(--rich-navy);
}

.rich-float-head button {
  color: #fff;
  font-size: 1.4rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.rich-prechat {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.rich-prechat label {
  display: grid;
  gap: 0.3rem;
  color: var(--rich-navy);
  font-weight: 750;
}

.rich-prechat input {
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-floating-chat {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1120px) {
  .primary-nav {
    top: 116px;
  }

  .menu-toggle {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .mobile-search {
    display: flex;
  }
}

@media (max-width: 760px) {
  .brand img,
  .custom-logo {
    max-width: 220px;
    max-height: 44px;
  }

  .topbar-inner {
    justify-content: center;
    min-height: 38px;
  }

  .topbar-contact,
  .topbar-social {
    gap: 0.65rem;
  }

  .topbar-contact span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

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

  .about-image {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .tab-buttons {
    overflow-x: auto;
  }

  .tab-buttons button {
    flex: 0 0 auto;
  }

  .program-grid,
  .scroll-row {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    scroll-snap-type: x mandatory;
  }

  .program-grid > *,
  .scroll-row > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .benefit-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
  }

  .benefit-list div {
    flex: 0 0 78%;
  }

  .cta-strip-inner {
    display: grid;
  }

  .rich-floating-assistant {
    right: 14px;
    bottom: 14px;
  }

  .rich-float-button span {
    display: none;
  }

  .rich-float-button {
    width: 58px;
    height: 58px;
    padding: 0.45rem;
    justify-content: center;
  }
}

/* v0.1.3 refinements */
.rich-section {
  padding: 72px 0;
}

.rich-section.compact {
  padding: 48px 0;
}

.hero-badges {
  display: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.hero-meta span::before {
  content: "\2022";
  color: var(--rich-gold);
  margin-right: 10px;
}

.hero-meta span:first-child::before {
  content: "";
  margin-right: 0;
}

.tab-buttons button.is-active {
  color: var(--rich-navy);
  background: var(--rich-gold);
  border-color: var(--rich-gold);
  box-shadow: none;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--rich-ink);
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--rich-gold);
  content: "\2713";
}

.program-image {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(0, 76, 140, 0.16)),
    url("../images/hero-rich-students.jpg") center / cover no-repeat;
}

.trust-image {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(212, 175, 55, 0.18)),
    url("../images/alumni-cruise.jpg") center / cover no-repeat;
}

.video-section {
  background: var(--rich-soft);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.video-embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rich-navy);
  border-radius: 24px;
  box-shadow: var(--rich-shadow);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.alumni-grid.scroll-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0 0.4rem;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  background: var(--rich-line);
  border-radius: 999px;
}

.carousel-dots span:first-child {
  width: 24px;
  background: var(--rich-gold);
}

.cta-strip .rich-btn-ghost.light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-menu {
  display: grid;
  gap: 0.55rem;
}

.footer-logo {
  width: min(230px, 100%);
  max-height: 76px;
  filter: none;
}

.footer-social {
  margin-bottom: 1rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  justify-content: center;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  .rich-section,
  .rich-section.compact {
    padding: 44px 0;
  }

  .hero-meta {
    gap: 8px 14px;
    font-size: 0.92rem;
  }

  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .alumni-grid.scroll-row {
    display: flex;
    grid-template-columns: none;
  }

  .alumni-grid.scroll-row > * {
    flex: 0 0 86%;
  }

  .rich-float-button {
    max-width: 150px;
  }
}

/* v0.1.4 header/footer polish */
.site-header .header-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  min-height: 76px;
}

.site-header .brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.site-header .brand img,
.site-header .custom-logo {
  display: block;
  width: auto;
  max-width: 260px;
  max-height: 60px;
  object-fit: contain;
}

.site-header .primary-nav {
  flex: 0 1 auto;
  justify-self: auto;
  margin-left: auto;
}

.site-header .menu {
  justify-content: flex-end;
}

.site-header .header-actions {
  flex: 0 0 auto;
}

.site-header .header-search {
  min-width: 44px;
  width: 44px;
  transition: width 180ms ease;
}

.site-header .header-search input {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  transition: width 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.site-header .header-search:focus-within,
.site-header .header-search:hover {
  width: min(260px, 22vw);
}

.site-header .header-search:focus-within input,
.site-header .header-search:hover input {
  width: 100%;
  padding: 0 0.8rem;
  opacity: 1;
}

.rich-btn-outline-dark {
  color: var(--rich-navy);
  background: #fff;
  border: 1px solid var(--rich-navy);
}

.alumni-cta {
  margin-top: 1rem;
}

.footer-logo-frame {
  display: inline-flex;
  width: min(230px, 100%);
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-bottom: 1.1rem;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.95);
  border-radius: 16px;
}

.footer-logo-frame .footer-logo {
  width: 100%;
  max-height: 58px;
  margin: 0;
  object-fit: contain;
}

.site-footer .footer-grid > div:first-child h2,
.site-footer .footer-grid > div:first-child p {
  max-width: 230px;
}

.footer-credit {
  display: grid;
  gap: 0.25rem;
}

@media (max-width: 1120px) {
  .site-header .header-inner {
    display: flex;
    min-height: 76px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .site-header .primary-nav {
    position: absolute;
    top: 114px;
    left: 0;
    right: 0;
    margin-left: 0;
  }

  .site-header .header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    min-height: 74px;
  }

  .site-header .brand img,
  .site-header .custom-logo {
    max-width: 260px;
    max-height: 58px;
  }

  .site-header .primary-nav {
    top: 112px;
  }

  .footer-logo-frame,
  .site-footer .footer-grid > div:first-child h2,
  .site-footer .footer-grid > div:first-child p {
    max-width: 100%;
    width: min(280px, 100%);
  }
}

/* v0.1.5 final header/footer overrides - keep at end */
.site-header .rich-topbar {
  color: #fff;
  background: linear-gradient(90deg, #0f172a, #004c8c);
}

.site-header .rich-topbar__inner {
  display: flex;
  min-height: 38px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-header .rich-topbar__contact,
.site-header .rich-topbar__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-header .rich-topbar__link,
.site-header .rich-topbar__social a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #fff;
}

.site-header .rich-main-header {
  background: #fff;
  border-bottom: 1px solid var(--rich-line);
}

.site-header .rich-main-header__inner {
  display: flex;
  min-height: 78px;
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
}

.site-header .rich-site-brand {
  flex: 0 0 auto;
  margin: 0 auto 0 0;
}

.site-header .rich-site-brand img {
  display: block;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain;
}

.site-header .rich-main-nav {
  flex: 1 1 auto;
}

.site-header .rich-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-header .rich-main-nav a {
  color: var(--rich-ink);
  font-size: 15px;
  font-weight: 800;
}

.site-header .rich-header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
}

.site-header .rich-header-search {
  display: flex;
  width: 46px;
  min-width: 46px;
  align-items: center;
  overflow: hidden;
  background: var(--rich-soft);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  transition: width 180ms ease;
}

.site-header .rich-header-search.is-open,
.site-header .rich-header-search:focus-within {
  width: min(280px, 24vw);
}

.site-header .rich-header-search input {
  width: 0;
  min-width: 0;
  min-height: 42px;
  padding: 0;
  opacity: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.site-header .rich-header-search.is-open input,
.site-header .rich-header-search:focus-within input {
  width: 100%;
  padding: 0 0.75rem;
  opacity: 1;
}

.site-header .rich-header-search button {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  min-height: 42px;
  place-items: center;
  color: var(--rich-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header .rich-search-submit {
  display: none !important;
}

.site-header .rich-header-search.is-open .rich-search-submit,
.site-header .rich-header-search:focus-within .rich-search-submit {
  display: inline-grid !important;
}

.site-header .rich-menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: 10px;
}

.site-header .rich-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--rich-navy);
  border-radius: 999px;
}

.site-header .rich-mobile-search,
.site-header .rich-menu-cta {
  display: none;
}

.site-footer .rich-footer-widgets {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.25fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}

.site-footer .rich-footer-contact {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer .rich-footer-bottom {
  display: grid;
  gap: 0.25rem;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .rich-footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header .rich-main-header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 74px;
  }

  .site-header .rich-site-brand {
    order: 1;
    margin-right: 0;
  }

  .site-header .rich-menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .site-header .rich-header-actions {
    display: none;
  }

  .site-header .rich-main-nav {
    display: none;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    margin: 0 -20px;
    padding: 12px 20px 18px;
    background: #fff;
    border-top: 1px solid var(--rich-line);
  }

  .site-header .rich-main-nav.is-open {
    display: block;
  }

  .site-header .rich-main-nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .site-header .rich-main-nav li,
  .site-header .rich-main-nav a {
    width: 100%;
  }

  .site-header .rich-mobile-search {
    display: flex;
    width: 100%;
    margin-top: 14px;
    overflow: hidden;
    background: var(--rich-soft);
    border: 1px solid var(--rich-line);
    border-radius: var(--rich-radius);
  }

  .site-header .rich-mobile-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 0.8rem;
    background: transparent;
    border: 0;
    outline: 0;
  }

  .site-header .rich-mobile-search button {
    width: 44px;
    min-height: 44px;
    color: var(--rich-navy);
    background: transparent;
    border: 0;
  }

  .site-header .rich-menu-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .site-header .rich-topbar__inner {
    justify-content: center;
    min-height: 44px;
  }

  .site-header .rich-topbar__contact span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

  .site-header .rich-topbar__contact,
  .site-header .rich-topbar__social {
    gap: 14px;
    justify-content: center;
  }

  .site-header .rich-site-brand img {
    max-width: min(72vw, 270px) !important;
  }

  .site-footer .rich-footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0;
  }
}

/* v0.2.1 homepage and page polish */
.rich-home-profile-carousel .rich-story-slide {
  min-height: 400px;
}

.rich-home-profile-carousel .rich-story-slide__image {
  min-height: 400px;
}

.news-carousel-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scroll-snap-type: x mandatory;
}

.news-slide-card {
  flex: 0 0 min(300px, 82vw);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.news-slide-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-slide-card img,
.news-slide-card .wp-post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--rich-soft);
}

.news-slide-card h3,
.news-slide-card p {
  padding: 0 1rem;
}

.news-slide-card h3 {
  margin-top: 1rem;
}

.news-slide-card p {
  padding-bottom: 1rem;
}

.news-title-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.news-title-grid a {
  padding: 0.95rem 1rem;
  color: var(--rich-ink);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-kabar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rich-kabar-grid .rich-kabar-item {
  display: block;
}

.rich-kabar-grid .rich-kabar-image {
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
}

.rich-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.rich-pagination .page-numbers {
  min-width: 42px;
  padding: 0.7rem 0.95rem;
  color: var(--rich-ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: 999px;
}

.rich-pagination .current {
  color: var(--rich-navy);
  background: var(--rich-gold);
  border-color: var(--rich-gold);
}

.rich-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rich-line);
}

.rich-post-nav div:last-child {
  text-align: right;
}

.rich-post-nav span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--rich-muted);
  font-size: 0.9rem;
}

.rich-post-nav a {
  color: var(--rich-ink);
  font-weight: 900;
  text-decoration: none;
}

.rich-registration-flyers {
  margin-top: 1.5rem;
}

.rich-flyer-slide {
  flex: 0 0 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rich-flyer-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--rich-radius);
}

.rich-flyer-slide h3 {
  margin-bottom: 0.4rem;
}

.rich-form input,
.rich-form select,
.rich-form textarea {
  width: 100%;
}

.rich-program-highlight-image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(0, 76, 140, 0.18)),
    #f5ead0;
}

.rich-program-highlight-image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .rich-kabar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .news-carousel-tools {
    justify-content: flex-start;
    margin-top: 0;
  }

  .news-title-grid,
  .rich-post-nav {
    grid-template-columns: 1fr;
  }

  .rich-post-nav div:last-child {
    text-align: left;
  }

  .rich-kabar-grid {
    grid-template-columns: 1fr;
  }

  .rich-timeline {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    scroll-snap-type: x mandatory;
  }

  .rich-timeline article {
    flex: 0 0 min(270px, 82vw);
    scroll-snap-align: start;
  }

  .rich-team-grid,
  .rich-facility-grid,
  .alumni-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rich-team-card,
  .rich-facility-card,
  .alumni-page-grid .alumni-card {
    padding: 0.85rem;
  }

  .rich-team-card p,
  .rich-facility-card p,
  .alumni-page-grid blockquote {
    display: none;
  }
}

@media (max-width: 460px) {
  .rich-team-grid,
  .rich-facility-grid,
  .alumni-page-grid {
    gap: 0.75rem;
  }

  .rich-team-card h3,
  .rich-facility-card h3,
  .alumni-page-grid h3 {
    font-size: 1rem;
  }
}

/* v0.2.2 front page editable polish */
.rich-home-profile-carousel .rich-story-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
}

.alumni-section .alumni-grid.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  grid-template-columns: none;
  align-items: stretch;
}

.alumni-section .alumni-grid.scroll-row > * {
  width: auto;
  min-width: 0;
  max-width: none;
}

.alumni-section .alumni-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.alumni-card h3,
.alumni-card p,
.alumni-card blockquote {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.alumni-section .alumni-photo,
.alumni-section .avatar-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 230px;
  object-fit: cover;
}

.alumni-page-grid .alumni-photo,
.alumni-page-grid .avatar-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.alumni-page-grid blockquote {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (min-width: 981px) {
  .alumni-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rich-home-profile-carousel .rich-story-slide__image {
    min-height: 0;
  }

  .alumni-section .alumni-grid.scroll-row {
    grid-auto-columns: minmax(210px, 74vw);
  }

  .alumni-section .alumni-photo,
  .alumni-section .avatar-placeholder {
    max-height: 220px;
  }
}

/* v0.2.5 alumni, chat panel, footer, and back-to-top polish */
.rich-back-to-top {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 999;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--rich-navy);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--rich-gold);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rich-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rich-floating-assistant {
  z-index: 1000;
}

.rich-floating-assistant.is-open.is-chatting .rich-float-button {
  display: none;
}

.rich-float-panel {
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 130px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rich-float-panel[hidden] {
  display: none;
}

.rich-float-head {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 2;
}

.rich-prechat,
.rich-floating-chat {
  min-height: 0;
  overflow-y: auto;
}

.rich-floating-chat {
  display: flex;
  flex-direction: column;
}

.rich-floating-chat[hidden] {
  display: none;
}

.rich-floating-chat .rich-chat-log {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 340px;
  overflow-y: auto;
}

.rich-floating-chat .rich-chat-input {
  flex: 0 0 auto;
}

.rich-chat-bubble {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer .rich-footer-bottom {
  justify-content: center;
  text-align: center;
}

.site-footer .rich-footer-bottom p {
  text-align: center;
}

@media (max-width: 760px) {
  .rich-floating-assistant {
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
  }

  .rich-floating-assistant > * {
    pointer-events: auto;
  }

  .rich-float-button {
    max-width: calc(100vw - 28px);
  }

  .rich-float-panel {
    position: fixed;
    right: 14px;
    bottom: 84px;
    left: 14px;
    width: auto;
    max-width: none;
    max-height: 85vh;
    border-radius: 14px;
  }

  .rich-prechat {
    max-height: calc(85vh - 58px);
  }

  .rich-floating-chat .rich-chat-log {
    max-height: calc(85vh - 180px);
  }

  .rich-back-to-top {
    left: 14px;
    bottom: 18px;
  }

  .site-footer .rich-footer-bottom {
    padding-right: 58px;
    padding-left: 58px;
  }
}

/* v0.2.6 about page slider ratio polish */
.rich-about-main-carousel .rich-story-slide__image {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.rich-about-main-carousel .rich-story-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-legal-carousel .rich-story-slide__image {
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: center;
  margin: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-legal-carousel .rich-story-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 980px) {
  .rich-about-main-carousel .rich-story-slide__image {
    aspect-ratio: 1 / 1;
  }

  .rich-legal-carousel .rich-story-slide__image {
    aspect-ratio: 4 / 5;
    margin: 1rem;
    border-right: 1px solid var(--rich-line);
    border-bottom: 1px solid var(--rich-line);
  }
}

@media (max-width: 760px) {
  .rich-about-main-carousel .rich-story-slide__image {
    aspect-ratio: 1 / 1;
  }

  .rich-legal-carousel .rich-story-slide__image {
    aspect-ratio: 4 / 5;
  }
}

/* v0.2.7 slider editor and navigation polish */
.rich-carousel-top-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  margin: 0;
}

.rich-formatted-content p,
.rich-formatted-content ul,
.rich-formatted-content ol {
  margin-bottom: 0.9rem;
}

.rich-formatted-content p:last-child,
.rich-formatted-content ul:last-child,
.rich-formatted-content ol:last-child {
  margin-bottom: 0;
}

.rich-formatted-content ul,
.rich-formatted-content ol {
  padding-left: 1.2rem;
}

.rich-formatted-content li {
  margin-bottom: 0.35rem;
  color: var(--rich-muted);
}

.rich-formatted-content strong {
  color: var(--rich-ink);
  font-weight: 900;
}

.rich-formatted-content em {
  font-style: italic;
}

.rich-formatted-content .aligncenter,
.rich-formatted-content .has-text-align-center {
  text-align: center;
}

.rich-formatted-content .alignright,
.rich-formatted-content .has-text-align-right {
  text-align: right;
}

.rich-formatted-content .alignleft,
.rich-formatted-content .has-text-align-left {
  text-align: left;
}

@media (max-width: 980px) {
  .rich-story-slide__copy {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .rich-carousel-top-tools {
    justify-content: flex-end;
    top: 10px;
    right: 10px;
  }
}

/* v0.2.9 description alignment and calmer carousel controls */
.rich-page-hero p,
.section-head p,
.rich-intro-content p,
.rich-video-content p,
.video-grid p,
.rich-formatted-content,
.rich-formatted-content p,
.rich-story-slide__copy p,
.rich-story-slide__copy li,
.alumni-card p,
.alumni-card blockquote,
.rich-kabar-copy p,
.news-slide-card p,
.program-card p,
.rich-program-row p,
.rich-facility-card p,
.rich-management-card p,
.rich-empty-state p {
  text-align: justify;
  text-justify: inter-word;
}

.rich-carousel-top-tools {
  position: static;
  inset: auto;
  z-index: auto;
  margin: -0.25rem 0 1rem;
  justify-content: flex-end;
}

.rich-story-slide__copy {
  justify-content: flex-start;
}

@media (max-width: 760px) {
  .rich-carousel-top-tools {
    margin: 0 0 0.85rem;
  }

  .rich-story-slide__copy {
    padding-top: 1.25rem;
  }
}

/* v0.3.0 homepage hero image ratio fix */
.hero.hero-slider {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.hero.hero-slider .hero-media {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.58), rgba(0, 76, 140, 0.28)),
    var(--rich-hero-image, url("../images/hero-rich-students.jpg")) center / contain no-repeat,
    linear-gradient(135deg, #0f172a, #004c8c);
}

.hero.hero-slider .hero-inner {
  min-height: 100%;
  padding: clamp(2.75rem, 5vw, 5.25rem) 0;
}

@media (max-width: 760px) {
  .hero.hero-slider {
    aspect-ratio: 4 / 5;
  }

  .hero.hero-slider .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.76)),
      var(--rich-hero-image, url("../images/hero-rich-students-mobile.jpg")) center / contain no-repeat,
      linear-gradient(135deg, #0f172a, #004c8c);
  }

  .hero.hero-slider .hero-inner {
    min-height: 100%;
    padding: 1.6rem 0;
  }
}

/* v0.3.1 editable hero highlights */
.hero-highlight-section {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  background: #fff;
  border-bottom: 1px solid var(--rich-line);
}

.hero-highlight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-highlight-card {
  display: grid;
  flex: 1 1 calc((100% - 3rem) / 4);
  max-width: calc((100% - 3rem) / 4);
  min-height: 128px;
  padding: 1.1rem 0.9rem;
  place-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
}

.hero-highlight-card i {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 0.7rem;
  place-items: center;
  color: var(--rich-navy);
  font-size: 1.25rem;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--rich-radius);
}

.hero-highlight-card span {
  color: var(--rich-navy);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 850;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .hero-highlight-card {
    flex-basis: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 420px) {
  .hero-highlight-grid {
    gap: 0.75rem;
  }

  .hero-highlight-card {
    min-height: 118px;
    padding: 0.95rem 0.65rem;
  }
}

/* v0.3.2 section rhythm and vertical timeline */
.section-head {
  width: 100%;
  max-width: none;
}

.section-head .rich-eyebrow,
.section-head h2 {
  text-align: left;
}

.section-head p,
.rich-about-intro-text,
.rich-about-intro-text p,
.rich-content,
.rich-content p,
.rich-page-hero p,
.rich-about-hero p,
.video-grid p,
.rich-formatted-content p,
.rich-story-slide__copy p,
.alumni-card p,
.alumni-card blockquote,
.rich-kabar-copy p,
.news-slide-card p,
.program-card p,
.rich-program-row p,
.rich-facility-card p,
.rich-management-card p,
.rich-empty-state p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.rich-about-intro-text {
  max-width: none;
}

.rich-about-intro-text .rich-content,
.rich-about-intro-text > p {
  max-width: none;
}

.rich-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1040px;
  margin-inline: auto;
}

.rich-timeline::before {
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--rich-blue), var(--rich-blue));
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.rich-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0 0 2rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rich-timeline article:last-child {
  padding-bottom: 0;
}

.rich-timeline article:nth-child(odd) .rich-timeline-card {
  grid-column: 1;
  text-align: right;
}

.rich-timeline article:nth-child(even) .rich-timeline-card {
  grid-column: 3;
}

.rich-timeline-marker {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 22px;
  height: 22px;
  margin: 0.7rem auto 0;
  background: var(--rich-blue);
  border: 5px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(0, 76, 140, 0.25), 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rich-timeline-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.rich-timeline article:hover .rich-timeline-marker {
  background: var(--rich-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28), 0 14px 30px rgba(15, 23, 42, 0.16);
  transform: scale(1.08);
}

.rich-timeline article:hover .rich-timeline-card {
  border-color: rgba(212, 175, 55, 0.55);
}

.rich-timeline span {
  display: inline-flex;
  margin-bottom: 0.25rem;
  color: var(--rich-blue);
  font-size: 1.55rem;
  font-weight: 950;
}

.rich-timeline h3 {
  margin-bottom: 0.55rem;
}

.rich-timeline p {
  margin-bottom: 0;
}

.rich-timeline article:nth-child(odd) p {
  text-align: right;
  text-align-last: right;
}

@media (max-width: 760px) {
  .rich-timeline {
    max-width: none;
  }

  .rich-timeline::before {
    left: 12px;
    transform: none;
  }

  .rich-timeline article,
  .rich-timeline article:nth-child(odd),
  .rich-timeline article:nth-child(even) {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .rich-timeline-marker {
    grid-column: 1;
    margin-top: 0.9rem;
  }

  .rich-timeline article:nth-child(odd) .rich-timeline-card,
  .rich-timeline article:nth-child(even) .rich-timeline-card {
    grid-column: 2;
    text-align: left;
  }

  .rich-timeline article:nth-child(odd) p {
    text-align: justify;
    text-align-last: left;
  }
}

/* v0.3.4 stronger back-to-top icon */
.rich-back-to-top {
  font-size: 0;
}

.rich-back-to-top span {
  display: inline-grid;
  place-items: center;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-1px);
}

.rich-back-to-top:hover span {
  transform: translateY(-3px);
}

/* v0.3.6 about team and facility card carousels */
.rich-card-carousel {
  position: relative;
}

.rich-card-carousel .rich-carousel-track {
  align-items: stretch;
}

.rich-card-carousel .rich-team-card,
.rich-card-carousel .rich-facility-card {
  display: flex;
  flex: 0 0 calc((100% - 3rem) / 4);
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}

.rich-card-carousel .rich-team-photo,
.rich-card-carousel .rich-facility-image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.9rem;
}

.rich-card-carousel h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.18;
}

.rich-card-carousel p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.rich-card-carousel .rich-team-role {
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .rich-card-carousel .rich-team-card,
  .rich-card-carousel .rich-facility-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 540px) {
  .rich-card-carousel .rich-team-card,
  .rich-card-carousel .rich-facility-card {
    flex-basis: 82%;
  }
}

/* v0.3.7 mobile card carousel readability */
.rich-card-carousel .rich-team-card p,
.rich-card-carousel .rich-facility-card p {
  display: block;
}

@media (max-width: 760px) {
  .rich-card-carousel .rich-team-card p,
  .rich-card-carousel .rich-facility-card p {
    display: block !important;
  }
}

@media (max-width: 540px) {
  .rich-card-carousel .rich-carousel-track {
    padding-inline: 0;
  }

  .rich-card-carousel .rich-team-card,
  .rich-card-carousel .rich-facility-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* v0.3.8 program page rebuild */
.rich-learning-carousel .rich-story-slide {
  min-height: 460px;
}

.rich-learning-carousel .rich-story-slide__image {
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: center;
  margin: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-learning-carousel .rich-story-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-competency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rich-competency-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.rich-competency-card i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 0.9rem;
  place-items: center;
  color: var(--rich-navy);
  font-size: 1.25rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--rich-radius);
}

.rich-competency-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.18;
}

.rich-competency-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.58;
}

.rich-competency-card .rich-competency-summary {
  margin-bottom: 0.65rem;
  color: var(--rich-navy);
  font-weight: 850;
}

@media (max-width: 980px) {
  .rich-learning-carousel .rich-story-slide__image {
    aspect-ratio: 4 / 5;
    margin: 1rem;
    border-right: 1px solid var(--rich-line);
    border-bottom: 1px solid var(--rich-line);
  }

  .rich-competency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .rich-competency-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.3.9 program learning copy layout */
.rich-program-learning-head {
  max-width: none;
}

.rich-program-learning-head .rich-content {
  max-width: none;
  margin-top: 0.5rem;
}

/* v0.4.2 registration conversion layout and program polish */
.rich-registration-flow {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.rich-registration-flow__image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--rich-navy);
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.rich-registration-flow__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-registration-flow h2,
.rich-registration-form-section .section-head h2,
.rich-next-info h2 {
  margin-top: 0.75rem;
}

.rich-registration-flow > div > p,
.rich-registration-form-section .section-head p,
.rich-next-info p {
  text-align: justify;
  text-align-last: left;
}

.rich-registration-steps {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.rich-registration-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 0.85rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-registration-steps span {
  grid-row: span 2;
  color: var(--rich-gold);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.rich-registration-steps h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.rich-registration-steps p {
  margin-bottom: 0;
  text-align: justify;
  text-align-last: left;
}

.rich-registration-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.rich-form select {
  width: 100%;
  min-height: 46px;
  padding: 0.82rem 0.9rem;
  color: var(--rich-ink);
  background: #fff;
  border: 1px solid var(--rich-line);
  border-radius: var(--rich-radius);
}

.rich-form small {
  color: var(--rich-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.rich-form .rich-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--rich-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.rich-form .rich-consent input {
  width: auto;
  min-height: 0;
  margin-top: 0.2rem;
}

.rich-next-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.rich-next-info > div {
  max-width: 860px;
}

.rich-next-info .rich-btn {
  color: #fff;
  background: var(--rich-blue);
  border-color: var(--rich-blue);
}

.cta-strip-inner > .rich-btn {
  min-width: 168px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .rich-program-hero .hero-meta {
    justify-content: center;
    text-align: center;
  }

  .rich-program-hero .hero-meta span:first-child::before {
    content: "\2022";
    margin-right: 10px;
  }

  .rich-registration-flow,
  .rich-registration-form-section {
    grid-template-columns: 1fr;
  }

  .rich-registration-flow__image {
    order: 2;
  }

  .rich-registration-flow > div {
    display: contents;
  }

  .rich-registration-flow .rich-eyebrow,
  .rich-registration-flow h2,
  .rich-registration-flow > div > p {
    order: 1;
  }

  .rich-registration-steps,
  .rich-registration-flyers {
    order: 3;
  }

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

  .rich-next-info {
    display: grid;
  }
}
