/* ============================================================
   RELIANCE CLUB — HOMEPAGE
   Scene-by-scene visual styling
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   SCENE 1: HERO / ENTRY
═══════════════════════════════════════════════════════════════ */
.scene--entry {
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: var(--space-24); /* Prevents collision with header */
  padding-bottom: var(--space-20);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  max-width: 900px;
  margin-top: 150px;
}

.hero__meta {
  margin-top: 80px;
  margin-bottom: var(--space-5);
}

.hero__title {
  font-size: var(--text-hero);
  line-height: var(--lead-tight);
  letter-spacing: var(--track-tight);
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-line--italic {
  color: var(--gold-pale);
  font-size: calc(var(--text-hero) * 1.1);
  line-height: 0.95;
}

.hero__title-line--word {
  font-style: normal;
}

[data-wordcycle] {
  display: inline-block;
  min-width: 4ch;
  color: var(--gold);
}

.hero__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: #EDE8DC;
  line-height: var(--lead-relaxed);
  max-width: 55ch;
  margin-bottom: var(--space-10);
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ══════════════════════════════════════════════════════════════
   SCENE 2: LEGACY NUMBERS
═══════════════════════════════════════════════════════════════ */
.scene--legacy {
  background: #F8F8F8;
  padding: var(--space-24) 0;
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
}

.legacy__inner {
  text-align: center;
}

.legacy__label {
  margin-bottom: var(--space-10);
}

.legacy__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-10);
}

.legacy__stat {
  flex: 1;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.legacy__divider {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.legacy__number {
  display: block;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}

.legacy__desc {
  display: block;
  margin-top: var(--space-2);
}

.legacy__body {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--ivory);
  max-width: 65ch;
  margin: 0 auto;
  line-height: var(--lead-relaxed);
}

/* ══════════════════════════════════════════════════════════════
   SCENE 3: HERITAGE
═══════════════════════════════════════════════════════════════ */
.scene--heritage {
  padding: var(--space-32) 0;
  background: #FFFFFF;
}

.heritage__year-badge {
  position: absolute;
  bottom: var(--space-8);
  left: calc(-1 * var(--space-8));
  background: #F8F8F8;
  border: var(--border-gold-med);
  padding: var(--space-5) var(--space-6);
  text-align: center;
}

.heritage__year-badge .t-display {
  display: block;
  font-size: var(--text-3xl);
  color: var(--gold);
  line-height: 1;
}

.heritage__year-badge .t-meta {
  display: block;
  margin-top: var(--space-1);
}

.heritage__body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--ivory);
  line-height: var(--lead-relaxed);
  max-width: 48ch;
  margin-bottom: var(--space-5);
}

.heritage__cta-group {
  margin-top: var(--space-8);
}

/* ══════════════════════════════════════════════════════════════
   SCENE 4: HORIZONTAL EXPERIENCE JOURNEY
═══════════════════════════════════════════════════════════════ */
.hscroll-container {
  position: relative;
  overflow: hidden;
}

/* Side index */
.hscroll-index {
  position: absolute;
  right: var(--space-8);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.hscroll-index-item {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--ivory);
  transition: color var(--motion-fast), font-size var(--motion-fast);
  display: block;
  line-height: 1;
}

.hscroll-index-item.is-active {
  color: var(--gold);
  font-size: 0.75rem;
}

/* Context label */
.hscroll-context {
  position: absolute;
  top: var(--space-8);
  left: var(--gutter);
  z-index: 10;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--ivory);
  pointer-events: none;
}

/* Panels */
.hpanel__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hpanel__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 25, 55, 0.85) 0%, rgba(1, 25, 55, 0.4) 50%, rgba(1, 25, 55, 0.15) 100%);
  pointer-events: none;
}

.hpanel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.h-scroll-panel.is-active .hpanel__bg img {
  transform: scale(1.02);
}

.hpanel__content {
  position: absolute;
  bottom: var(--space-24);
  left: var(--gutter);
  max-width: min(100vw - 2 * var(--gutter), 800px);
  z-index: 3;
}

.hpanel__meta {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--gold);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hpanel__title {
  font-family: var(--font-display);
  font-size: var(--text-titan);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 0.9;
  letter-spacing: var(--track-tight);
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
  /* clip reveal on active */
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease-luxury);
}

.hpanel__body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: #F5F0E8;
  line-height: var(--lead-relaxed);
  max-width: 520px;
  margin-bottom: var(--space-8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hpanel__number {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-display);
  font-size: 30vw;
  font-weight: 900;
  color: rgba(1, 25, 55, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* Mobile: convert hscroll to vertical */
@media (max-width: 768px) {
  [data-hscroll-wrap] {
    height: auto !important;
  }

  .hscroll-container {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  .h-scroll-track {
    flex-direction: column !important;
    transform: none !important;
    width: 100% !important;
  }

  .h-scroll-panel {
    flex: none !important;
    width: 100% !important;
    height: 100svh !important;
    min-height: 600px !important;
  }

  .hscroll-index { display: none; }
  .hpanel__title { font-size: clamp(4rem, 18vw, 8rem); }
  .hpanel__content { bottom: var(--space-12); }
}

/* ══════════════════════════════════════════════════════════════
   SCENE 5: DINING FEATURE
═══════════════════════════════════════════════════════════════ */
.scene--dining-feature {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-32) 0;
}

.scene--dining-feature .overlay {
  background: linear-gradient(to right, rgba(10, 9, 7, 0.9) 0%, rgba(10, 9, 7, 0.6) 50%, rgba(10, 9, 7, 0.2) 100%);
  z-index: 1;
}

.dining-feature__image-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dining-feature__image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dining-feature__content {
  position: relative;
  z-index: 2;
}

.dining-feature__left {
  max-width: 580px;
}

.dining-feature__title {
  font-size: var(--text-5xl);
  color: #FFFFFF;
  margin: var(--space-4) 0 var(--space-10);
  line-height: var(--lead-tight);
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.dining-venues {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.dining-venue {
  display: flex;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: var(--border-gold);
}

.dining-venue:last-child {
  border-bottom: none;
}

.dining-venue__number {
  min-width: 30px;
  padding-top: 3px;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.dining-venue__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: var(--space-1);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.dining-venue__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lead-relaxed);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* ══════════════════════════════════════════════════════════════
   SCENE 6: PINNED CLUB LIFE SEQUENCE
═══════════════════════════════════════════════════════════════ */
.scene--clublife {
  background: #FFFFFF;
}

.seq-bg {
  position: absolute;
  inset: 0;
}

.seq-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-cinematic) var(--ease-luxury),
              opacity var(--motion-medium) var(--ease-luxury);
}

.sequence-frame .seq-bg img {
  transform: scale(1.06);
  opacity: 0;
}

.sequence-frame.is-active .seq-bg img {
  transform: scale(1.0);
  opacity: 1;
}

.seq-content {
  position: absolute;
  bottom: var(--space-24);
  left: var(--gutter);
  max-width: 600px;
  z-index: 3;
}

.seq-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: #ffffff;
  line-height: var(--lead-tight);
  margin: var(--space-3) 0 var(--space-5);
  letter-spacing: var(--track-tight);
}

.seq-body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: #ffffff;
  opacity: 0.9;
  line-height: var(--lead-relaxed);
  max-width: 45ch;
}



/* Sequence indicators */
.seq-indicators {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-10);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

/* Mobile adjustments for Legacy counters */
@media (max-width: 768px) {
  .legacy__grid { flex-direction: column; align-items: stretch; }
  .legacy__stat { width: 100%; margin-bottom: var(--space-5); }
  .legacy__divider { display: none; }
}

/* Ensure meta labels in sequence section are white */
.seq-content .t-meta { color: #C9A96E !important; }
.seq-content .seq-title { color: #ffffff !important; }
.seq-content .seq-body { color: #ffffff !important; }


.seq-dot {
  width: 24px;
  height: 2px;
  background: rgba(201,169,110,0.3);
  transition: background var(--motion-fast), width var(--motion-fast);
  cursor: pointer;
}

.seq-dot.is-active {
  background: var(--gold);
  width: 40px;
}

/* Mobile: no sticky, let it scroll naturally as individual story cards */
@media (max-width: 768px) {
  [data-sequence-wrap] {
    height: auto !important;
  }

  .scene--clublife {
    position: static !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .sequence-frame {
    position: relative !important;
    height: 100svh !important;
    min-height: 520px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
  }

  .sequence-frame .seq-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
  }

  .sequence-frame .seq-bg img {
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .sequence-frame .seq-content {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    padding: var(--space-8) var(--gutter) var(--space-12) !important;
    z-index: 3 !important;
    max-width: 100% !important;
  }

  .seq-indicators { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   SCENE 7: EVENTS
═══════════════════════════════════════════════════════════════ */
.scene--events {
  padding: var(--space-32) 0;
  background: #FFFFFF;
}

.events__capacity-badge {
  position: absolute;
  top: var(--space-8);
  right: calc(-1 * var(--space-8));
  background: var(--gold);
  color: var(--obsidian);
  padding: var(--space-4) var(--space-5);
  text-align: center;
}

.events__capacity-badge .t-display {
  display: block;
  line-height: 1;
  color: var(--obsidian);
}

.events__capacity-badge .t-meta {
  color: rgba(10,9,7,0.6);
  margin-top: var(--space-1);
}

.editorial__body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: #011937;
  line-height: var(--lead-relaxed);
  max-width: 48ch;
  margin-bottom: var(--space-6);
}

.events__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.events__list li {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: #011937;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ══════════════════════════════════════════════════════════════
   SCENE 8: AFFILIATIONS
═══════════════════════════════════════════════════════════════ */
.scene--affiliations {
  padding: var(--space-32) 0;
  background: #FFFFFF;
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  margin: var(--space-12) 0;
}

.affil-item {
  background: #FFFFFF;
  border: 1px solid rgba(201,169,110,0.4);
  padding: var(--space-8) var(--space-8);
  transition: all var(--motion-fast) var(--ease-smooth);
}

.affil-item:hover {
  background: #011937 !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 25, 55, 0.15);
}

.affil-item:hover .affil-item__name {
  color: #FFFFFF !important;
}

.affil-item:hover .affil-item__loc {
  color: #DFC28A !important;
}

.affil-item__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #011937;
  font-weight: 400;
  margin-bottom: var(--space-2);
  line-height: 1.25;
}

.affil-item__loc {
  display: block;
  color: #3A4A5A;
}

.affiliations__footer {
  text-align: center;
}

@media (max-width: 900px) {
  .affiliations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .affiliations-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   SCENE 9: MEMBERSHIP CTA
═══════════════════════════════════════════════════════════════ */
.scene--membership {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.membership__bg {
  position: absolute;
  inset: 0;
}

.membership__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership__content {
  position: relative;
  z-index: 2;
}

.membership__inner {
  max-width: 620px;
}

.membership__title {
  font-size: var(--text-5xl);
  color: #011937;
  line-height: var(--lead-tight);
  margin: var(--space-4) 0 var(--space-6);
  letter-spacing: var(--track-tight);
}

.membership__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: #2A3A4A;
  opacity: 0.85;
  line-height: var(--lead-relaxed);
  max-width: 50ch;
  margin-bottom: var(--space-10);
}

.membership__cta-group {
  display: flex;
  gap: var(--space-4);
}

.membership__rule {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.2;
}

/* ══════════════════════════════════════════════════════════════
   SCENE 10: CONTACT
═══════════════════════════════════════════════════════════════ */
.scene--contact {
  padding: var(--space-32) 0;
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-20);
  align-items: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.contact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding-bottom: var(--space-5);
  border-bottom: var(--border-light);
}

.contact-item:last-child { border-bottom: none; }

.contact-item__label { padding-top: 2px; }

.contact-item__value {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: #3A4A5A;
  line-height: var(--lead-relaxed);
}

.contact-item__value address { font-style: normal; }

.contact-link {
  color: #011937;
  transition: color var(--motion-fast);
}

.contact-link:hover { color: var(--gold); }

.map-frame {
  position: relative;
  height: 500px;
  overflow: hidden;
  border: var(--border-gold);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(0.9) sepia(0.2);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .map-frame { height: 350px; }
}

/* ══════════════════════════════════════════════════════════════
   SCENE 11: CLOSING
═══════════════════════════════════════════════════════════════ */
.scene--closing {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.closing__bg {
  position: absolute;
  inset: 0;
}

.closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing__content {
  position: relative;
  z-index: 2;
}

.closing__tagline {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold-pale);
  margin-bottom: var(--space-10);
  line-height: 1;
}

.closing__links {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}

.closing__links .btn--ghost {
  color: var(--ivory);
}

.closing__links .btn--ghost:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   GATEWAY
═══════════════════════════════════════════════════════════════ */
.gateway__logo-img {
  display: block;
  margin: 0 auto var(--space-4);
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════════
   SECTION LABELS (homepage override)
═══════════════════════════════════════════════════════════════ */
.section-header__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-header__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   BODY LOCKED STATE (during gateway)
═══════════════════════════════════════════════════════════════ */
body.gateway-open #rc-nav {
  opacity: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   LEADERSHIP & GOVERNANCE SPOTLIGHT (HOMEPAGE)
   Warm Luxury Off-White Architectural Theme
═══════════════════════════════════════════════════════════════ */
.scene--leadership {
  position: relative;
  background: radial-gradient(ellipse at 50% -10%, rgba(201, 169, 110, 0.12) 0%, rgba(250, 248, 245, 0) 70%), #FAF8F5;
  padding: var(--space-24) 0;
  overflow: hidden;
  border-top: 1px solid rgba(184, 150, 88, 0.25);
  border-bottom: 1px solid rgba(184, 150, 88, 0.25);
}

.scene--leadership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  height: 100%;
  background: radial-gradient(ellipse at 50% 15%, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Explicit high-contrast typography overrides */
.scene--leadership .section-header__label {
  color: #8C682A !important;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: var(--text-xs);
}

.scene--leadership .section-header__title {
  color: #011937 !important;
  font-family: var(--font-display);
  font-weight: 400;
  margin: var(--space-3) 0 var(--space-4);
  line-height: 1.15;
}

.scene--leadership .section-header__title em {
  color: #9E7432 !important;
  font-family: var(--font-display-italic);
  font-style: italic;
  font-weight: 400;
}

.scene--leadership .section-header__body {
  color: #4A463F !important;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
}

.leadership-stage {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-12);
}

.leadership-stage__header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.leadership-stage__tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C682A;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(184, 150, 88, 0.4);
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
}

.leadership-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-card {
  background: #FFFFFF;
  border: 1px solid rgba(184, 150, 88, 0.32);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  position: relative;
  box-shadow: 0 4px 18px rgba(1, 25, 55, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.leadership-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #C5A059;
  box-shadow: 0 18px 36px rgba(1, 25, 55, 0.13), 0 0 0 1px #C5A059;
}

.leadership-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.9;
  overflow: hidden;
  background: #EDE8DE;
}

.leadership-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.leadership-card:hover .leadership-card__img {
  transform: scale(1.06);
}

.leadership-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 150, 88, 0.55);
  color: #8C682A;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.leadership-card__body {
  padding: var(--space-4) var(--space-3) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  flex-grow: 1;
}

.leadership-card__role {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9E7432;
  font-weight: 600;
  margin-bottom: var(--space-1);
  display: block;
}

.leadership-card__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #011937;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Continuous Marquee Section */
.leadership-marquee-wrap {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid rgba(184, 150, 88, 0.3);
  box-shadow: 0 8px 30px rgba(1, 25, 55, 0.05);
  border-radius: 14px;
  padding: var(--space-6) var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-marquee-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  padding: 0 var(--space-2);
}

.leadership-marquee-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #011937;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.leadership-marquee-hint {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: #7A756F;
  letter-spacing: 0.08em;
}

.leadership-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.leadership-marquee__track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  animation: leadershipMarqueeScroll 32s linear infinite;
}

.leadership-marquee:hover .leadership-marquee__track {
  animation-play-state: paused;
}

@keyframes leadershipMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #FAF8F4;
  border: 1px solid rgba(184, 150, 88, 0.35);
  border-radius: 50px;
  padding: 6px 18px 6px 6px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(1, 25, 55, 0.03);
}

.marquee-card:hover {
  transform: translateY(-3px);
  border-color: #C5A059;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(1, 25, 55, 0.09);
}

.marquee-card__img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C5A059;
  flex-shrink: 0;
}

.marquee-card__info {
  display: flex;
  flex-direction: column;
}

.marquee-card__role {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9E7432;
  font-weight: 600;
}

.marquee-card__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #011937;
  font-weight: 600;
  white-space: nowrap;
}

/* Call to action button */
.scene--leadership .btn--primary {
  background: #011937;
  color: #FFFFFF;
  border: 1px solid #011937;
  box-shadow: 0 4px 14px rgba(1, 25, 55, 0.18);
  transition: all 0.35s ease;
}

.scene--leadership .btn--primary:hover {
  background: var(--gold);
  color: #011937;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .leadership-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .leadership-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-marquee-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
}
@media (max-width: 480px) {
  .leadership-cards-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
