/* ══════════════════════════════════════════════════════════════════
   RADIX UI THEMES & WCAG AA LUXURY DESIGN SYSTEM
   Tuned to dark navy/gold brand:
   appearance="dark" accentColor="gold" grayColor="sand" radius="large"
   ══════════════════════════════════════════════════════════════════ */
:root {
  --navy: #061124;
  --navy-dark: #030814;
  --navy-light: #0d1e3d;
  --navy-card: #081730;
  --gold: #F0C95C; /* Brighter high-contrast gold (WCAG AA 4.5:1+) */
  --gold-hover: #F8D982;
  --gold-dim: #D4AF37;
  --gold-subtle: rgba(240, 201, 92, 0.16);
  --gold-border: rgba(240, 201, 92, 0.4);
  --sand-1: #111110;
  --sand-2: #191918;
  --sand-3: #222221;
  --sand-11: #b5b3ad;
  --sand-12: #eeeeec;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(255, 255, 255, 0.82);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ── 1. GLOBAL BODY & READABILITY (18px / 1.7) ───────────────── */
body {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: var(--text-secondary) !important;
  background-color: var(--navy-dark) !important;
  -webkit-font-smoothing: antialiased;
}

p, .fiduciary-lead, .why__description, .about-p, .team-bio, .service-desc {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: var(--text-secondary) !important;
}

/* ── 2. CARD & DESCRIPTION TEXT (MIN 16–17px) ───────────────── */
.mou-card-desc, .society-card-desc, .popular-listings__lede,
.what-sets-apart__card-description, .team-card-bio, .stat-label,
.fiduciary-pillar-text, .choice-swiper-slide__description,
.fiduciary-visual-desc, .popular-listings__price, .ceo-message__text,
.fiduciary-lead, .leader-bio-text {
  font-size: 16.5px !important;
  line-height: 1.65 !important;
  color: var(--text-secondary) !important;
}

/* ── 3. LABELS, PILLS, BADGES, EYEBROWS, TABS, CAPTIONS (MIN 14px) */
.badge, .gender-tag, .fiduciary-badge, .mou-status-pill, .mou-badge-signed,
.society-city-badge, .hero__tagline, .ceo-eyebrow, .leader-headline-tag,
.cat-tab-btn, .city-tab-btn, .popular-listings__badge, .popular-listings__tab,
.society-showcase__tag, .mou-location-tag, .fiduciary-visual-title,
.ceo-message__tagline span, .stat-tag, [data-filter-category], [data-society-city],
.popular-listings__eyebrow, .society-showcase__eyebrow {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}

/* ── 4. NAV & BUTTONS (15–16px) ──────────────────────────────── */
.nav-link, .nav__link, .CTA-btn__text, .mou-wa-btn, .team-card-btn,
.rsm-btn-primary, .rsm-btn-secondary, button, .CTA-btn,
.popular-listings__cta, .hero__button a, .fiduciary-services-link {
  font-size: 15.5px !important;
  font-weight: 600 !important;
}

/* ── 5. FLUID HEADINGS WITH CLAMP() ───────────────────────────── */
h1, .hero__headline-display {
  font-size: clamp(2.4rem, 4.2vw, 4.4rem) !important;
  line-height: 1.18 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

h2, .section-title, .fiduciary-heading, .ceo-message__heading,
.popular-listings__heading, .mou-heading, .society-showcase__title {
  font-size: clamp(2rem, 3.2vw, 3.2rem) !important;
  line-height: 1.25 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

h3, .card-title, .mou-project-name, .society-card-title,
.what-sets-apart__card-title, .team-card-name {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem) !important;
  line-height: 1.35 !important;
  color: #FFFFFF !important;
}

/* Section Subtitles */
.section-subtitle, .what-sets-apart__subtitle, .mou-subtitle,
.society-showcase__text, .team-subtitle, .popular-listings__lede {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ── 6. SPECIFIC FIXES: CARDS, PILLS & LINES ─────────────────── */
/* "Verified Title" and "High-Yield Growth" cards */
.fiduciary-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.fiduciary-pillar-item {
  background: rgba(8, 23, 48, 0.82) !important;
  border: 1px solid rgba(240, 201, 92, 0.35) !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(240, 201, 92, 0.2) !important;
  transition: all 0.3s ease !important;
}

.fiduciary-pillar-item:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 14px 40px rgba(240, 201, 92, 0.15), inset 0 1px 0 rgba(240, 201, 92, 0.3) !important;
  transform: translateY(-2px);
}

.fiduciary-pillar-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.fiduciary-pillar-header span {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.fiduciary-pillar-header svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
  width: 22px !important;
  height: 22px !important;
}

.fiduciary-pillar-text {
  font-size: 16.5px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
}

/* "Driven by fiduciary duty…" line */
.fiduciary-lead-highlight, p.fiduciary-lead {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
}

/* "CEO Inspiring Message" pill + quote */
.ceo-message__description div:first-child {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  background: rgba(240, 201, 92, 0.18) !important;
  border: 1px solid rgba(240, 201, 92, 0.5) !important;
}

.ceo-message__description div:first-child span:last-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #F8D982 !important;
  text-transform: uppercase !important;
}

.ceo-message__text:first-of-type {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
  font-style: italic !important;
  color: #FFFFFF !important;
  line-height: 1.7 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 20px !important;
}

/* Filter Tabs */
.cat-tab-btn, .city-tab-btn, [data-filter-category], [data-society-city], .popular-listings__tab {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(240, 201, 92, 0.35) !important;
  background: rgba(8, 23, 48, 0.8) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
}

.cat-tab-btn.active, .city-tab-btn.active, .popular-listings__tab.is-active {
  background: var(--gold) !important;
  color: #030814 !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 18px rgba(240, 201, 92, 0.38) !important;
}

/* MOU Card & Badges */
.mou-card {
  background: rgba(8, 23, 48, 0.85) !important;
  border: 1px solid rgba(240, 201, 92, 0.3) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.35s ease !important;
}

.mou-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 16px 45px rgba(240, 201, 92, 0.2) !important;
  transform: translateY(-4px);
}

.mou-card-badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.mou-badge-signed {
  background: rgba(6, 17, 36, 0.92) !important;
  color: #F8D982 !important;
  border: 1px solid rgba(240, 201, 92, 0.6) !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  backdrop-filter: blur(8px);
}

.mou-status-pill {
  background: rgba(240, 201, 92, 0.95) !important;
  color: #061124 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.mou-location-tag {
  color: var(--gold) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 8px 0 12px 0 !important;
}

.mou-price {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ── 7. BUG FIXES: WHY HEADING OVERLAP & STRAY BLUE BLOCK ───────── */
.why-flex {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.why__heading {
  position: relative !important;
  z-index: 10 !important;
  word-break: normal !important;
}

.why__heading span {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Keep floating images cleanly positioned away from the "?" in MARKETING? */
.why .why__floating-right {
  right: min(10rem, 10vw) !important;
  top: min(-8rem, -8vh) !important;
  z-index: 1 !important;
}

/* Stray blue block under left photo fix */
.contemporary__image-left {
  overflow: hidden !important;
  border-radius: 16px !important;
  background: transparent !important;
}

.contemporary__image-layer {
  display: none !important;
}

/* ── 8. MAJOR CLIENTS SECTION STYLES ──────────────────────────── */
.clients-grid-container {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

.client-logo-card {
  background: rgba(8, 23, 48, 0.7);
  border: 1px solid rgba(240, 201, 92, 0.25);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.client-logo-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 201, 92, 0.15);
}

.client-logo-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── 9. RADIX ICON INLINE STYLES ──────────────────────────────── */
.radix-icon {
  display: inline-block;
  vertical-align: -0.15em;
  stroke-width: 0;
}

/* ══════════════════════════════════════════════════════════════════
   RS MARKETING — MASTER OVERHAUL STYLESHEET (TASTE SKILL ENFORCED)
   Bespoke luxury real estate UI, uniform gender portrait backdrops,
   MOU project elevation bento, society showcases, booking portal & mini CMS.
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. UNIFORM PORTRAIT BACKDROPS (GOLD & DARK BLUE THEMES) ──── */
.portrait-backdrop-female {
  background:
    radial-gradient(circle at 50% 25%, rgba(245, 230, 163, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.3) 0%, rgba(170, 130, 34, 0.4) 40%, #061124 95%) !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.18), inset 0 0 20px rgba(212, 175, 55, 0.12) !important;
}

.portrait-backdrop-female::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(245, 230, 163, 0.6) 0%, transparent 50%, rgba(212, 175, 55, 0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

.portrait-backdrop-female .gender-tag {
  background: rgba(212, 175, 55, 0.2) !important;
  color: #F5E6A3 !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.portrait-backdrop-female .team-card-img img,
.portrait-backdrop-female .rsm-team-photo {
  object-fit: contain !important;
  object-position: center bottom !important;
}

.portrait-backdrop-male {
  background:
    radial-gradient(circle at 50% 25%, rgba(30, 80, 160, 0.45) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13, 34, 64, 0.7) 0%, rgba(6, 17, 36, 0.9) 45%, #030814 100%) !important;
  border-color: rgba(65, 120, 210, 0.4) !important;
  box-shadow: 0 12px 36px rgba(10, 35, 81, 0.4), inset 0 0 20px rgba(30, 80, 160, 0.15) !important;
}

.portrait-backdrop-male::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(100, 160, 255, 0.5) 0%, transparent 50%, rgba(30, 80, 160, 0.3) 100%);
  pointer-events: none;
  z-index: 2;
}

.portrait-backdrop-male .gender-tag {
  background: rgba(20, 60, 130, 0.35) !important;
  color: #B4D5FE !important;
  border: 1px solid rgba(80, 140, 230, 0.4) !important;
}

/* ── 2. CEO HOMEPAGE HIGHLIGHT SECTIONS ──────────────────────── */
.ceo-spotlight-section {
  position: relative;
  padding: 100px 5vw;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(10, 35, 81, 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #061124 0%, #081733 50%, #061124 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.ceo-spotlight-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
}

.ceo-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ceo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.ceo-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.ceo-heading {
  font-family: 'Cinzel Decorative', 'Outfit', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.ceo-heading span {
  display: block;
  background: linear-gradient(90deg, #D4AF37 0%, #F5E6A3 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ceo-quote-box {
  position: relative;
  padding: 28px 32px;
  background: rgba(10, 35, 81, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.ceo-quote-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
  margin-bottom: 16px;
}

.ceo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ceo-name-title h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.ceo-name-title p {
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.ceo-direct-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.ceo-media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.ceo-media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ceo-media-frame:hover img {
  transform: scale(1.03);
}

.ceo-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(6, 17, 36, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 12px 20px;
  border-radius: 12px;
}

/* ── 3. PROJECT CATEGORIES & MOU ELEVATIONS ──────────────────── */
.projects-overhaul-section {
  position: relative;
  padding: 90px 5vw 110px;
  background: #061124;
}

.projects-filter-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px auto 50px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  padding: 14px 32px;
  border-radius: 50px;
  background: rgba(10, 35, 81, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tab-btn:hover {
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.cat-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #061124;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.mou-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.mou-card {
  position: relative;
  border-radius: 20px;
  background: rgba(10, 35, 81, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.mou-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.18);
}

.mou-card-elevation {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a172e;
}

.mou-card-elevation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mou-card:hover .mou-card-elevation img {
  transform: scale(1.05);
}

.mou-status-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(6, 17, 36, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 2;
}

.mou-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.mou-project-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.mou-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.mou-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 4px;
}

.mou-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mou-price {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mou-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #061124;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.mou-wa-btn:hover {
  background: #20BA5A;
  transform: scale(1.04);
}

/* ── 4. SOCIETY SHOWCASE PORTALS ────────────────────────────── */
.societies-section {
  position: relative;
  padding: 90px 5vw;
  background:
    radial-gradient(circle at 10% 50%, rgba(10, 35, 81, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #061124 0%, #0a172e 100%);
}

.societies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1300px;
  margin: 50px auto 0;
}

.society-portal-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 35, 81, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.society-portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.15);
}

.society-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.society-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.society-portal-card:hover .society-card-img img {
  transform: scale(1.06);
}

.society-city-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 17, 36, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 6px;
  z-index: 2;
}

.society-card-content {
  padding: 20px;
}

.society-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.society-card-landmarks {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.4;
}

.society-card-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ── 5. PARTNER LOGOS GRID / CAROUSEL ───────────────────────── */
.partners-showcase-section {
  padding: 60px 5vw 80px;
  background: #061124;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.partners-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 36px auto 0;
}

.partner-logo-pill {
  padding: 16px 28px;
  background: rgba(10, 35, 81, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.35s ease;
}

.partner-logo-pill span.badge {
  font-size: 10px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 4px;
}

.partner-logo-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.15);
}

/* ── 6. DEDICATED MODALS (WHATSAPP PORTAL & SOCIETY VIEWER) ─── */
.rsm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.88);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsm-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.rsm-modal-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: #081733;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.2);
  transform: translateY(30px) scale(0.96);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsm-modal-backdrop.open .rsm-modal-box {
  transform: translateY(0) scale(1);
}

.rsm-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.rsm-modal-close:hover {
  background: var(--gold);
  color: #061124;
}

.rsm-modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #040c1a;
}

.rsm-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rsm-modal-content {
  padding: 30px;
}

/* ── 7. MINI ADMIN CMS PORTAL STYLES ────────────────────────── */
.admin-shell {
  min-height: 100vh;
  background: #040A14;
  color: #fff;
  padding: 40px 5vw 80px;
}

.admin-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.admin-tab-nav {
  display: flex;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 12px 24px;
  background: rgba(10, 35, 81, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 14px;
}

.admin-tab-btn.active {
  background: var(--gold);
  color: #061124;
  border-color: var(--gold);
}

.admin-panel-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #081733;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 36px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  padding: 12px 16px;
  background: rgba(6, 17, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* ── 8. RESPONSIVE BREAKPOINTS ──────────────────────────────── */
@media (max-width: 1024px) {
  .ceo-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .admin-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mou-projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-filter-bar {
    gap: 10px;
  }
  .cat-tab-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ── 9. TEAM PROFILE DETAILS & IN-PAGE EDIT MODALS ─────────────── */
.rsm-profile-modal-box {
  background: #081733;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  max-width: 680px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.25);
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 680px) {
  .rsm-profile-modal-box {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.rsm-profile-media {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.rsm-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rsm-profile-content {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* In-Page Quick Edit Button on Team Cards */
.team-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.25s ease;
}

.team-btn-wa {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.team-btn-wa:hover {
  background: #25D366;
  color: #061124;
}

.team-btn-profile {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.team-btn-profile:hover {
  background: var(--gold);
  color: #061124;
}

.team-card-quick-edit-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(6, 17, 36, 0.9);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.admin-active .team-card-quick-edit-trigger {
  display: inline-flex;
}

.team-card-quick-edit-trigger:hover {
  background: var(--gold);
  color: #061124;
}

/* ── 10. FLOATING ADMIN QUICK BAR ──────────────────────────────── */
.rsm-admin-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.rsm-admin-dock-toggle {
  background: linear-gradient(135deg, #11264c, #081733);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.rsm-admin-dock-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 28px rgba(212, 175, 55, 0.5);
}

.rsm-admin-dock-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: #081733;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  min-width: 220px;
  animation: fadeIn 0.25s ease;
}

.rsm-admin-dock.open .rsm-admin-dock-menu {
  display: flex;
}

.rsm-admin-dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.rsm-admin-dock-item:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
}

/* ── 11. LIVE IN-PAGE TEXT EDITING BAR & HIGHLIGHTS ────────────── */
body.live-edit-mode [data-rsm-editable] {
  outline: 2px dashed rgba(212, 175, 55, 0.7) !important;
  outline-offset: 4px;
  cursor: text !important;
  transition: outline-color 0.2s ease, background 0.2s ease;
}

body.live-edit-mode [data-rsm-editable]:hover {
  outline-color: #fff !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

body.live-edit-mode [data-rsm-editable]:focus {
  outline: 2px solid #25D366 !important;
  background: rgba(37, 211, 102, 0.08) !important;
}

.rsm-live-edit-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: rgba(5, 12, 26, 0.95);
  border-top: 2px solid var(--gold);
  backdrop-filter: blur(20px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.rsm-live-edit-toolbar .toolbar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rsm-live-edit-toolbar .toolbar-badge {
  background: #d4af37;
  color: #061124;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.rsm-live-edit-toolbar .toolbar-text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.rsm-live-edit-toolbar .toolbar-actions {
  display: flex;
  gap: 12px;
}

.rsm-live-edit-btn-save {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.rsm-live-edit-btn-save:hover {
  transform: translateY(-2px);
}

.rsm-live-edit-btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rsm-live-edit-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   12. MASTER HEADER NAVBAR OVERRIDE — CATEGORY PAGES NEVER OVERLAP
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  height: 88px !important;
  padding: 0 3.5vw !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(6, 17, 36, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* 1. Logo on Left (order 1) */
.header-center {
  position: static !important;
  transform: none !important;
  order: 1 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  z-index: 10 !important;
}

.header-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.logo-img {
  height: 44px !important;
  width: auto !important;
}

.logo-wordmark {
  font-family: 'Cinzel Decorative', 'Syne', serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* 2. Category Pages Navigation in Middle (order 2, never overlapping logo) */
.header-left {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 1.5vw, 22px) !important;
  flex: 1 1 auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.h-link {
  font-family: 'Syne', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  padding: 8px 6px !important;
  text-decoration: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease !important;
}

.h-link:hover,
.h-link.active {
  color: #FFFFFF !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.7) !important;
}

/* 3. Action Buttons on Right (order 3) */
.header-right {
  order: 3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
}

.header-cta-pill {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  white-space: nowrap !important;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .header-left {
    gap: 10px !important;
  }
  .h-link {
    font-size: 13.5px !important;
    padding: 6px 3px !important;
  }
  .logo-wordmark {
    font-size: 17px !important;
  }
  .logo-img {
    height: 38px !important;
  }
}

@media (max-width: 1024px) {
  .header-left {
    display: none !important;
  }
}

/* ── HOMEPAGE NAVBAR (INDEX.HTML) ── */
.navbar .navbar-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(12px, 1.8vw, 24px) !important;
  position: relative !important;
  padding: 18px 4vw !important;
}

.navbar-logo {
  position: static !important;
  transform: none !important;
  order: 1 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.rs-navbar-logo-text {
  font-size: clamp(2.0rem, 2.2vw, 2.6rem) !important;
  letter-spacing: 2.5px !important;
}

.navbar-navigation {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(10px, 1.5vw, 22px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  flex: 1 1 auto !important;
}

.navbar-navigation__link-text {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap !important;
}

.navbar-hamburger {
  order: 3 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .navbar-navigation {
    gap: 12px !important;
  }
  .navbar-navigation__link-text {
    font-size: 1.35rem !important;
  }
  .rs-navbar-logo-text {
    font-size: 1.9rem !important;
  }
}

@media (max-width: 1024px) {
  .navbar-navigation {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   13. MASTER TYPOGRAPHY SCALE BOOST (CLEAR, CRISP, VISIBLE TEXT)
   ══════════════════════════════════════════════════════════════════ */
.team-card-name {
  font-size: 23px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

.team-card-role {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
}

.team-card-phone {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.team-card-dept,
.gender-tag {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  padding: 6px 15px !important;
  border-radius: 6px !important;
}

.team-card-actions {
  gap: 12px !important;
  margin-top: 14px !important;
  padding-top: 12px !important;
}

.team-card-btn {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
}

.inner-subtitle {
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.what-sets-apart__card-title {
  font-size: 20px !important;
  font-weight: 800 !important;
}

.what-sets-apart__card-description {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.stat-number {
  font-size: clamp(40px, 4.2vw, 54px) !important;
  font-weight: 800 !important;
}

.stat-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.hero__text {
  font-size: clamp(1.6rem, 1.8vw, 2.0rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero__headline-display {
  font-family: 'Cinzel Decorative', 'Outfit', serif, sans-serif !important;
  font-size: clamp(2.4rem, 3.2vw, 4.2rem) !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: 1.5px !important;
  line-height: 1.25 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8) !important;
}

/* =====================================================================
   RS MARKETING — BESPOKE ARCHITECTURAL MASTER DESIGN SYSTEM
   Fusing:
   1. Halora 3-Zone Sunlit Editorial Hero with Front Building
   2. Reelmark Curved 3D Cylindrical Momentum Carousel
   3. Freight Scroll Sticky Architecture & Mirrored 6 Pillars
   4. Ethan Vale Custom Cursor, FLIP Lightbox & Fullscreen Clip-Menu
   Zero copied classes from external sites. 100% legal & proprietary.
   ===================================================================== */

:root {
  --rsm-void: #030712;
  --rsm-navy-deep: #050E1E;
  --rsm-navy-surface: #091932;
  --rsm-navy-card: rgba(8, 23, 48, 0.72);
  --rsm-gold: #D4AF37;
  --rsm-gold-light: #F6E294;
  --rsm-gold-glow: rgba(212, 175, 55, 0.28);
  --rsm-champagne: #F7F5EF;
  --rsm-muted: rgba(247, 245, 239, 0.74);
  --rsm-border-subtle: rgba(212, 175, 55, 0.22);
  --rsm-font-display: 'Cinzel Decorative', 'Outfit', serif;
  --rsm-font-headline: 'Syne', 'Outfit', sans-serif;
  --rsm-font-sans: 'Plus Jakarta Sans', sans-serif;
  --rsm-font-hand: 'Caveat', cursive;
}

/* ── 1. CUSTOM PRECISION CURSOR (ETHAN VALE SYSTEM) ─────────────── */
#rsmCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--rsm-gold);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 999999;
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              margin 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.35s ease,
              border 0.35s ease;
  will-change: transform;
}

#rsmCursor.wide {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--rsm-gold-light);
  box-shadow: 0 0 25px var(--rsm-gold-glow);
}

@media (hover: none) or (pointer: coarse) {
  #rsmCursor { display: none !important; }
}

/* ── 2. BESPOKE NAVIGATION BAR ──────────────────────────────────── */
.rsm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.4) 75%, transparent 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: background 0.4s ease, padding 0.4s ease;
}

.rsm-navbar.scrolled {
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(5, 14, 30, 0.94);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.rsm-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.rsm-brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--rsm-gold);
  background: radial-gradient(circle at 35% 30%, #17325c, #050e1e);
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.rsm-brand-text {
  display: flex;
  flex-direction: column;
}

.rsm-brand-title {
  font-family: var(--rsm-font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rsm-champagne);
  line-height: 1.1;
  text-transform: uppercase;
}

.rsm-brand-title span {
  color: var(--rsm-gold);
}

.rsm-brand-subtitle {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--rsm-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.rsm-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rsm-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rsm-champagne);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.rsm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--rsm-gold);
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rsm-nav-link:hover {
  color: var(--rsm-gold-light);
}

.rsm-nav-link:hover::after {
  width: 100%;
}

.rsm-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rsm-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rsm-pill-btn-gold {
  background: linear-gradient(135deg, #E5C058 0%, #D4AF37 50%, #997819 100%);
  color: #040914;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.rsm-pill-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
  color: #000;
}

.rsm-pill-btn-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--rsm-champagne);
  border: 1px solid var(--rsm-border-subtle);
  backdrop-filter: blur(10px);
}

.rsm-pill-btn-glass:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--rsm-gold);
  color: #fff;
}

.rsm-menu-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rsm-border-subtle);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsm-menu-trigger:hover {
  border-color: var(--rsm-gold);
  background: rgba(212, 175, 55, 0.15);
}

.rsm-menu-trigger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--rsm-champagne);
  transition: transform 0.3s ease, width 0.3s ease;
}

.rsm-menu-trigger span:nth-child(2) {
  width: 14px;
}

.rsm-menu-trigger:hover span:nth-child(2) {
  width: 20px;
}

/* ── 3. FULLSCREEN EDITORIAL MENU DRAWER (ETHAN VALE PATTERN) ────── */
.rsm-fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 75% 30%, #0d1e3d 0%, #030814 65%);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 64px);
  pointer-events: none;
}

.rsm-fullscreen-menu.open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.rsm-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 20px;
}

.rsm-menu-close {
  background: none;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--rsm-champagne);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsm-menu-close:hover {
  background: var(--rsm-gold);
  color: #000;
  border-color: var(--rsm-gold);
}

.rsm-menu-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.2vh, 26px);
  margin: auto 0;
}

.rsm-menu-item {
  font-family: var(--rsm-font-display);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 700;
  color: rgba(247, 245, 239, 0.5);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rsm-menu-item-num {
  font-family: var(--rsm-font-headline);
  font-size: clamp(14px, 1.4vw, 20px);
  color: var(--rsm-gold);
  font-weight: 600;
}

.rsm-menu-item:hover {
  color: #fff;
  transform: translateX(18px);
}

.rsm-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 24px;
  font-size: 14px;
  color: var(--rsm-muted);
}

/* ── 4. HALORA 3-ZONE SUNLIT EDITORIAL HERO WITH FRONT BUILDING ──── */
.rsm-hero-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 30%, #0d2244 0%, #061124 45%, #02060e 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px clamp(20px, 4vw, 64px) 60px;
  overflow: hidden;
}

.rsm-hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 20% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(13, 34, 68, 0.4) 0%, transparent 60%);
  z-index: 1;
}

.rsm-hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1680px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(30px, 4vw, 80px);
}

/* Zone 1: Left Copy */
.rsm-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rsm-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(10, 28, 58, 0.7);
  border: 1px solid var(--rsm-border-subtle);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rsm-gold-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rsm-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: rsmPulse 2s infinite;
}

@keyframes rsmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.rsm-hero-h1 {
  font-family: var(--rsm-font-headline);
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--rsm-champagne);
  margin: 0 0 22px 0;
  text-transform: uppercase;
}

.rsm-hero-h1 span.gold-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5DE96 40%, #D4AF37 80%, #997819 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.rsm-hero-subline {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--rsm-muted);
  max-width: 540px;
  margin: 0 0 34px 0;
}

.rsm-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rsm-hand-note {
  font-family: var(--rsm-font-hand);
  font-size: 22px;
  color: var(--rsm-gold-light);
  transform: rotate(-3deg);
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Zone 2: Center (The Front Building Anchor) */
.rsm-hero-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1000px;
}

.rsm-building-anchor {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.rsm-building-img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.2));
  transform-origin: bottom center;
}

.rsm-building-pedestal {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.35) 0%, rgba(13, 34, 68, 0.6) 40%, transparent 75%);
  filter: blur(8px);
  pointer-events: none;
}

/* Building Backdrop Lettering (Parallax Depth) */
.rsm-hero-backdrop-letters {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.rsm-backdrop-letter {
  font-family: var(--rsm-font-display);
  font-size: clamp(6rem, 12vw, 15rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(212, 175, 55, 0.08);
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.06);
  letter-spacing: -0.05em;
  will-change: transform;
}

/* Building Hotspots / Tags - Permanently removed per design brief */
.rsm-building-tag {
  display: none !important;
}

/* ── METRICS STRIP (BELOW HERO) ──────────────────────────────────── */
.rsm-metrics-strip {
  position: relative;
  z-index: 10;
  padding: 40px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(6, 17, 36, 0.98) 0%, rgba(3, 8, 20, 0.98) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.rsm-metrics-grid {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.rsm-glass-card {
  background: var(--rsm-navy-card);
  border: 1px solid var(--rsm-border-subtle);
  border-radius: 20px;
  padding: 24px 28px;
  backdrop-filter: var(--rsm-glass-blur);
  -webkit-backdrop-filter: var(--rsm-glass-blur);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.rsm-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.rsm-glass-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--rsm-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.25);
}

.rsm-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rsm-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rsm-card-val {
  font-family: var(--rsm-font-headline);
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 8px 0 6px 0;
  letter-spacing: -0.02em;
}

.rsm-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rsm-muted);
  line-height: 1.4;
}

/* ── 5. REELMARK-STYLE CURVED 3D CYLINDRICAL CAROUSEL ────────────── */
.rsm-curved-carousel-section {
  position: relative;
  padding: 100px 0;
  background: #02060e;
  overflow: hidden;
}

.rsm-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
  padding: 0 24px;
}

.rsm-section-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--rsm-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.rsm-section-h2 {
  font-family: var(--rsm-font-headline);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--rsm-champagne);
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.rsm-section-desc {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--rsm-muted);
  line-height: 1.6;
}

.rsm-curved-carousel-viewport,
.rsm-carousel-viewport {
  position: relative;
  width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 30px 4vw 50px;
}

.rsm-curved-carousel-viewport:active,
.rsm-carousel-viewport:active {
  cursor: grabbing;
}

.rsm-curved-carousel-viewport::-webkit-scrollbar,
.rsm-carousel-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.rsm-curved-carousel-viewport::-webkit-scrollbar-track,
.rsm-carousel-viewport::-webkit-scrollbar-track,
.rsm-curved-carousel-viewport::-webkit-scrollbar-thumb,
.rsm-carousel-viewport::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}

.rsm-curved-carousel-track,
.rsm-carousel-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  perspective: 1200px;
}

.rsm-curved-card {
  width: clamp(300px, 25vw, 360px);
  height: 500px;
  border-radius: 24px;
  background: #050E1E;
  border: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  cursor: pointer;
}

.rsm-curved-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--rsm-gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.3);
}

.rsm-curved-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rsm-curved-card:hover .rsm-curved-card-img {
  transform: scale(1.08);
}

.rsm-curved-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,7,18,0.2) 0%, rgba(5,14,30,0.6) 45%, rgba(2,6,14,0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.rsm-curved-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.rsm-curved-card-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--rsm-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rsm-curved-card-title {
  font-family: var(--rsm-font-headline);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.rsm-curved-card-loc {
  font-size: 13px;
  color: var(--rsm-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.rsm-curved-card-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--rsm-gold-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

/* ── 6. FREIGHT SCROLL STICKY ARCHITECTURE & AMBITION MEETING GALLERY ── */
.rsm-freight-scroll-container {
  position: relative;
  background: #030814;
  overflow: clip;
}

.rsm-freight-sticky-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.rsm-freight-bg-art {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13, 34, 68, 0.45) 0%, rgba(3, 8, 20, 0.88) 75%);
  z-index: -1;
  pointer-events: none;
}

.rsm-freight-axis-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.35) 25%, rgba(212, 175, 55, 0.35) 75%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.rsm-freight-center-headline {
  position: relative;
  text-align: center;
  font-family: var(--rsm-font-headline);
  font-size: clamp(2.3rem, 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--rsm-champagne);
  padding: 24px 36px;
  max-width: 980px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.98), 0 0 50px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.rsm-freight-center-headline::before {
  content: '';
  position: absolute;
  inset: -30px -50px;
  background: radial-gradient(ellipse at center, rgba(3, 8, 20, 0.92) 0%, rgba(3, 8, 20, 0.65) 50%, transparent 80%);
  border-radius: 40px;
  z-index: -1;
  pointer-events: none;
  filter: blur(14px);
}

.rsm-freight-center-headline span {
  display: block;
}

.rsm-freight-center-headline span.gold {
  color: #F3CA68;
  text-shadow: 0 0 30px rgba(243, 202, 104, 0.55), 0 4px 25px rgba(0, 0, 0, 0.95);
  letter-spacing: -0.01em;
}

.rsm-freight-scroll-track {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  padding: 60vh clamp(20px, 4vw, 64px) 240px clamp(20px, 4vw, 64px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Ambition Meeting Gallery ── */
.rsm-ambition-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 100px;
  position: relative;
}

.rsm-ambition-card {
  position: relative;
  background: #040A18;
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.88);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
}

.rsm-ambition-card.rsm-ambition-offset {
  margin-top: 120px;
}

.rsm-ambition-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 95px rgba(0, 0, 0, 0.95);
}

/* ── LEADER CLEAN BORDERLESS PORTFOLIO (NO FRONT TEXT OVERLAY) ─── */
.rsm-leader-gallery-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(13, 34, 68, 0.35) 0%, #030814 75%);
  padding: 100px clamp(20px, 4vw, 64px) 140px;
  max-width: 1480px;
  margin: 0 auto;
}

.rsm-leader-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsm-leader-gallery-heading {
  font-family: var(--rsm-font-headline);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 10px 0 14px;
}

.rsm-leader-gallery-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.rsm-leader-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: none;
  color: #F3CA68;
  font-family: var(--rsm-font-headline);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pulsing-gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F3CA68;
  box-shadow: 0 0 12px #F3CA68;
  animation: rsmDotPulse 2s infinite ease-in-out;
}

@keyframes rsmDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.rsm-leader-sticky-headline .sub-line {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-family: var(--rsm-font-body);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 14px;
  max-width: 680px;
}

.rsm-leader-sticky-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  pointer-events: auto;
}

.rsm-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--rsm-font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.rsm-sticky-btn.ig-btn {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}

.rsm-sticky-btn.ig-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(253, 29, 29, 0.45);
}

.rsm-sticky-btn.wa-btn {
  background: linear-gradient(135deg, #D4AF37, #F3CA68);
  color: #040A18;
}

.rsm-sticky-btn.wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* Borderless Leader Ambition Cards */
.rsm-ambition-card.rsm-leader-card {
  background: #040A18;
  border: none !important;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
}

.rsm-ambition-card.rsm-leader-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 45px 105px rgba(0, 0, 0, 0.98);
}

.rsm-leader-card-narrative {
  background: #050E22;
  border: none !important;
  padding: 30px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.rsm-leader-card-tag {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F3CA68;
}

.rsm-leader-card-title {
  font-family: var(--rsm-font-headline);
  font-size: clamp(1.3rem, 1.7vw, 1.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.rsm-leader-card-quote {
  position: relative;
  margin: 2px 0 4px;
  padding: 14px 18px 14px 22px;
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid #D4AF37;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.7;
  color: #F5E6A3;
}

.rsm-leader-card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.rsm-leader-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.rsm-leader-card-chips span {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #D4AF37;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.03em;
}

.rsm-ambition-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #040A18;
}

/* Irregular yet arranged aspect ratios */
.rsm-ambition-card.ratio-4-5 .rsm-ambition-media {
  aspect-ratio: 4 / 5;
  height: 520px;
}

.rsm-ambition-card.ratio-9-16 .rsm-ambition-media {
  aspect-ratio: 9 / 16;
  height: 640px;
}

.rsm-ambition-card.ratio-16-10 .rsm-ambition-media {
  aspect-ratio: 16 / 10;
  height: 380px;
}

.rsm-ambition-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: brightness(1) contrast(1.05);
}

.rsm-ambition-card:hover .rsm-ambition-media img {
  transform: scale(1.05);
  filter: brightness(1.04) contrast(1.08);
}

/* ── 7. LEADERSHIP SECTION ───────────────────────────────────────── */
.rsm-leadership-section {
  position: relative;
  padding: 120px clamp(20px, 4vw, 64px);
  background: radial-gradient(circle at 25% 40%, #081730 0%, #030814 70%);
}

.rsm-leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  max-width: 1540px;
  margin: 0 auto;
}

.rsm-leader-card {
  background: rgba(5, 14, 30, 0.75);
  border: 1px solid var(--rsm-border-subtle);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: var(--rsm-glass-blur);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
}

.rsm-leader-card:hover {
  border-color: var(--rsm-gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
}

.rsm-leader-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #040914;
}

.rsm-leader-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.rsm-leader-card:hover .rsm-leader-media img {
  transform: scale(1.05);
}

.rsm-leader-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.rsm-leader-body {
  padding: clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rsm-leader-name {
  font-family: var(--rsm-font-headline);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.rsm-leader-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--rsm-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.rsm-leader-quote {
  font-family: var(--rsm-font-display);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--rsm-champagne);
  font-style: italic;
  margin: 0 0 16px 0;
  border-left: 2px solid var(--rsm-gold);
  padding-left: 18px;
}

.rsm-leader-bio {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--rsm-muted);
  margin-bottom: 24px;
}

.rsm-leader-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rsm-lstat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--rsm-gold-light);
}

.rsm-lstat-lbl {
  font-size: 11px;
  color: var(--rsm-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 8. ADVISORY TEAM (FEMALE CONSULTANTS ONLY) ──────────────────── */
.rsm-team-section {
  padding: 100px clamp(20px, 4vw, 64px);
  background: #02060e;
}

.rsm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1540px;
  margin: 0 auto;
}

.rsm-team-card {
  background: rgba(5, 14, 30, 0.7);
  border: 1px solid var(--rsm-border-subtle);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: var(--rsm-glass-blur);
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.rsm-team-card:hover {
  transform: translateY(-6px);
  border-color: var(--rsm-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.rsm-team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.8;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #3a2e12, #0c1220);
}

.rsm-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rsm-team-card:hover .rsm-team-photo {
  transform: scale(1.06);
}

.rsm-team-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(212, 175, 55, 0.9);
  color: #040914;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.rsm-team-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rsm-team-name {
  font-family: var(--rsm-font-headline);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.rsm-team-role {
  font-size: 13.5px;
  color: var(--rsm-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.rsm-team-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--rsm-champagne);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rsm-team-wa-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold-light);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rsm-team-wa-btn:hover {
  background: var(--rsm-gold);
  color: #000;
}

/* ── 9. PLANET PORTAL IMMERSIVE MOU DOSSIER MODAL ────────────────── */
.rsm-flip-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: radial-gradient(circle at 50% 50%, rgba(5, 14, 30, 0.94) 0%, rgba(2, 5, 12, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rsm-flip-modal.open {
  display: flex;
  opacity: 1;
}

.rsm-flip-plate {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: 92vh;
  overflow-y: auto;
  background: #040A18;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.98), 0 0 50px rgba(212, 175, 55, 0.25);
  animation: rsmPortalExpand 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rsmPortalExpand {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(30px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.rsm-flip-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.rsm-flip-close:hover {
  background: var(--rsm-gold);
  color: #000;
  border-color: var(--rsm-gold);
  transform: rotate(90deg);
}

/* ── Portal Facts Data List (From Prompt) ── */
.rsm-portal-facts {
  display: flex;
  flex-direction: column;
  margin: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rsm-portal-facts .fact {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

.rsm-portal-facts .fact dt {
  font-weight: 700;
  color: var(--rsm-gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rsm-portal-facts .fact dd {
  margin: 0;
  color: #E2E8F0;
}

/* ── 10. RESPONSIVE BREAKPOINTS (ALL DEVICES) ────────────────────── */
@media (max-width: 1200px) {
  .rsm-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rsm-hero-center {
    grid-column: 1 / -1;
    order: 3;
    margin-top: 30px;
  }
  .rsm-ambition-gallery {
    gap: 50px 60px;
  }
}

@media (max-width: 900px) {
  .rsm-nav-links {
    display: none;
  }
  .rsm-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rsm-hero-center {
    order: 2;
  }
  .rsm-hero-right {
    order: 3;
  }
  .rsm-ambition-gallery {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rsm-ambition-card.rsm-ambition-offset {
    margin-top: 0;
  }
  .rsm-ambition-card.ratio-4-5 .rsm-ambition-media {
    height: 380px;
  }
  .rsm-ambition-card.ratio-9-16 .rsm-ambition-media {
    height: 480px;
  }
  .rsm-ambition-card.ratio-16-10 .rsm-ambition-media {
    height: 240px;
  }
  .rsm-freight-scroll-track {
    padding-top: 50vh;
  }
  .rsm-leadership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rsm-navbar {
    padding: 14px 20px;
  }
  .rsm-brand-title {
    font-size: 18px;
  }
  .rsm-hero-stage {
    padding: 95px 18px 40px;
  }
  .rsm-hero-h1 {
    font-size: 2.3rem;
  }
  .rsm-curved-card {
    width: 270px;
    height: 400px;
  }
  .rsm-ambition-media {
    height: 260px;
  }
  .rsm-ambition-caption {
    padding: 18px 20px;
  }
  .rsm-ambition-title {
    font-size: 16px;
  }
  .rsm-leadership-section {
    padding: 70px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   EXPANDED VISUAL PORTFOLIO & LEADERSHIP STORIES (LEADER.HTML)
   ═══════════════════════════════════════════════════════════════════ */
.leader-gallery-section {
  padding: 100px 5vw 120px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(10, 35, 81, 0.45) 0%, transparent 60%),
    #040c1a;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.portfolio-grid-wrap {
  max-width: 1320px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Flagship Card: Azaan Ali Official Executive Portrait */
.portfolio-flagship-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background: linear-gradient(135deg, rgba(8, 23, 51, 0.85) 0%, rgba(4, 12, 26, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.1);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-flagship-card:hover {
  border-color: var(--rsm-gold);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85), 0 0 40px rgba(212, 175, 55, 0.22);
}

.portfolio-flagship-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #061124;
}

.portfolio-flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-flagship-card:hover .portfolio-flagship-media img {
  transform: scale(1.04);
}

.portfolio-flagship-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(4, 12, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.portfolio-flagship-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* Subgrid for Story Cards 2 to 7 */
.portfolio-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-story-card {
  background: linear-gradient(135deg, rgba(8, 23, 51, 0.75) 0%, rgba(4, 12, 26, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.4s ease;
}

.portfolio-story-card:hover {
  transform: translateY(-6px);
  border-color: var(--rsm-gold);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.18);
}

.portfolio-story-media {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  background: #040c1a;
}

.portfolio-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-story-card:hover .portfolio-story-media img {
  transform: scale(1.06);
}

.portfolio-story-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(4, 12, 26, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.portfolio-story-body {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.portfolio-story-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rsm-gold);
}

.portfolio-story-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.portfolio-story-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-style: italic;
  color: #FDFBF7;
  line-height: 1.65;
  border-left: 3px solid var(--rsm-gold);
  padding: 10px 16px 10px 18px;
  margin: 4px 0 0;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 8px 8px 0;
}

.portfolio-story-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}

.portfolio-story-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--rsm-gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .portfolio-flagship-card {
    grid-template-columns: 1fr;
  }
  .portfolio-flagship-media {
    min-height: 380px;
  }
  .portfolio-flagship-body {
    padding: 32px 28px;
  }
  .portfolio-subgrid {
    grid-template-columns: 1fr;
  }
}





/* ENFORCE NO PHONE NUMBERS IN TEAM CARDS */
.team-card-phone,
.rsm-team-phone {
  display: none !important;
}

.team-card-actions {
  display: flex !important;
  width: 100% !important;
}

.team-card-actions .team-btn-wa,
.rsm-team-wa-btn {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 800 !important;
}



/* ══════════════════════════════════════════════════════════════════
   TEAM CARD FACE OVERLAP FIX, SYMMETRICAL CENTERING & LUXURY PROPORTIONS
   ══════════════════════════════════════════════════════════════════ */
.team-card {
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.team-card-img {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4.15 !important;
  overflow: hidden !important;
}

.team-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Badge pinned to top-left corner so it NEVER overlaps faces */
.team-card-dept,
.gender-tag,
.team-card .gender-tag,
.team-card-info .team-card-dept {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 10 !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 11px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Bottom info container centered and compact */
.team-card-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 16px 16px 16px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.team-card-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  width: 100% !important;
}

.team-card-role {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  width: 100% !important;
}

.team-card-actions {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  justify-content: center !important;
}

.team-card-actions .team-btn-wa {
  width: 100% !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  justify-content: center !important;
  background: rgba(37, 211, 102, 0.22) !important;
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease !important;
}

.team-card-actions .team-btn-wa:hover {
  background: #25D366 !important;
  color: #040914 !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Smooth gradient behind text so face remains 100% illuminated */
.team-card-img::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 48% !important;
  background: linear-gradient(to top, rgba(6, 17, 36, 0.98) 0%, rgba(6, 17, 36, 0.7) 45%, transparent 100%) !important;
  pointer-events: none !important;
}

/* ── OFFICIAL DEVELOPER MOU SIGNINGS SHOWCASE ───────────────────── */
.rsm-mou-gallery-section {
  position: relative;
  padding: 100px clamp(20px, 4vw, 64px) 120px;
  background: radial-gradient(circle at 50% 25%, #081734 0%, #020611 85%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.rsm-mou-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1540px;
  margin: 0 auto;
}

.rsm-mou-sign-card {
  position: relative;
  background: rgba(5, 14, 30, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.rsm-mou-sign-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.18);
}

.rsm-mou-sign-media {
  position: relative;
  aspect-ratio: 16 / 11;
  width: 100%;
  overflow: hidden;
  background: #020611;
}

.rsm-mou-sign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rsm-mou-sign-card:hover .rsm-mou-sign-media img {
  transform: scale(1.05);
}

.rsm-mou-sign-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(3, 8, 20, 0.88);
  border: 1px solid var(--rsm-gold);
  color: var(--rsm-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.rsm-mou-sign-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rsm-mou-sign-name {
  font-family: var(--rsm-font-headline);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.rsm-mou-sign-sub {
  color: var(--rsm-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.rsm-mou-sign-desc {
  color: var(--rsm-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.rsm-mou-sign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.rsm-mou-sign-action {
  color: var(--rsm-gold);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.rsm-mou-sign-action:hover {
  transform: translateX(4px);
}

