/* ════════════════════════════════════════════════════════
   PRESIDIUM — Construction Lending Platform Demo
   Clean, boardroom-grade, 3-section structure
   Typography: Plus Jakarta Sans (single family, all weights)
════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --navy:       #08101E;
  --dark:       #0B1828;
  --mid:        #142038;
  --blue:       #1D5FA6;
  --bright:     #2B7BE0;
  --teal:       #3DBAAB;
  --accent:     #42C1BE;
  --white:      #FFFFFF;
  --off:        #F3F6FC;
  --slate:      #E4EAF3;
  --muted:      #7A90AB;
  --text:       #1A2D45;
  --text-lt:    #475A72;

  /* Stage colors */
  --s1:         #2B7BE0;
  --s2:         #0F9688;
  --s3:         #6D28D9;

  /* RAZE */
  --raze-bg:    #04080C;
  --raze-panel: #060D0A;
  --raze-green: #22D76D;
  --raze-cyan:  #2DDAF2;
  --raze-blue:  #1F7FE0;
  --raze-glow:  rgba(34,215,109,.18);
  --raze-text:  #C8F0D8;
  --raze-muted: rgba(34,215,109,.42);
  --raze-border:rgba(34,215,109,.14);
  --raze-accent:#22D76D;

  /* Layout */
  --nav-h:      52px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.24), 0 4px 12px rgba(0,0,0,.12);
  --t:          0.2s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
a { text-decoration: none; color: inherit; cursor: pointer; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ─── TOP NAV ─────────────────────────────────────────── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(8,16,30,.98);
  border-bottom: 1px solid rgba(255,255,255,.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  gap: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--t), border-color var(--t);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity var(--t);
  margin-right: 2px;
}
.nav-brand:hover { opacity: 0.8; }

.nav-hex-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.nav-logo--raze {
  display: none;
  width: 28px; height: 28px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(34,215,109,.3);
}
.nav-brand-text { display: flex; flex-direction: column; gap: 1px; }
.nav-wordmark {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  transition: color var(--t);
}
.nav-submark {
  font-size: 9.5px;
  font-weight: 400;
  color: rgba(255,255,255,.32);
  line-height: 1;
  transition: color var(--t);
}

/* Pills */
.nav-pills {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 0 6px;
  flex: 1;
}
.nav-pill-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.08);
  margin: 0 6px;
  flex-shrink: 0;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  border: none;
  background: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.005em;
}
.nav-pill i { font-size: 11px; opacity: 0.6; flex-shrink: 0; transition: opacity var(--t); }
.nav-pill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.nav-pill:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.88);
}
.nav-pill:hover i { opacity: 1; }
.nav-pill:hover .nav-pill-num { background: rgba(43,123,224,.25); color: var(--bright); }
.nav-pill.active {
  color: var(--white);
  background: rgba(43,123,224,.18);
  font-weight: 600;
}
.nav-pill.active i { opacity: 1; }
.nav-pill.active .nav-pill-num { background: var(--bright); color: var(--white); }

/* Stage-colored active states */
#npill-pre-construction.active { background: rgba(43,123,224,.18); }
#npill-pre-construction.active .nav-pill-num { background: var(--s1); }
#npill-active-management.active { background: rgba(15,150,136,.18); }
#npill-active-management.active .nav-pill-num { background: var(--s2); }
#npill-post-construction.active { background: rgba(109,40,217,.18); }
#npill-post-construction.active .nav-pill-num { background: var(--s3); }

/* RAZE pill */
.nav-pill--raze {
  color: #22D76D !important;
  background: rgba(6,18,12,.9);
  border: 1.5px solid rgba(34,215,109,.6);
  font-weight: 700;
  margin-left: 4px;
  border-radius: 20px;
  padding: 4px 12px 4px 7px;
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav-pill--raze .raze-r-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-pill--raze:hover {
  background: rgba(34,215,109,.1);
  border-color: var(--raze-cyan);
  color: var(--raze-cyan) !important;
  box-shadow: 0 0 14px rgba(34,215,109,.2);
}
.nav-pill--raze.active {
  background: rgba(34,215,109,.14);
  border-color: #22D76D;
  box-shadow: 0 0 14px rgba(34,215,109,.22);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  font-size: 15px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background var(--t);
  border: none;
}
.nav-hamburger:hover { background: rgba(255,255,255,.1); }

/* ─── RAZE MODE ───────────────────────────────────────── */
.raze-mode .top-nav {
  background: rgba(3,7,12,.97);
  border-bottom-color: rgba(34,215,109,.1);
}
.raze-mode .nav-brand { border-right-color: rgba(34,215,109,.12); }
.raze-mode .nav-hex-logo { display: none !important; }
.raze-mode .nav-logo--raze { display: block !important; }
.raze-mode .nav-wordmark { color: #22D76D; }
.raze-mode .nav-submark { color: rgba(45,218,242,.4); }
.raze-mode .nav-pill { color: rgba(34,215,109,.35); }
.raze-mode .nav-pill:hover { background: rgba(34,215,109,.07); color: rgba(34,215,109,.85); }
.raze-mode .nav-pill.active { background: rgba(34,215,109,.13); color: #22D76D; }
.raze-mode .nav-pill-divider { background: rgba(34,215,109,.1); }
.raze-mode .nav-pill-num { background: rgba(34,215,109,.06); color: rgba(34,215,109,.4); }
.raze-mode .nav-pill:hover .nav-pill-num { background: rgba(34,215,109,.15); color: #22D76D; }
.raze-mode .nav-pill.active .nav-pill-num { background: rgba(34,215,109,.25); color: #22D76D; }

/* ─── MOBILE NAV ──────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  backdrop-filter: blur(4px);
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; left: -300px;
  width: 280px; height: 100%;
  background: #0B1828;
  border-right: 1px solid rgba(255,255,255,.07);
  z-index: 1101;
  transition: left var(--t);
  overflow-y: auto;
  padding-bottom: 40px;
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-close { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-section-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.28); padding: 16px 16px 8px; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.65);
  cursor: pointer; transition: background var(--t), color var(--t);
}
.mobile-nav-link:hover { background: rgba(255,255,255,.05); color: var(--white); }
.mobile-nst-num {
  width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; flex-shrink: 0;
}
.mobile-nst-num--s1 { background: rgba(43,123,224,.2); color: var(--s1); }
.mobile-nst-num--s2 { background: rgba(15,150,136,.2); color: var(--s2); }
.mobile-nst-num--s3 { background: rgba(109,40,217,.2); color: var(--s3); }
.mobile-nav-link--raze { color: #22D76D; }

/* ─── SECTIONS ────────────────────────────────────────── */
.section { display: none; width: 100%; box-sizing: border-box; min-height: calc(100vh - var(--nav-h)); overflow-x: hidden; }
.section.active { display: block; width: 100%; }
.main-content { min-height: calc(100vh - var(--nav-h)); overflow-x: hidden; width: 100%; }

/* ─── HOME INTRO BAR ──────────────────────────────────── */
.home-intro {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0 12px;
  background: linear-gradient(180deg, rgba(13,25,50,.5) 0%, transparent 100%);
  overflow: hidden;
}
.home-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 32px;
  flex-wrap: wrap;
}
.home-intro-left { flex: 1; min-width: 260px; }
.home-intro-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 5px;
}
.home-intro-title em {
  font-family: inherit;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.45);
  letter-spacing: -0.01em;
}
.home-intro-sub {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  line-height: 1.55;
  max-width: 480px;
}
.home-intro-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.home-istat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 16px;
  text-align: center;
}
.home-istat span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.home-istat small {
  font-size: 9px;
  color: rgba(255,255,255,.3);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.home-istat-div {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.07);
  align-self: center;
  flex-shrink: 0;
}

/* ─── HOME ENTRY GRID ─────────────────────────────────── */
.home-entry-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 18px;
  padding: 22px 32px 18px;
}
.entry-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
  text-align: left;
}
.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.entry-card-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}
.entry-card--1 .entry-card-accent { background: linear-gradient(90deg, var(--s1), #60A5FA); }
.entry-card--2 .entry-card-accent { background: linear-gradient(90deg, var(--s2), var(--teal)); }
.entry-card--3 .entry-card-accent { background: linear-gradient(90deg, var(--s3), #A78BFA); }

.entry-card--featured {
  border-color: rgba(15,150,136,.22);
  background: rgba(15,150,136,.03);
  position: relative;
}
.entry-card--featured:hover {
  border-color: rgba(15,150,136,.35);
  background: rgba(15,150,136,.06);
}
.entry-card-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--s2);
  background: rgba(15,150,136,.12);
  border: 1px solid rgba(15,150,136,.25);
  border-radius: 20px;
  padding: 3px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.entry-card-body {
  padding: 16px 16px 10px;
  flex: 1;
}
/* Entry header: number + title/desc inline */
.entry-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.entry-title-group { flex: 1; }
.entry-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-family: inherit;
  flex-shrink: 0;
  margin-top: 2px;
}
.entry-card--1 .entry-num { color: var(--s1); }
.entry-card--2 .entry-num { color: var(--s2); }
.entry-card--3 .entry-num { color: var(--s3); }

.entry-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 3px;
}
.entry-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.42);
  line-height: 1.5;
  margin-bottom: 0;
}
.entry-modules {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.entry-modules span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 7px;
}
.entry-modules span i {
  font-size: 9px;
  color: rgba(255,255,255,.25);
  flex-shrink: 0;
}
.entry-card--1 .entry-modules span i { color: rgba(43,123,224,.55); }
.entry-card--2 .entry-modules span i { color: rgba(15,150,136,.55); }
.entry-card--3 .entry-modules span i { color: rgba(109,40,217,.55); }

.entry-img-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.entry-img-row img {
  flex: 1;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-radius: 5px;
  opacity: 0.62;
  transition: opacity var(--t);
  border: 1px solid rgba(255,255,255,.07);
  image-rendering: -webkit-optimize-contrast;
}
.entry-card:hover .entry-img-row img { opacity: 0.85; }

.entry-card-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t);
}
.entry-card:hover .entry-card-footer { color: rgba(255,255,255,.8); }
.entry-card--1:hover .entry-card-footer { color: var(--s1); }
.entry-card--2:hover .entry-card-footer { color: var(--s2); }
.entry-card--3:hover .entry-card-footer { color: #A78BFA; }

/* ─── HOME RAZE ROW ───────────────────────────────────── */
.home-raze-row {
  padding: 0 32px 26px;
}
.home-raze-btn {
  background: rgba(6,18,12,.7);
  border: 1px solid rgba(34,215,109,.16);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.home-raze-btn:hover {
  background: rgba(34,215,109,.05);
  border-color: rgba(34,215,109,.3);
  box-shadow: 0 0 20px rgba(34,215,109,.07);
}
.home-raze-logo { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 10px rgba(34,215,109,.25); }
.home-raze-text { flex-shrink: 0; }
.home-raze-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(34,215,109,.42); }
.home-raze-title { font-size: 12.5px; font-weight: 700; color: rgba(34,215,109,.85); }
.home-raze-desc { flex: 1; font-size: 12px; color: rgba(200,240,216,.42); line-height: 1.5; }
.home-raze-cta { font-size: 11.5px; font-weight: 700; color: rgba(34,215,109,.6); white-space: nowrap; display: flex; align-items: center; gap: 5px; flex-shrink: 0; transition: color var(--t); }
.home-raze-btn:hover .home-raze-cta { color: #22D76D; }

/* ─── SECTION HERO ────────────────────────────────────── */
.section-hero {
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.section-hero--1 { background: linear-gradient(135deg, #0C1A2E 0%, #0D2040 100%); }
.section-hero--2 { background: linear-gradient(135deg, #071A18 0%, #0A1F1D 100%); }
.section-hero--3 { background: linear-gradient(135deg, #120D22 0%, #18102E 100%); }

.section-hero-content { }
.section-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}
/* Back button in eyebrow */
.section-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.38);
  font-size: 10px;
  border: 1px solid rgba(255,255,255,.07);
  cursor: pointer;
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
  margin-right: 2px;
}
.section-back-btn:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.section-back-btn--raze { background: rgba(34,215,109,.06); color: rgba(34,215,109,.4); border-color: rgba(34,215,109,.12); }
.section-back-btn--raze:hover { background: rgba(34,215,109,.12); color: #22D76D; }

/* Phase label pill — replaces old num-badge + eyebrow text */
.section-phase-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}
.section-phase-label--1 {
  background: rgba(43,123,224,.18);
  color: var(--s1);
  border: 1px solid rgba(43,123,224,.28);
}
.section-phase-label--2 {
  background: rgba(15,150,136,.18);
  color: var(--s2);
  border: 1px solid rgba(15,150,136,.28);
}
.section-phase-label--3 {
  background: rgba(109,40,217,.18);
  color: var(--s3);
  border: 1px solid rgba(109,40,217,.28);
}
/* Legacy badge classes kept for any remaining references */
.section-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px; height: 21px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.section-num-badge--1 { background: rgba(43,123,224,.2); color: var(--s1); }
.section-num-badge--2 { background: rgba(15,150,136,.2); color: var(--s2); }
.section-num-badge--3 { background: rgba(109,40,217,.2); color: var(--s3); }
.section-num-badge--featured { background: var(--s2); color: var(--white); }
.section-num-badge--raze { background: rgba(34,215,109,.2); color: #22D76D; }

.section-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2px;
  margin-top: 6px;
}
.section-title em {
  font-family: inherit;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.48);
  letter-spacing: -0.01em;
}
.section-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.44);
  line-height: 1.5;
  max-width: 680px;
  margin-bottom: 0;
}
/* Tagline when placed inline inside the eyebrow block (below the phase label) */
.section-tagline--inline {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  max-width: 640px;
}

/* ─── SECTION BODY ────────────────────────────────────── */
.section-body { padding: 10px 0 16px; overflow-x: hidden; width: 100%; box-sizing: border-box; }
.section--featured .section-body { background: linear-gradient(180deg, #071A18 0%, var(--navy) 100%); }

.section-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 18px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

/* Lifecycle sections: full-width single column, sidebar hidden */
.section--lifecycle .section-layout {
  grid-template-columns: 1fr;
}
.section--lifecycle .section-sidebar {
  display: none;
}
/* Hide duplicate module grids in lifecycle main panels (JS removes them, CSS hides them as safety) */
.section--lifecycle .section-main .modules-heading,
.section--lifecycle .section-main .module-grid,
.section--lifecycle .mtab-panel .modules-heading,
.section--lifecycle .mtab-panel .module-grid {
  display: none !important;
}

/* ─── MODULE GRID ─────────────────────────────────────── */
.modules-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}
/* Hide orphan module cards (not inside a .module-grid) as CSS safety net */
.section--lifecycle .section-main > .module-card { display: none !important; }

.module-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  transition: background var(--t), border-color var(--t);
}
.module-card:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.module-card--highlight {
  border-color: rgba(43,123,224,.2);
  background: rgba(43,123,224,.04);
}
.section-hero--2 ~ .section-body .module-card--highlight,
.section--featured .module-card--highlight {
  border-color: rgba(15,150,136,.2);
  background: rgba(15,150,136,.04);
}
.module-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.module-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.module-icon--1 { background: rgba(43,123,224,.15); color: var(--s1); }
.module-icon--2 { background: rgba(15,150,136,.15); color: var(--s2); }
.module-icon--3 { background: rgba(109,40,217,.15); color: var(--s3); }
.module-label { font-size: 12px; font-weight: 600; color: var(--white); line-height: 1.3; }
.module-desc { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5; margin-bottom: 6px; }
.module-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mtag {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 2px 7px;
}
.mtag--raze { color: rgba(34,215,109,.7); background: rgba(34,215,109,.06); border-color: rgba(34,215,109,.12); }

/* ─── MONITORING TABS ─────────────────────────────────── */
.monitoring-tabs {
  display: flex;
  gap: 2px;
  padding: 0 0 0 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.monitoring-tabs::-webkit-scrollbar { display: none; }
.mtab {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color var(--t), border-color var(--t);
  margin-bottom: -1px;
}
.mtab:hover { color: rgba(255,255,255,.75); }
.mtab.active { color: var(--s2); border-bottom-color: var(--s2); font-weight: 600; }
.mtab-panel { display: none; }
.mtab-panel.active { display: block; }

/* ─── SCREENSHOT GALLERY ──────────────────────────────── */
.screenshot-gallery-section { margin-top: 16px; }
.gallery-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 14px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.ss-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.ss-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(255,255,255,.16); }
.ss-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; display: block; transition: filter var(--t); filter: brightness(.95); image-rendering: -webkit-optimize-contrast; }
.ss-card:hover img { filter: brightness(1); }
.ss-info { padding: 8px 10px 10px; }
.ss-title { font-size: 11.5px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.ss-caption { font-size: 10.5px; color: rgba(255,255,255,.38); line-height: 1.4; }

/* ─── SIDEBAR CARDS ───────────────────────────────────── */
.section-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.sidebar-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sidebar-card--afs {
  border-color: rgba(56,139,253,.28);
  background: rgba(56,139,253,.04);
}
.sidebar-card--afs .sidebar-card-header { color: var(--bright); }
.sidebar-card--config { border-color: rgba(255,255,255,.08); }
.sidebar-card--raze { border-color: rgba(34,215,109,.18); }
.sidebar-card-header {
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 7px;
}
.sidebar-card--afs .sidebar-card-header {
  color: rgba(56,139,253,.95);
  background: rgba(56,139,253,.06);
  border-bottom-color: rgba(56,139,253,.15);
}
.sidebar-list { padding: 9px 14px 11px; display: flex; flex-direction: column; gap: 6px; }
.sidebar-list li {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
  padding-left: 13px;
  position: relative;
}
.sidebar-card--afs .sidebar-list li { color: rgba(255,255,255,.82); }
.sidebar-list li::before { content: '›'; position: absolute; left: 0; color: rgba(56,139,253,.6); font-weight: 700; }
.sidebar-card--config .sidebar-list li::before { color: rgba(255,255,255,.25); content: '–'; }

/* ─── SECTION NAV STRIP ───────────────────────────────── */
.section-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.snav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform 0.1s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.snav-btn:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.22); transform: scale(1.02); }
.snav-btn--disabled { opacity: 0.3; pointer-events: none; }
.snav-btn i { font-size: 15px; }
.snav-progress {
  display: flex;
  gap: 8px;
  align-items: center;
}
.snav-step {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.35);
  transition: background var(--t), color var(--t);
}
.snav-step--1.active { background: var(--s1); color: var(--white); border-color: var(--s1); }
.snav-step--2.active { background: var(--s2); color: var(--white); border-color: var(--s2); }
.snav-step--3.active { background: var(--s3); color: var(--white); border-color: var(--s3); }
.snav-step--raze.active { background: #22D76D; color: #000; border-color: #22D76D; }

/* ─── RAZE SECTION ────────────────────────────────────── */
.section--raze { background: var(--raze-bg); }
.raze-hero {
  padding: 10px 0 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #04080C 0%, #070F0A 100%);
  border-bottom: 1px solid var(--raze-border);
}
.raze-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.raze-hero-orb {
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,215,109,.08) 0%, transparent 70%);
}
.raze-hero-content { position: relative; z-index: 1; }
.raze-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(34,215,109,.5);
  margin-bottom: 14px;
}
.raze-inline-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.raze-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.raze-subtitle {
  font-size: 13px;
  color: rgba(200,240,216,.48);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 0;
}
.raze-body { padding: 40px 0 60px; background: #04080C; }

.raze-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.raze-cap-card {
  background: rgba(34,215,109,.03);
  border: 1px solid rgba(34,215,109,.1);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: background var(--t), border-color var(--t);
}
.raze-cap-card:hover { background: rgba(34,215,109,.06); border-color: rgba(34,215,109,.2); }
.raze-cap-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(34,215,109,.1);
  color: #22D76D;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}
.raze-cap-card h3 { font-size: 14px; font-weight: 700; color: var(--raze-text); margin-bottom: 6px; }
.raze-cap-card p { font-size: 12.5px; color: rgba(200,240,216,.5); line-height: 1.6; margin-bottom: 10px; }

.raze-stats-row {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(34,215,109,.1);
}
.raze-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  background: rgba(34,215,109,.04);
  border: 1px solid rgba(34,215,109,.1);
  border-radius: var(--radius-md);
  padding: 16px 12px;
}
.raze-stat-num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #22D76D; }
.raze-stat-label { font-size: 11px; color: rgba(200,240,216,.45); font-weight: 500; }

/* RAZE section sidebar */
.section--raze .section-sidebar { background: transparent; }
.section--raze .sidebar-card { background: rgba(34,215,109,.03); border-color: rgba(34,215,109,.12); }
.section--raze .sidebar-card-header { background: rgba(34,215,109,.04); border-color: rgba(34,215,109,.1); }
.section--raze .sidebar-list li { color: rgba(200,240,216,.5); }
.section--raze .sidebar-list li::before { color: rgba(34,215,109,.3); }
.section--raze .screenshot-gallery-section .ss-card { border-color: rgba(34,215,109,.1); background: rgba(34,215,109,.02); }
.section--raze .monitoring-tabs { border-color: rgba(34,215,109,.1); }
.section--raze .section-nav-strip { border-color: rgba(34,215,109,.1); }
.section--raze .snav-btn { background: rgba(34,215,109,.06); border-color: rgba(34,215,109,.15); color: rgba(34,215,109,.7); }
.section--raze .snav-btn:hover { background: rgba(34,215,109,.12); color: #22D76D; }
.section--raze .modules-heading { color: rgba(34,215,109,.35); }

/* ─── RAZE HERO MODE PILLS ───────────────────────────── */
.raze-hero-modes {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.raze-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(34,215,109,.1);
  border: 1px solid rgba(34,215,109,.25);
  color: var(--raze-green);
}
.raze-mode-pill--alt {
  background: rgba(34,215,109,.04);
  border-color: rgba(34,215,109,.14);
  color: rgba(34,215,109,.65);
}

/* ─── RAZE MODULE TABS ────────────────────────────────── */
.raze-module-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 0;
  padding: 20px 0 0;
  border-bottom: 1px solid rgba(34,215,109,.12);
}
.raze-mtab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(200,240,216,.4);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.raze-mtab i { font-size: 14px; }
.raze-mtab:hover {
  color: rgba(34,215,109,.7);
  background: rgba(34,215,109,.04);
}
.raze-mtab.active {
  color: var(--raze-green);
  border-bottom-color: var(--raze-green);
  background: rgba(34,215,109,.06);
}

/* ─── RAZE TAB PANELS ─────────────────────────────────── */
.raze-tab-panel {
  display: none;
  padding-top: 28px;
}
.raze-tab-panel.active {
  display: block;
}

/* ─── RAZE MODULE INFO GRID (below carousel) ──────────── */
.raze-module-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(34,215,109,.08);
}
.raze-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.raze-info-card {
  background: rgba(34,215,109,.03);
  border: 1px solid rgba(34,215,109,.1);
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--t), border-color var(--t);
}
.raze-info-card:hover {
  background: rgba(34,215,109,.06);
  border-color: rgba(34,215,109,.2);
}
.raze-info-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(34,215,109,.1);
  color: var(--raze-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 2px;
}
.raze-info-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--raze-text);
  line-height: 1.3;
}
.raze-info-desc {
  font-size: 11.5px;
  color: rgba(200,240,216,.45);
  line-height: 1.55;
}

/* Stat variant cards */
.raze-info-card--stat {
  border-color: rgba(34,215,109,.2);
  background: rgba(34,215,109,.05);
}
.raze-info-card--stat:hover {
  background: rgba(34,215,109,.09);
  border-color: rgba(34,215,109,.3);
}
.raze-info-icon--green {
  background: rgba(34,215,109,.18);
  color: #22D76D;
}
.raze-info-stat {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #22D76D;
  line-height: 1;
  margin-bottom: 2px;
}

/* AI pill variant */
.raze-mode-pill--ai {
  background: rgba(99,102,241,.15);
  border-color: rgba(99,102,241,.3);
  color: rgba(165,180,252,.9);
}

/* Responsive */
@media (max-width: 1100px) {
  .raze-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .raze-info-grid { grid-template-columns: 1fr; }
  .raze-module-tabs { overflow-x: auto; padding-bottom: 0; }
  .raze-mtab { white-space: nowrap; }
}

/* ─── LIGHTBOX ────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lightbox-overlay.open { display: flex; }
.lightbox-container {
  background: #0E1C2E;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,.15); }
.lightbox-image-wrap { flex: 1; overflow: hidden; max-height: 62vh; display: flex; align-items: center; justify-content: center; background: #040810; }
.lightbox-image-wrap img { width: 100%; height: 100%; max-height: 62vh; object-fit: contain; object-position: center center; display: block; image-rendering: -webkit-optimize-contrast; margin: auto; }
.lightbox-info { padding: 18px 22px 22px; border-top: 1px solid rgba(255,255,255,.07); }
.lightbox-info h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 4px; letter-spacing: -0.01em; }
.lightbox-info p { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.55; margin-bottom: 14px; }
.lightbox-meta { display: grid; grid-template-columns: 1fr; gap: 0; }
.lightbox-meta-item {
  background: rgba(56,139,253,.06);
  border: 1px solid rgba(56,139,253,.16);
  border-radius: 9px;
  padding: 14px 16px 16px;
}
.lightbox-meta-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56,139,253,.7);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lightbox-meta-value {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

/* ─── UPLOAD MODAL ────────────────────────────────────── */
.upload-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.upload-overlay.open { display: flex; }
.upload-modal {
  background: #0E1C2E;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.upload-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.upload-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.upload-subtitle { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.upload-drop-zone {
  border: 2px dashed rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.upload-drop-zone:hover { border-color: rgba(43,123,224,.4); background: rgba(43,123,224,.03); }
.upload-drop-icon { font-size: 28px; color: rgba(255,255,255,.2); margin-bottom: 10px; }
.upload-drop-zone p { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.upload-file-btn {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(43,123,224,.15);
  border: 1px solid rgba(43,123,224,.3);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
  cursor: pointer;
  margin-top: 8px;
}
.upload-fields { margin-top: 16px; }
.upload-preview-img { width: 100%; max-height: 180px; object-fit: contain; border-radius: var(--radius-md); margin-bottom: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.upload-field-group { margin-bottom: 12px; }
.upload-field-group label { display: block; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 5px; }
.upload-field-group input,
.upload-field-group textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  resize: vertical;
  transition: border-color var(--t);
}
.upload-field-group input:focus,
.upload-field-group textarea:focus { border-color: rgba(43,123,224,.5); }
.upload-submit-btn {
  width: 100%;
  padding: 11px;
  background: var(--bright);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
  transition: background var(--t);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.upload-submit-btn:hover { background: #1e6fd0; }

/* ─── APP SHELL ──────────────────────────────────────── */
.app-shell {
  display: flex;
  min-height: calc(100vh - var(--nav-h));
}

/* ─── SIDEBAR RAIL ───────────────────────────────────── */
.sidebar-rail {
  position: fixed;
  left: 0;
  top: var(--nav-h);
  bottom: 0;
  width: 48px;
  background: rgba(7,13,26,.98);
  border-right: 1px solid rgba(255,255,255,.055);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 12px;
  z-index: 900;
  gap: 3px;
  backdrop-filter: blur(12px);
}
.rail-divider {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 4px 0;
  flex-shrink: 0;
}
.rail-spacer { flex: 1; }

.rail-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.35);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  flex-shrink: 0;
  position: relative;
}
.rail-btn:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.08);
}
.rail-btn.active {
  background: rgba(43,123,224,.16);
  color: var(--bright);
  border-color: rgba(43,123,224,.25);
}
.rail-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

/* Stage-colored active rails */
.rail-btn[data-goto="pre-construction"].active { background: rgba(43,123,224,.15); color: var(--s1); border-color: rgba(43,123,224,.22); }
.rail-btn[data-goto="active-management"].active { background: rgba(15,150,136,.15); color: var(--s2); border-color: rgba(15,150,136,.22); }
.rail-btn[data-goto="post-construction"].active { background: rgba(109,40,217,.15); color: var(--s3); border-color: rgba(109,40,217,.22); }
.rail-btn[data-goto="raze"].active { background: rgba(34,215,109,.1); color: var(--raze-green); border-color: rgba(34,215,109,.2); }

.rail-btn--raze { overflow: hidden; }
.rail-raze-img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }
.rail-btn--meta { font-size: 12px; }

/* Tooltips on rail buttons */
.rail-btn::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8,16,30,.95);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 999;
}
.rail-btn:hover::after { opacity: 1; }

/* ─── SECONDARY PANEL ────────────────────────────────── */
.sidebar-panel {
  position: fixed;
  left: 48px;
  top: var(--nav-h);
  bottom: 0;
  width: 220px;
  background: rgba(9,15,29,.97);
  border-right: 1px solid rgba(255,255,255,.055);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 890;
  transition: transform var(--t), opacity var(--t);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.08) transparent;
}
.sidebar-panel::-webkit-scrollbar { width: 3px; }
.sidebar-panel::-webkit-scrollbar-track { background: transparent; }
.sidebar-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

/* Panel sections */
.sp-section { display: none; padding: 16px 0 24px; }
.sp-section.active { display: block; }

.sp-header {
  padding: 4px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.sp-sub {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 2px;
  line-height: 1.3;
}
.sp-stage-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1;
}
.sp-stage-tag--1 { background: rgba(43,123,224,.15); color: var(--s1); }
.sp-stage-tag--2 { background: rgba(15,150,136,.15); color: var(--s2); }
.sp-stage-tag--3 { background: rgba(109,40,217,.15); color: var(--s3); }
.sp-stage-tag--raze { background: rgba(34,215,109,.12); color: var(--raze-green); }

.sp-group-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  padding: 10px 16px 5px;
}
.sp-divider {
  height: 1px;
  background: rgba(255,255,255,.05);
  margin: 8px 16px;
}

/* Panel links */
.sp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.48);
  cursor: pointer;
  transition: background var(--t), color var(--t);
  border-left: 2px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-link:hover {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
}
.sp-link i {
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0.65;
  width: 14px;
  text-align: center;
}
.sp-link:hover i { opacity: 1; }

/* Stage link styles */
.sp-link--stage { font-weight: 600; }
.sp-link--s1:hover { color: var(--s1); border-left-color: var(--s1); background: rgba(43,123,224,.06); }
.sp-link--s2:hover { color: var(--s2); border-left-color: var(--s2); background: rgba(15,150,136,.06); }
.sp-link--s3:hover { color: var(--s3); border-left-color: var(--s3); background: rgba(109,40,217,.06); }
.sp-link--raze { color: rgba(34,215,109,.5); }
.sp-link--raze:hover { color: var(--raze-green); border-left-color: var(--raze-green); background: rgba(34,215,109,.06); }

/* Next nav */
.sp-nav-next { font-weight: 600; color: rgba(255,255,255,.55); }
.sp-nav-next:hover { color: var(--bright); border-left-color: var(--bright); }

/* Active module link highlight */
.sp-mod-link.sp-mod-active {
  color: rgba(255,255,255,.92);
  background: rgba(56,139,253,.08);
  border-left-color: rgba(56,139,253,.7);
}
.sp-mod-link.sp-mod-active i { opacity: 1; color: rgba(56,139,253,.8); }
/* Stage-tinted active states */
#sp-active-management .sp-mod-link.sp-mod-active {
  background: rgba(15,150,136,.08);
  border-left-color: rgba(15,150,136,.7);
}
#sp-active-management .sp-mod-link.sp-mod-active i { color: rgba(15,150,136,.9); }
#sp-post-construction .sp-mod-link.sp-mod-active {
  background: rgba(109,40,217,.08);
  border-left-color: rgba(109,40,217,.6);
}
#sp-post-construction .sp-mod-link.sp-mod-active i { color: rgba(109,40,217,.9); }

/* Stage number badge in panel */
.sp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}
.sp-num--s1 { background: rgba(43,123,224,.18); color: var(--s1); }
.sp-num--s2 { background: rgba(15,150,136,.18); color: var(--s2); }
.sp-num--s3 { background: rgba(109,40,217,.18); color: var(--s3); }

/* ─── MAIN CONTENT (offset for rail + panel) ─────────── */
.main-content {
  margin-left: 268px; /* 48 rail + 220 panel */
  min-height: calc(100vh - var(--nav-h));
  width: calc(100% - 268px);
  overflow-x: hidden;
}

/* Container inside main-content */
.container-full {
  padding: 14px 32px;
  max-width: 1600px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

/* ─── HOME LAYOUT ────────────────────────────────────── */
/* home-intro-inner: layout only, padding comes from .home-intro */
.home-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.home-intro-left { flex: 1; min-width: 0; }
.home-intro-title {
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 3px;
}
.home-intro-title em {
  font-family: inherit;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.42);
  letter-spacing: -0.01em;
}
.home-intro-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.34);
  line-height: 1.45;
  max-width: 400px;
}
.home-intro-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.home-istat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 13px;
  text-align: center;
}
.home-istat span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.home-istat small {
  font-size: 8.5px;
  color: rgba(255,255,255,.28);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.home-istat-div {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.06);
  align-self: center;
  flex-shrink: 0;
}

/* ─── HOME BODY ──────────────────────────────────────── */
.home-body { padding: 18px 40px 60px; overflow: hidden; box-sizing: border-box; }
.home-section-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 14px;
}

/* ─── HUB DIAGRAM ────────────────────────────────────── */
.hub-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 340px;
  margin: 0 auto;
}
.hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.hub-hex-outer {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, rgba(43,123,224,.3), rgba(61,186,171,.3));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(43,123,224,.35);
  box-shadow: 0 0 28px rgba(43,123,224,.15);
}
.hub-hex-inner {
  width: 52px; height: 52px;
  background: rgba(8,16,30,.9);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.hub-logo { width: 36px; height: 36px; object-fit: contain; }
.hub-center-label {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* Spokes ring */
.hub-spokes {
  position: absolute;
  inset: 0;
}
.hub-spoke {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-spoke--top     { top: 0%; left: 50%; transform: translate(-50%, 0); }
.hub-spoke--top-right { top: 7%; right: 5%; }
.hub-spoke--right   { top: 50%; right: 0%; transform: translateY(-50%); }
.hub-spoke--bottom-right { bottom: 7%; right: 5%; }
.hub-spoke--bottom  { bottom: 0%; left: 50%; transform: translate(-50%, 0); }
.hub-spoke--bottom-left { bottom: 7%; left: 5%; }
.hub-spoke--left    { top: 50%; left: 0%; transform: translateY(-50%); }
.hub-spoke--top-left { top: 7%; left: 5%; }

.hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  min-width: 62px;
  max-width: 72px;
  transition: background var(--t), border-color var(--t);
  cursor: default;
}
.hub-node:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.hub-node--type i {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 2px;
}
.hub-node span {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  line-height: 1.2;
}
.hub-node small {
  font-size: 8px;
  color: rgba(255,255,255,.3);
  line-height: 1.3;
}

/* Stakeholder corner labels */
.hub-stakeholders {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hub-stake {
  position: absolute;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.hub-stake i { font-size: 9px; }
.hub-stake--tl { top: 34%; left: 0%; }
.hub-stake--tr { top: 34%; right: 0%; }
.hub-stake--bl { bottom: 34%; left: 0%; }
.hub-stake--br { bottom: 34%; right: 0%; }

/* ─── HOME ENTRY STACK ───────────────────────────────── */
.home-entry-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.entry-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
  text-align: left;
}
.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.038);
}
.entry-card-accent {
  height: 2px;
  width: 100%;
  flex-shrink: 0;
}
.entry-card--1 .entry-card-accent { background: linear-gradient(90deg, var(--s1), #60A5FA); }
.entry-card--2 .entry-card-accent { background: linear-gradient(90deg, var(--s2), var(--teal)); }
.entry-card--3 .entry-card-accent { background: linear-gradient(90deg, var(--s3), #A78BFA); }

.entry-card--featured {
  border-color: rgba(15,150,136,.2);
  background: rgba(15,150,136,.025);
  position: relative;
}
.entry-card--featured:hover {
  border-color: rgba(15,150,136,.32);
  background: rgba(15,150,136,.05);
}
.entry-card-featured-badge {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--s2);
  background: rgba(15,150,136,.1);
  border: 1px solid rgba(15,150,136,.22);
  border-radius: 20px;
  padding: 2px 8px;
  display: flex; align-items: center; gap: 4px;
}

.entry-card-body {
  padding: 12px 14px 8px;
  flex: 1;
}
.entry-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.entry-title-group { flex: 1; }
.entry-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-family: inherit;
  flex-shrink: 0;
  margin-top: 2px;
}
.entry-card--1 .entry-num { color: var(--s1); }
.entry-card--2 .entry-num { color: var(--s2); }
.entry-card--3 .entry-num { color: var(--s3); }
.entry-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2px;
}
.entry-desc {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  line-height: 1.45;
}
.entry-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.entry-modules span {
  font-size: 10px;
  color: rgba(255,255,255,.42);
  display: flex;
  align-items: center;
  gap: 5px;
}
.entry-modules span i {
  font-size: 8px;
  flex-shrink: 0;
}
.entry-card--1 .entry-modules span i { color: rgba(43,123,224,.55); }
.entry-card--2 .entry-modules span i { color: rgba(15,150,136,.55); }
.entry-card--3 .entry-modules span i { color: rgba(109,40,217,.55); }

.entry-img-row {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}
.entry-img-row img {
  flex: 1;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-radius: 5px;
  opacity: 0.55;
  transition: opacity var(--t);
  border: 1px solid rgba(255,255,255,.06);
  image-rendering: -webkit-optimize-contrast;
}
.entry-card:hover .entry-img-row img { opacity: 0.8; }

.entry-card-footer {
  padding: 8px 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t);
}
.entry-card:hover .entry-card-footer { color: rgba(255,255,255,.75); }
.entry-card--1:hover .entry-card-footer { color: var(--s1); }
.entry-card--2:hover .entry-card-footer { color: var(--s2); }
.entry-card--3:hover .entry-card-footer { color: #A78BFA; }

/* ─── HOME RAZE ROW ───────────────────────────────────── */
.home-raze-btn {
  background: rgba(5,14,10,.7);
  border: 1px solid rgba(34,215,109,.14);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.home-raze-btn:hover {
  background: rgba(34,215,109,.04);
  border-color: rgba(34,215,109,.28);
  box-shadow: 0 0 18px rgba(34,215,109,.06);
}
.home-raze-logo { width: 24px; height: 24px; border-radius: 5px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 8px rgba(34,215,109,.22); }
.home-raze-text { flex-shrink: 0; }
.home-raze-label { font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(34,215,109,.38); }
.home-raze-title { font-size: 12px; font-weight: 700; color: rgba(34,215,109,.8); }
.home-raze-desc { flex: 1; font-size: 11.5px; color: rgba(200,240,216,.38); line-height: 1.45; }
.home-raze-cta { font-size: 11px; font-weight: 700; color: rgba(34,215,109,.55); white-space: nowrap; display: flex; align-items: center; gap: 4px; flex-shrink: 0; transition: color var(--t); }
.home-raze-btn:hover .home-raze-cta { color: #22D76D; }

/* ─── CAROUSEL REDESIGN ──────────────────────────────── */
.carousel-section {
  margin-top: 14px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Full-width carousel variant used in lifecycle sections */
.carousel-section--full,
.section--lifecycle .carousel-section {
  border-color: rgba(255,255,255,.1);
  background: rgba(0,0,0,.25);
}
.section--lifecycle .carousel-header {
  padding: 14px 20px 12px;
  background: rgba(255,255,255,.03);
  border-bottom-color: rgba(255,255,255,.07);
}
.section--lifecycle .gallery-title {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.02);
}
/* Enhanced header for lifecycle carousels */
.carousel-header--lifecycle {
  padding: 13px 20px 11px;
  gap: 12px;
}
.carousel-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.slide-title-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
  transition: color 0.2s;
}

.gallery-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-counter {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  min-width: 36px;
  text-align: center;
}

.carousel-btn {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.carousel-btn:hover { background: rgba(255,255,255,.12); color: var(--white); }
.carousel-btn--raze { background: rgba(34,215,109,.06); border-color: rgba(34,215,109,.12); color: rgba(34,215,109,.5); }
.carousel-btn--raze:hover { background: rgba(34,215,109,.14); color: var(--raze-green); }

/* The track: large single-slide view */
.carousel-track-wrap {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  cursor: default;
}

/* ── LIFECYCLE SLIDE: full-width image-only ── */
.carousel-slide {
  min-width: 100%;
  display: block;
  background: #04090f;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
}
/* Hover shimmer overlay */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(56,139,253,.03);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.carousel-slide:hover::after { opacity: 1; }

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  /* Cover fill — removes letterboxing; shows screenshot from top */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  background: #04090f;
  transition: filter 0.2s;
  /* Sharp rendering for UI screenshots */
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
}
.carousel-slide:hover img { filter: brightness(1.05); }

/* Click-to-expand hint badge on slide */
.carousel-slide .slide-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(6,13,26,.82);
  border: 1px solid rgba(56,139,253,.25);
  color: rgba(56,139,253,.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.carousel-slide:hover .slide-hint { opacity: 1; }

/* Ensure track-wrap doesn't clip */
.carousel-track-wrap { overflow: hidden; position: relative; }
.carousel-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.42, 0, 0.22, 1);
  will-change: transform;
}

/* Module cards as clickable screenshot launchers */
.module-card--clickable {
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.module-card--clickable:hover {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(56,139,253,.35) !important;
  box-shadow: 0 0 0 1px rgba(56,139,253,.15) inset;
  transform: translateY(-1px);
}
.section--s2 .module-card--clickable:hover {
  border-color: rgba(15,150,136,.35) !important;
  box-shadow: 0 0 0 1px rgba(15,150,136,.15) inset;
}
.section--s3 .module-card--clickable:hover {
  border-color: rgba(109,40,217,.35) !important;
  box-shadow: 0 0 0 1px rgba(109,40,217,.15) inset;
}
.module-card--clickable .module-card-cta {
  display: none;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(56,139,253,.7);
  gap: 5px;
  align-items: center;
}
.module-card--clickable:hover .module-card-cta { display: flex; }

/* Carousel section at top — no top margin */
.carousel-section--top { margin-top: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* ── SLIDE DETAIL PANEL (replaces side cs-info) ── */
.slide-detail-panel {
  display: none;
  padding: 0;
  border-top: 1px solid rgba(56,139,253,.18);
  background: linear-gradient(180deg, rgba(14,26,50,.98) 0%, rgba(8,16,32,.98) 100%);
  animation: sdpFadeIn 0.22s ease;
}
@keyframes sdpFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-detail-panel.open { display: block; }
.sdp-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
}
.sdp-left {
  padding: 22px 26px 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.sdp-right {
  padding: 22px 24px 24px;
}
.sdp-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56,139,253,.75);
  margin-bottom: 7px;
}
.sdp-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.sdp-cap {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.sdp-why-wrap {
  background: rgba(56,139,253,.07);
  border: 1px solid rgba(56,139,253,.18);
  border-radius: 8px;
  padding: 14px 16px 16px;
  margin-bottom: 14px;
}
.sdp-why-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56,139,253,.8);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.sdp-why-text {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  line-height: 1.68;
  margin: 0;
}
.sdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sdp-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 4px 10px;
}
.sdp-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.sdp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  text-decoration: none;
}
.sdp-btn--expand {
  background: rgba(56,139,253,.14);
  border: 1px solid rgba(56,139,253,.3);
  color: rgba(56,139,253,.9);
}
.sdp-btn--expand:hover { background: rgba(56,139,253,.24); color: #fff; }
.sdp-btn--close {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
}
.sdp-btn--close:hover { background: rgba(255,255,255,.09); color: rgba(255,255,255,.8); }
.sdp-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: rgba(56,139,253,.1);
  color: rgba(56,139,253,.85);
  border: 1px solid rgba(56,139,253,.2);
}
/* Stage tints for sdp */
.section--s2 .sdp-eyebrow, .section-hero--2 ~ .section-body .sdp-eyebrow { color: rgba(15,150,136,.85); }
.section--s2 .sdp-why-wrap, .section-hero--2 ~ .section-body .sdp-why-wrap { background: rgba(15,150,136,.07); border-color: rgba(15,150,136,.2); }
.section--s2 .sdp-why-label { color: rgba(15,150,136,.85); }
.section--s2 .sdp-btn--expand { background: rgba(15,150,136,.12); border-color: rgba(15,150,136,.3); color: rgba(15,150,136,.9); }
.section--s3 .sdp-eyebrow { color: rgba(109,40,217,.85); }
.section--s3 .sdp-why-wrap { background: rgba(109,40,217,.07); border-color: rgba(109,40,217,.2); }
.section--s3 .sdp-why-label { color: rgba(109,40,217,.85); }
.section--s3 .sdp-btn--expand { background: rgba(109,40,217,.12); border-color: rgba(109,40,217,.3); color: rgba(109,40,217,.9); }

/* Hide legacy cs-info panels in lifecycle sections (replaced by slide-detail-panel) */
.section--lifecycle .cs-info { display: none !important; }

/* RAZE carousel keeps its 2-col layout with cs-info */
.section--raze .carousel-slide {
  display: grid;
  grid-template-columns: 1fr 280px;
}
.section--raze .carousel-slide img {
  aspect-ratio: unset;
  height: 100%;
  object-fit: cover;
}
.section--raze .cs-info { display: flex !important; }

/* Info panel on the right — keep for non-lifecycle carousels (RAZE etc) */
.cs-info {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  background: rgba(8,16,30,.82);
  border-left: 1px solid rgba(255,255,255,.08);
}
.cs-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 8px rgba(56,139,253,.18);
}
.cs-cap {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(56,139,253,.7);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
/* Why It Matters block */
.cs-why-wrap {
  flex: 1;
  background: rgba(56,139,253,.09);
  border: 1px solid rgba(56,139,253,.22);
  border-radius: 8px;
  padding: 13px 15px 15px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.cs-why-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56,139,253,.9);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.cs-why {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.cs-expand {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--t);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
  margin-top: 0;
  flex-shrink: 0;
}
.carousel-slide:hover .cs-expand { color: rgba(56,139,253,.85); }

/* Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 0 12px;
}
.carousel-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: background var(--t), width var(--t);
  cursor: pointer;
}
.carousel-dot.active {
  background: rgba(255,255,255,.55);
  width: 14px;
  border-radius: 3px;
}
/* Lifecycle carousel dots: pill-nav style */
.section--lifecycle .carousel-dots {
  padding: 8px 16px 10px;
  justify-content: flex-start;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.04);
  background: rgba(255,255,255,.01);
}
.section--lifecycle .carousel-dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
}
.section--lifecycle .carousel-dot.active {
  width: 32px;
  background: rgba(56,139,253,.7);
}
.section--s2 .carousel-dot.active { background: rgba(15,150,136,.7); }
.section--s3 .carousel-dot.active { background: rgba(109,40,217,.6); }

/* ─── BELOW-FSP INFO STRIP (redesigned) ─────────────────── */
.carousel-info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  overflow: hidden;
}
.cis-col {
  padding: 12px 16px 14px;
  border-right: 1px solid rgba(255,255,255,.05);
}
.cis-col:last-child { border-right: none; }

/* Column header */
.cis-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cis-col--why .cis-label { color: var(--teal); }
.cis-col--config .cis-label { color: rgba(255,255,255,.38); }

/* 2×2 card grid inside each column */
.cis-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.cis-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 8px;
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.cis-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); transform: translateY(-1px); }
.cis-col--why .cis-card { border-color: rgba(61,186,171,.1); }
.cis-col--why .cis-card:hover { background: rgba(61,186,171,.07); border-color: rgba(61,186,171,.22); }
.cis-card-icon {
  font-size: 12px;
  margin-bottom: 3px;
}
.cis-col--why .cis-card-icon { color: var(--teal); }
.cis-col--config .cis-card-icon { color: rgba(255,255,255,.38); }
.cis-card-kicker {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.cis-card-text {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.68);
  line-height: 1.45;
}

/* Stage accent colors for the info strip */
.carousel-info-strip--1 {
  border-color: rgba(43,123,224,.12);
}
.carousel-info-strip--1 .cis-col { border-right-color: rgba(43,123,224,.1); }
.carousel-info-strip--1 .cis-col--why .cis-label { color: var(--s1); }
.carousel-info-strip--1 .cis-col--why .cis-card-icon { color: var(--s1); }
.carousel-info-strip--1 .cis-col--why .cis-card { border-color: rgba(43,123,224,.12); }
.carousel-info-strip--1 .cis-col--why .cis-card:hover { background: rgba(43,123,224,.07); border-color: rgba(43,123,224,.24); }

.carousel-info-strip--2 {
  border-color: rgba(15,150,136,.12);
}
.carousel-info-strip--2 .cis-col { border-right-color: rgba(15,150,136,.1); }
.carousel-info-strip--2 .cis-col--why .cis-label { color: var(--s2); }
.carousel-info-strip--2 .cis-col--why .cis-card-icon { color: var(--s2); }
.carousel-info-strip--2 .cis-col--why .cis-card { border-color: rgba(15,150,136,.12); }
.carousel-info-strip--2 .cis-col--why .cis-card:hover { background: rgba(15,150,136,.07); border-color: rgba(15,150,136,.26); }

.carousel-info-strip--3 {
  border-color: rgba(109,40,217,.12);
}
.carousel-info-strip--3 .cis-col { border-right-color: rgba(109,40,217,.1); }
.carousel-info-strip--3 .cis-col--why .cis-label { color: var(--s3); }
.carousel-info-strip--3 .cis-col--why .cis-card-icon { color: var(--s3); }
.carousel-info-strip--3 .cis-col--why .cis-card { border-color: rgba(109,40,217,.12); }
.carousel-info-strip--3 .cis-col--why .cis-card:hover { background: rgba(109,40,217,.07); border-color: rgba(109,40,217,.26); }

/* ═══════════════════════════════════════════════════════
   FEATURE SPOTLIGHT v4 — optimised for 1080p Teams screen
   Layout: [screenshot 58%] | [callout 42%]
   Image: 16/9 aspect ratio, object-fit: contain (no crop)
   Nav: dual prev/next thumb buttons below image
════════════════════════════════════════════════════════ */
.fsp-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #050c18;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 6px 32px rgba(0,0,0,.6);
  /* Maximize use of screen space */
  min-height: 460px;
  max-height: 68vh;
}

/* ── TOP BAR: stage tag + slide name + counter ── */
.fsp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 10px;
  flex-shrink: 0;
  min-height: 0;
}
.fsp-stage-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  white-space: nowrap;
  flex-shrink: 0;
}
.fsp-slide-name {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  padding: 0 10px;
}
.fsp-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.fsp-nav-btn {
  width: 48px; height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.95);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.fsp-nav-btn:hover { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.55); transform: scale(1.05); }
.fsp-counter {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  min-width: 40px;
  text-align: center;
}

/* ── MAIN BODY: screenshot left, callout right ── */
.fsp-body {
  display: grid;
  grid-template-columns: 65% 35%;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

/* ── SCREENSHOT PANE ── */
.fsp-screen {
  position: relative;
  overflow: hidden;
  background: #020710;
  border-right: 1px solid rgba(255,255,255,.07);
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
/* The image itself: centered & contained so full screenshot is always visible */
.fsp-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  background: #020710;
  transition: filter 0.18s;
  image-rendering: auto;
  max-height: 100%;
  margin: auto;
}
.fsp-screen:hover .fsp-screen-img { filter: brightness(1.04); }

/* Expand badge */
.fsp-expand-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(8,16,30,.86);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.7);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 4px;
  display: flex; align-items: center; gap: 4px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  opacity: 0.45;
  transition: opacity 0.18s;
}
.fsp-screen:hover .fsp-expand-badge { opacity: 1; }

/* ── DUAL THUMB NAV ROW — below screenshot image ── */
.fsp-thumb-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.25);
  flex-shrink: 0;
}

/* Prev/Next nav blocks */
.fsp-thumb-prev,
.fsp-thumb-next {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background 0.15s;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.fsp-thumb-prev {
  border-right: 1px solid rgba(255,255,255,.06);
  justify-content: flex-start;
}
.fsp-thumb-next {
  justify-content: flex-end;
  text-align: right;
}
.fsp-thumb-prev:hover, .fsp-thumb-next:hover {
  background: rgba(255,255,255,.05);
}
.fsp-thumb-prev:disabled, .fsp-thumb-next:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.fsp-thumb-img {
  width: 96px;
  height: 56px;
  object-fit: contain;
  object-position: center center;
  background: #020710;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.22);
  flex-shrink: 0;
  display: block;
}
.fsp-thumb-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  min-width: 0;
}
.fsp-thumb-dir {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.fsp-thumb-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.fsp-thumb-prev .fsp-thumb-dir::before { content: '← '; }
.fsp-thumb-next .fsp-thumb-dir::after  { content: ' →'; }

/* ── CALLOUT PANEL ── */
.fsp-callout {
  display: flex;
  flex-direction: column;
  padding: 12px 13px 10px;
  gap: 7px;
  overflow-y: auto;
  background: rgba(255,255,255,.02);
  /* Scroll if bullets overflow */
  max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.fsp-callout-title {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  line-height: 1.25;
  letter-spacing: -0.014em;
}
.fsp-callout-subtitle {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: -2px;
}
/* Brief description — concise, no clamp needed with shortened text */
.fsp-callout-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-top: -1px;
}

/* ── KEY POINT CHIPS ── */
.fsp-bullets {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.fsp-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 5px;
  transition: background 0.15s, border-color 0.15s;
}
.fsp-bullet:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.11); }
.fsp-bullet-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  background: rgba(61,186,171,.11);
  color: var(--teal);
}
.fsp-bullet-body { flex: 1; min-width: 0; }
.fsp-bullet-kicker {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  letter-spacing: 0.01em;
}
/* Show abbreviated text — 1 line max for Teams */
.fsp-bullet-text {
  font-size: 9.5px;
  color: rgba(255,255,255,.4);
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stage color overrides for bullet icons */
.section--s1 .fsp-bullet-icon { background: rgba(43,123,224,.14); color: var(--s1); }
.section--s2 .fsp-bullet-icon { background: rgba(15,150,136,.14); color: var(--s2); }
.section--s3 .fsp-bullet-icon { background: rgba(109,40,217,.14); color: var(--s3); }
.section--s1 .fsp-callout-subtitle { color: var(--s1); }
.section--s2 .fsp-callout-subtitle { color: var(--s2); }
.section--s3 .fsp-callout-subtitle { color: var(--s3); }

/* ── MODULE TAB STRIP ── */
.fsp-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.01);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.fsp-steps::-webkit-scrollbar { display: none; }
.fsp-step {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: none;
  border-right: 1px solid rgba(255,255,255,.05);
  background: transparent;
  color: rgba(255,255,255,.3);
  font-size: 9.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
  position: relative;
}
.fsp-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.18s;
}
.fsp-step:hover { background: rgba(255,255,255,.04); color: rgba(255,255,255,.6); }
.fsp-step.active { color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); }
.section--s1 .fsp-step.active::after { background: var(--s1); }
.section--s2 .fsp-step.active::after { background: var(--s2); }
.section--s3 .fsp-step.active::after { background: var(--s3); }
.fsp-step.active::after { background: var(--teal); }
.fsp-step-num {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
.fsp-step.active .fsp-step-num {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* ─── TEAM & METRICS STYLES ──────────────────────────── */
.team-context-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.team-context-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  flex: 1;
  min-width: 140px;
}
.tc-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 4px; }
.tc-value { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.team-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: background var(--t), border-color var(--t);
}
.team-card:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.team-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(43,123,224,.12);
  border: 1px solid rgba(43,123,224,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: rgba(43,123,224,.6);
  margin-bottom: 4px;
}

/* Team photo */
.team-photo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(43,123,224,.25);
  margin-bottom: 8px;
  background: rgba(43,123,224,.08);
  flex-shrink: 0;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.team-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: rgba(43,123,224,.5);
}
.team-name { font-size: 13px; font-weight: 700; color: var(--white); }
.team-role { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.4; }
.team-co { font-size: 10px; color: rgba(255,255,255,.22); }

.metrics-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.metrics-big-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.mbig-num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.mbig-label { font-size: 11px; color: rgba(255,255,255,.38); line-height: 1.4; }

.metrics-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.metrics-depth-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mdc-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(43,123,224,.12);
  color: var(--bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.metrics-depth-card h3 { font-size: 13.5px; font-weight: 700; color: var(--white); }
.metrics-depth-card p { font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.6; }

/* Team / Metrics hero */
.section-hero--team { background: linear-gradient(135deg, #0D1829 0%, #0B1525 100%); }
.section-hero--metrics { background: linear-gradient(135deg, #0A1520 0%, #0C1630 100%); }

/* Team / Metrics — background and body spacing */
.section--team  { background: var(--navy); }
.section--metrics { background: var(--navy); }
.section--team .section-body,
.section--metrics .section-body {
  padding: 0 0 48px;
}
.section--team .section-body.container-full,
.section--metrics .section-body.container-full {
  padding: 28px 40px 48px;
}

/* ═══════════════════════════════════════════════════
   KEY METRICS — Full Redesign
═══════════════════════════════════════════════════ */

/* Minimal page header */
.metrics-page-header {
  padding: 32px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.metrics-page-header-inner {
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.metrics-page-icon {
  font-size: 16px;
  color: rgba(255,255,255,.35);
}
.metrics-page-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* Hero statement */
.metrics-hero-statement {
  padding: 8px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 28px;
}
.metrics-hero-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}
.metrics-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.6);
}
.metrics-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
  max-width: 560px;
}

/* Section label */
.metrics-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.metrics-section-label i { color: var(--bright); opacity: .7; }

/* ── PRIMARY BIG NUMBERS ROW ── */
.metrics-primary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.metrics-primary-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.metrics-primary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(43,123,224,.2);
}
.metrics-primary-card--accent::before {
  background: linear-gradient(90deg, var(--bright), rgba(43,123,224,.3));
}
.metrics-primary-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}
.mpc-icon {
  font-size: 15px;
  color: var(--bright);
  opacity: .7;
  margin-bottom: 8px;
}
.mpc-num {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.metrics-primary-card--accent .mpc-num { color: #5ea8ff; }
.mpc-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  line-height: 1.3;
  margin-bottom: 6px;
}
.mpc-sub {
  font-size: 11px;
  color: rgba(255,255,255,.28);
  line-height: 1.4;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 8px;
  margin-top: 4px;
}

/* ── CLIENT ROI ROW ── */
.metrics-roi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.metrics-roi-card {
  background: linear-gradient(135deg, rgba(43,123,224,.06) 0%, rgba(43,123,224,.02) 100%);
  border: 1px solid rgba(43,123,224,.18);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mroi-kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bright);
  opacity: .75;
}
.mroi-num {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.mroi-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  flex: 1;
}
.mroi-detail {
  font-size: 10.5px;
  color: rgba(255,255,255,.28);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mroi-detail i { color: #22D76D; font-size: 9px; }

/* ── DEPTH GRID ── */
.metrics-depth-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.metrics-depth-card-v2 {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mdv2-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.mdv2-unit {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  letter-spacing: 0;
}
.mdv2-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}
.mdv2-desc {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.55;
}

/* ── MARKET BAR ── */
.metrics-market-bar {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 32px;
}
.mmbar-item {
  flex: 1;
  padding: 0 20px;
}
.mmbar-item:first-child { padding-left: 0; }
.mmbar-item:last-child  { padding-right: 0; }
.mmbar-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 5px;
}
.mmbar-value {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.mmbar-value strong { color: rgba(255,255,255,.8); font-weight: 600; }
.mmbar-divider {
  width: 1px;
  background: rgba(255,255,255,.08);
  align-self: stretch;
  flex-shrink: 0;
}

/* ── TEAM PAGE HEADER (minimal — icon + label only) ── */
.team-page-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.team-page-header-inner {
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-page-icon {
  font-size: 18px;
  color: rgba(255,255,255,.35);
}
.team-page-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ── TEAM 3×3 GRID ── */
.team-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.team-card-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  transition: background 0.2s, border-color 0.2s;
  gap: 0;
}
.team-card-v2:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.13);
}

.team-photo-wrap-lg {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(43,123,224,.35);
  margin-bottom: 18px;
  background: rgba(43,123,224,.08);
  flex-shrink: 0;
  /* Crisp rendering for upscaled photos */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* The photo itself */
.team-photo-wrap-lg .team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* bias toward top so faces aren't cut */
  display: block;
  /* Ensure smooth downscale from 1024px → 140px */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0); /* GPU layer for sharpness */
}

.team-name-v2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.team-role-v2 {
  font-size: 12px;
  color: rgba(255,255,255,.42);
  line-height: 1.45;
  max-width: 160px;
}

/* Name-only card — no headshot circle, name & title centred and larger */
.team-card-v2--text-only {
  justify-content: center;
}
.team-card-v2--text-only .team-name-v2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.team-card-v2--text-only .team-role-v2 {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  max-width: 200px;
}

/* ═══════════════════════════════════════════════════════
   OVERVIEW PAGE — new layout elements
═══════════════════════════════════════════════════════ */

/* Block wrapper with label */
.home-ov-block {
  margin-bottom: 24px;
}
.home-ov-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.home-ov-label i { font-size: 10px; opacity: 0.7; }

/* Label row with sub-label */
.home-ov-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.home-ov-label-row .home-ov-label {
  margin-bottom: 10px;
  border-bottom: none;
  padding-bottom: 0;
  flex: 1;
}
.home-ov-label-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.22);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  white-space: nowrap;
}
/* add border-bottom on the row itself */
.home-ov-label-row {
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 14px;
  padding-bottom: 8px;
}

/* ─── PLATFORM CAPABILITIES GRID ───────────────────────────── */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 4px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  text-align: left;
  padding: 0;
  outline: none;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t), background var(--t);
  position: relative;
}
.cap-card:hover,
.cap-card:focus-visible {
  border-color: rgba(56,139,253,.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.45), 0 0 0 1px rgba(56,139,253,.12);
  background: rgba(255,255,255,.04);
}
.cap-card--active {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(56,139,253,.18), 0 10px 30px rgba(0,0,0,.4) !important;
}
.cap-card:hover .cap-card-overlay { opacity: 1; }
.cap-card:hover .cap-card-img img { transform: scale(1.04); filter: brightness(.97); }

/* Image area */
.cap-card-img {
  position: relative;
  overflow: hidden;
  background: #030810;
}
.cap-card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  display: block;
  filter: brightness(.88);
  transition: filter 0.35s ease, transform 0.35s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.cap-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,26,48,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}
.cap-card-overlay i { font-size: 13px; }

/* Card body */
.cap-card-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Card number badge (top-left of image) */
.cap-card-img::after {
  content: attr(data-num);
  position: absolute;
  top: 9px; left: 10px;
  font-size: 9px;
  font-weight: 800;
  color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Stage badge */
.cap-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 8px;
  align-self: flex-start;
}
.cap-badge--1 {
  color: #4ade8f;
  background: rgba(74,222,143,.1);
  border: 1px solid rgba(74,222,143,.2);
}
.cap-badge--2 {
  color: rgba(56,139,253,.9);
  background: rgba(56,139,253,.1);
  border: 1px solid rgba(56,139,253,.2);
}
.cap-badge--3 {
  color: rgba(167,139,250,.9);
  background: rgba(167,139,250,.1);
  border: 1px solid rgba(167,139,250,.2);
}

.cap-card-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cap-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.cap-card-tags span {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* ─── CAPABILITY MODAL ───────────────────────────── */

.cap-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: capFadeIn 0.2s ease;
}
.cap-modal-overlay.open {
  display: flex;
}
@keyframes capFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cap-modal {
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface, #0d1827);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  animation: capSlideUp 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes capSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* Modal header */
.cap-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  gap: 16px;
  flex-shrink: 0;
}
.cap-modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cap-modal-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.cap-modal-stage {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56,139,253,.75);
}
.cap-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.cap-modal-counter {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}
.cap-modal-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.cap-modal-close:hover {
  background: rgba(255,80,80,.18);
  color: #ff6b6b;
  border-color: rgba(255,80,80,.3);
}

/* Modal body */
.cap-modal-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

/* Image wrap */
.cap-modal-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030810;
  overflow: hidden;
}
.cap-modal-img-inner {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cap-modal-img {
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 130px);
  object-fit: contain;
  object-position: center center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  margin: auto;
}

/* Prev / Next arrows */
.cap-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  backdrop-filter: blur(6px);
}
.cap-modal-nav:hover {
  background: rgba(56,139,253,.4);
  border-color: rgba(56,139,253,.5);
  color: #fff;
}
.cap-modal-prev { left: 14px; }
.cap-modal-next { right: 14px; }

/* Fullscreen btn */
.cap-modal-fullscreen {
  position: absolute;
  bottom: 12px; right: 14px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 5px 10px;
  display: flex; align-items: center; gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color var(--t), background var(--t);
}
.cap-modal-fullscreen:hover {
  color: #fff;
  background: rgba(56,139,253,.45);
  border-color: rgba(56,139,253,.5);
}

/* Info panel */
.cap-modal-info {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(6,13,26,.85);
  border-left: 1px solid rgba(255,255,255,.07);
  overflow-y: auto;
}
.cap-modal-why-wrap {
  flex: 1;
  background: rgba(56,139,253,.06);
  border: 1px solid rgba(56,139,253,.18);
  border-radius: 10px;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.cap-modal-why-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56,139,253,.95);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.cap-modal-desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  flex: 1;
}
/* Bullet rows inside Why It Matters */
.cap-modal-bullet {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.cap-modal-bullet:hover {
  background: rgba(56,139,253,.08);
  border-color: rgba(56,139,253,.2);
}
.cap-modal-bullet-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(56,139,253,.14);
  color: rgba(56,139,253,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cap-modal-bullet-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}
.cap-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cap-modal-tags span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 4px 10px;
}

/* Dot nav */
.cap-modal-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.cap-modal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--t), width var(--t);
  flex-shrink: 0;
}
.cap-modal-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* Explore CTA */
.cap-modal-explore {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(56,139,253,.1);
  border: 1px solid rgba(56,139,253,.25);
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
  letter-spacing: 0.02em;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}
.cap-modal-explore:hover {
  background: rgba(56,139,253,.2);
  border-color: rgba(56,139,253,.45);
  color: #fff;
}

/* Responsive — grid stays 4-col down to 900px, then 2-col */
@media (max-width: 1200px) {
  .cap-modal-body { grid-template-columns: 1fr 300px; }
}
@media (max-width: 960px) {
  .cap-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (max-width: 900px) {
  .cap-modal-body { grid-template-columns: 1fr; }
  .cap-modal-info { border-left: none; border-top: 1px solid rgba(255,255,255,.07); max-height: 260px; }
}
@media (max-width: 720px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .cap-modal { border-radius: 12px; }
  .cap-modal-title { font-size: 16px; }
  .cap-modal-header { padding: 14px 16px 12px; }
  .cap-modal-info { padding: 18px 16px 16px; }
  .home-ov-label-sub { display: none; }
}

/* ─── OLD KM COMPAT (kept for km-slide-desc shared with cs-why) ── */
.km-slide-desc {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin: 0;
}

.km-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.km-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* Nav controls inside slide info */
.km-slide-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.km-nav-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.km-nav-btn:hover {
  background: rgba(56,139,253,.15);
  border-color: rgba(56,139,253,.3);
  color: var(--accent);
}
.km-counter {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.32);
  flex: 1;
  text-align: center;
}

/* Dot indicators */
.km-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 12px;
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.05);
}
.km-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  cursor: pointer;
  transition: background var(--t), width var(--t);
}
.km-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .km-slide { grid-template-columns: 1fr; }
  .km-slide-info { padding: 20px 20px 18px; }
  .km-slide-title { font-size: 16px; }
}
@media (max-width: 768px) {
  .km-strip { gap: 6px; }
}
@media (max-width: 480px) {
  .km-thumb { min-width: 80px; }
}

/* ── 1. Construction Loan Type Cards ── */
.ov-loan-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ov-loan-card {
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--t), border-color var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}
.ov-loan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.ov-loan-card:hover {
  background: rgba(255,255,255,.048);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.ov-loan--residential::before { background: linear-gradient(90deg, #2B7BE0, #60A5FA); }
.ov-loan--commercial::before  { background: linear-gradient(90deg, #0F9688, #3DBAAB); }
.ov-loan--infrastructure::before { background: linear-gradient(90deg, #6D28D9, #A78BFA); }
.ov-loan--loc::before         { background: linear-gradient(90deg, #D97706, #FBBF24); }
.ov-loan--entertainment::before { background: linear-gradient(90deg, #DB2777, #F472B6); }

.ov-loan-icon {
  font-size: 18px;
  margin-bottom: 4px;
}
.ov-loan--residential .ov-loan-icon  { color: #2B7BE0; }
.ov-loan--commercial .ov-loan-icon   { color: #0F9688; }
.ov-loan--infrastructure .ov-loan-icon { color: #9D71F0; }
.ov-loan--loc .ov-loan-icon          { color: #F59E0B; }
.ov-loan--entertainment .ov-loan-icon { color: #EC4899; }

.ov-loan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.ov-loan-sub {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  line-height: 1.45;
}
.ov-loan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.ov-loan-tags span {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 2px 6px;
}

/* ── Loan card interactive upgrades ── */
.ov-loan-types { cursor: default; }
.ov-loan-card {
  cursor: pointer;
  text-align: left;
  position: relative;
}
.ov-loan-cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t), transform var(--t), color var(--t);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ov-loan-card:hover .ov-loan-cta { opacity: 1; transform: translateY(0); }
.ov-loan--residential:hover .ov-loan-cta { color: #60A5FA; }
.ov-loan--commercial:hover  .ov-loan-cta { color: #3DBAAB; }
.ov-loan--infrastructure:hover .ov-loan-cta { color: #A78BFA; }
.ov-loan--loc:hover         .ov-loan-cta { color: #FBBF24; }
.ov-loan--entertainment:hover .ov-loan-cta { color: #F472B6; }
.ov-loan-hint {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin: -4px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════
   ASSET CLASS OVERLAY
═══════════════════════════════════════════════════════ */
.ac-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ac-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.ac-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1,5,14,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ac-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1160px);
  max-height: 92vh;
  background: rgba(7,14,28,.97);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2);
}
.ac-overlay.open .ac-panel {
  transform: translateY(0) scale(1);
}

/* Header */
.ac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  gap: 12px;
  flex-shrink: 0;
}
.ac-back-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.ac-back-btn:hover {
  background: rgba(255,255,255,.11);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.ac-header-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.ac-header-icon {
  font-size: 18px;
  line-height: 1;
}
.ac-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.ac-close-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.4);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.ac-close-btn:hover { background: rgba(255,80,80,.15); color: #ff6b6b; }

/* Sub-header */
.ac-subheader {
  padding: 14px 24px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.ac-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.ac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ac-tags span {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 3px 9px;
}

/* Module pills */
.ac-modules-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.ac-module-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 5px 12px 5px 9px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.ac-module-pill i { font-size: 10px; opacity: .7; }
.ac-module-pill:hover,
.ac-module-pill.active {
  background: rgba(56,139,253,.12);
  border-color: rgba(56,139,253,.3);
  color: #fff;
}
.ac-module-pill.active { color: var(--bright); }

/* Carousel area */
.ac-carousel-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.ac-viewport {
  flex: 1;
  overflow: hidden;
}
.ac-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

/* Each slide: screenshot left, info right */
.ac-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px;
  height: 100%;
}
.ac-slide-img-wrap {
  background: #020810;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-slide-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 280px);
  object-fit: contain;
  object-position: top center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: brightness(.97);
  transition: filter var(--t);
}
.ac-slide:hover .ac-slide-img-wrap img { filter: brightness(1.02); }
.ac-slide-info {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8,16,30,.88);
  border-left: 1px solid rgba(255,255,255,.07);
  overflow-y: auto;
}
.ac-slide-stage {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(255,255,255,.35);
}
.ac-overlay[data-ac="residential"]    .ac-slide-stage { color: rgba(96,165,250,.7); }
.ac-overlay[data-ac="commercial"]     .ac-slide-stage { color: rgba(61,186,171,.7); }
.ac-overlay[data-ac="infrastructure"] .ac-slide-stage { color: rgba(167,139,250,.7); }
.ac-overlay[data-ac="loc"]            .ac-slide-stage { color: rgba(251,191,36,.7); }
.ac-overlay[data-ac="entertainment"]  .ac-slide-stage { color: rgba(244,114,182,.7); }
.ac-slide-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 5px;
  text-shadow: 0 1px 8px rgba(56,139,253,.18);
}
.ac-slide-cap {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(56,139,253,.7);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.ac-slide-why-wrap {
  flex: 1;
  background: rgba(56,139,253,.09);
  border: 1px solid rgba(56,139,253,.22);
  border-radius: 8px;
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 0;
}
.ac-slide-why-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56,139,253,.9);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.ac-slide-why {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.ac-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-shrink: 0;
}
.ac-slide-tags span {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 3px 9px;
}

/* Prev/Next nav arrows */
.ac-nav {
  width: 42px;
  flex-shrink: 0;
  background: rgba(255,255,255,.03);
  border: none;
  border-left: 1px solid rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.3);
  font-size: 15px;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-nav:hover { background: rgba(56,139,253,.1); color: var(--bright); }
.ac-nav--prev { order: -1; }
.ac-nav--next { order: 1; }

/* Footer: counter + dots */
.ac-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.ac-counter {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  min-width: 40px;
  text-align: center;
}
.ac-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}
.ac-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  cursor: pointer;
  transition: background var(--t), width var(--t);
  padding: 0;
}
.ac-dot.active {
  background: var(--bright);
  width: 18px;
  border-radius: 3px;
}

/* Color-themed accents per class */
.ac-overlay[data-ac="residential"] .ac-header { border-bottom-color: rgba(43,123,224,.2); }
.ac-overlay[data-ac="residential"] .ac-header-icon,
.ac-overlay[data-ac="residential"] .ac-header-title { color: #60A5FA; }
.ac-overlay[data-ac="residential"] .ac-dot.active,
.ac-overlay[data-ac="residential"] .ac-nav:hover { background: rgba(43,123,224,.2); color: #60A5FA; }
.ac-overlay[data-ac="residential"] .ac-module-pill.active { border-color: rgba(43,123,224,.4); color: #60A5FA; background: rgba(43,123,224,.1); }

.ac-overlay[data-ac="commercial"] .ac-header { border-bottom-color: rgba(15,150,136,.2); }
.ac-overlay[data-ac="commercial"] .ac-header-icon,
.ac-overlay[data-ac="commercial"] .ac-header-title { color: #3DBAAB; }
.ac-overlay[data-ac="commercial"] .ac-dot.active,
.ac-overlay[data-ac="commercial"] .ac-nav:hover { background: rgba(15,150,136,.2); color: #3DBAAB; }
.ac-overlay[data-ac="commercial"] .ac-module-pill.active { border-color: rgba(15,150,136,.4); color: #3DBAAB; background: rgba(15,150,136,.1); }

.ac-overlay[data-ac="infrastructure"] .ac-header { border-bottom-color: rgba(109,40,217,.2); }
.ac-overlay[data-ac="infrastructure"] .ac-header-icon,
.ac-overlay[data-ac="infrastructure"] .ac-header-title { color: #A78BFA; }
.ac-overlay[data-ac="infrastructure"] .ac-dot.active,
.ac-overlay[data-ac="infrastructure"] .ac-nav:hover { background: rgba(109,40,217,.2); color: #A78BFA; }
.ac-overlay[data-ac="infrastructure"] .ac-module-pill.active { border-color: rgba(109,40,217,.4); color: #A78BFA; background: rgba(109,40,217,.1); }

.ac-overlay[data-ac="loc"] .ac-header { border-bottom-color: rgba(217,119,6,.2); }
.ac-overlay[data-ac="loc"] .ac-header-icon,
.ac-overlay[data-ac="loc"] .ac-header-title { color: #FBBF24; }
.ac-overlay[data-ac="loc"] .ac-dot.active,
.ac-overlay[data-ac="loc"] .ac-nav:hover { background: rgba(217,119,6,.2); color: #FBBF24; }
.ac-overlay[data-ac="loc"] .ac-module-pill.active { border-color: rgba(217,119,6,.4); color: #FBBF24; background: rgba(217,119,6,.1); }

.ac-overlay[data-ac="entertainment"] .ac-header { border-bottom-color: rgba(219,39,119,.2); }
.ac-overlay[data-ac="entertainment"] .ac-header-icon,
.ac-overlay[data-ac="entertainment"] .ac-header-title { color: #F472B6; }
.ac-overlay[data-ac="entertainment"] .ac-dot.active,
.ac-overlay[data-ac="entertainment"] .ac-nav:hover { background: rgba(219,39,119,.2); color: #F472B6; }
.ac-overlay[data-ac="entertainment"] .ac-module-pill.active { border-color: rgba(219,39,119,.4); color: #F472B6; background: rgba(219,39,119,.1); }

/* Responsive */
@media (max-width: 860px) {
  .ac-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ac-slide-img-wrap img { max-height: 200px; }
  .ac-panel { max-height: 96vh; border-radius: 12px 12px 0 0; align-self: flex-end; }
  .ac-nav { display: none; }
}

/* ── 2. Lifecycle Stage Cards ── */
.ov-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ov-stage-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.ov-stage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ov-stage-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}
.ov-stage--1 .ov-stage-accent { background: linear-gradient(90deg, var(--s1), #60A5FA); }
.ov-stage--2 .ov-stage-accent { background: linear-gradient(90deg, var(--s2), var(--teal)); }
.ov-stage--3 .ov-stage-accent { background: linear-gradient(90deg, var(--s3), #A78BFA); }
.ov-stage--1 { border-color: rgba(43,123,224,.15); }
.ov-stage--2 { border-color: rgba(15,150,136,.2); background: rgba(15,150,136,.025); }
.ov-stage--3 { border-color: rgba(109,40,217,.15); }
.ov-stage--1:hover { border-color: rgba(43,123,224,.3); background: rgba(43,123,224,.04); }
.ov-stage--2:hover { border-color: rgba(15,150,136,.35); background: rgba(15,150,136,.05); }
.ov-stage--3:hover { border-color: rgba(109,40,217,.3); background: rgba(109,40,217,.04); }

.ov-stage-inner {
  padding: 14px 16px 10px;
  flex: 1;
}
.ov-stage-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ov-stage-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-family: inherit;
  line-height: 1;
  flex-shrink: 0;
}
.ov-stage--1 .ov-stage-num { color: var(--s1); }
.ov-stage--2 .ov-stage-num { color: var(--s2); }
.ov-stage--3 .ov-stage-num { color: var(--s3); }
.ov-stage-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.ov-stage-modules {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.ov-stage-modules span {
  font-size: 11.5px;
  color: rgba(255,255,255,.48);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ov-stage-modules span i {
  font-size: 9px;
  flex-shrink: 0;
  width: 13px;
  text-align: center;
}
.ov-stage--1 .ov-stage-modules span i { color: rgba(43,123,224,.6); }
.ov-stage--2 .ov-stage-modules span i { color: rgba(15,150,136,.6); }
.ov-stage--3 .ov-stage-modules span i { color: rgba(109,40,217,.6); }

.ov-stage-imgs {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}
.ov-stage-imgs img {
  flex: 1;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-radius: 5px;
  opacity: 0.55;
  border: 1px solid rgba(255,255,255,.06);
  transition: opacity var(--t);
  image-rendering: -webkit-optimize-contrast;
}
.ov-stage-card:hover .ov-stage-imgs img { opacity: 0.82; }

.ov-stage-footer {
  padding: 11px 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.36);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t);
}
.ov-stage-card:hover .ov-stage-footer { color: rgba(255,255,255,.75); }
.ov-stage--1:hover .ov-stage-footer { color: var(--s1); }
.ov-stage--2:hover .ov-stage-footer { color: var(--s2); }
.ov-stage--3:hover .ov-stage-footer { color: #A78BFA; }

/* ── 3. RAZE Integration Card ── */
.ov-raze-card {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  background: rgba(5,14,10,.7);
  border: 1px solid rgba(34,215,109,.16);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.ov-raze-card:hover {
  background: rgba(34,215,109,.04);
  border-color: rgba(34,215,109,.28);
  box-shadow: 0 0 24px rgba(34,215,109,.07);
}
.ov-raze-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ov-raze-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(34,215,109,.28);
  margin-top: 2px;
}
.ov-raze-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(34,215,109,.45);
  margin-bottom: 3px;
}
.ov-raze-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(34,215,109,.88);
  margin-bottom: 5px;
}
.ov-raze-desc {
  font-size: 12px;
  color: rgba(200,240,216,.42);
  line-height: 1.55;
  max-width: 480px;
}
.ov-raze-caps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
.ov-raze-cap {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(34,215,109,.55);
  white-space: nowrap;
}
.ov-raze-cap i { font-size: 10px; width: 14px; text-align: center; }
.ov-raze-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  border-left: 1px solid rgba(34,215,109,.1);
  padding-left: 20px;
}
.ov-raze-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.ov-raze-stats span {
  font-size: 14px;
  font-weight: 800;
  color: #22D76D;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ov-raze-stats small {
  font-size: 9px;
  color: rgba(34,215,109,.35);
  font-weight: 500;
}
.ov-raze-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(34,215,109,.55);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: color var(--t);
}
.ov-raze-card:hover .ov-raze-cta { color: #22D76D; }

/* ── 4. Team & Metrics Info Cards ── */
.ov-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ov-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.ov-info-card:hover {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.ov-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(43,123,224,.14);
  border: 1px solid rgba(43,123,224,.22);
  color: var(--bright);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ov-info-content { flex: 1; }
.ov-info-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.ov-info-desc {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}
.ov-info-cta {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: color var(--t);
}
.ov-info-card:hover .ov-info-cta { color: var(--bright); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1400px) {
  .ov-loan-types { grid-template-columns: repeat(5, 1fr); }
  .container-full { padding: 24px 40px; }
  .home-intro { padding: 14px 40px 12px; }
  .home-body { padding: 18px 40px 60px; }
  .section-layout { grid-template-columns: 1fr 240px; }
  .team-page-header-inner, .metrics-page-header-inner { padding: 0 40px; }
}
@media (max-width: 1300px) {
  .ov-stages-grid { grid-template-columns: repeat(3, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .sidebar-panel { width: 200px; }
  .main-content { margin-left: 248px; width: calc(100% - 248px); }
  .carousel-slide { grid-template-columns: 1fr 200px; }
  .ov-raze-card { grid-template-columns: 1fr auto auto; }
  .ov-raze-stats { display: none; }
  .container-full { padding: 24px 32px; }
  .home-intro { padding: 14px 32px 12px; }
  .home-body { padding: 18px 32px 60px; }
  .section--team .section-body.container-full, .section--metrics .section-body.container-full { padding: 24px 32px 48px; }
  .team-page-header-inner, .metrics-page-header-inner { padding: 0 32px; }
  .section-layout { grid-template-columns: 1fr 220px; gap: 22px; }
}
@media (max-width: 1100px) {
  .sidebar-panel { width: 180px; }
  .main-content { margin-left: 228px; width: calc(100% - 228px); }
  .section-layout { grid-template-columns: 1fr; }
  .section-sidebar { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 240px; }
  .carousel-slide { grid-template-columns: 1fr; }
  .cs-info { border-left: none; border-top: 1px solid rgba(255,255,255,.05); }
  .ov-loan-types { grid-template-columns: repeat(3, 1fr); }
  .ov-stages-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-raze-card { grid-template-columns: 1fr auto; }
  .ov-raze-caps { display: none; }
  .container-full { padding: 20px 28px; }
  .home-intro { padding: 14px 28px 12px; }
  .home-body { padding: 18px 28px 60px; }
  .section--team .section-body.container-full, .section--metrics .section-body.container-full { padding: 20px 28px 48px; }
  .team-page-header-inner, .metrics-page-header-inner { padding: 0 28px; }
}
@media (max-width: 900px) {
  .sidebar-rail { width: 44px; }
  .sidebar-panel { left: 44px; width: 170px; }
  .main-content { margin-left: 214px; width: calc(100% - 214px); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .raze-capabilities-grid { grid-template-columns: 1fr; }
  .home-intro-stats { display: none; }
  .home-intro { padding: 14px 24px 12px; }
  .home-body { padding: 18px 24px 60px; }
  .metrics-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-stages-grid { grid-template-columns: 1fr; }
  .ov-loan-types { grid-template-columns: repeat(2, 1fr); }
  .ov-raze-card { grid-template-columns: 1fr; }
  .ov-info-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 50px; }
  .sidebar-rail { display: none; }
  .sidebar-panel { display: none; }
  .main-content { margin-left: 0; width: 100%; }
  .nav-pills { display: none; }
  .nav-hamburger { display: flex; }
  .module-grid { grid-template-columns: 1fr; }
  .container-full { padding: 16px 20px; }
  .home-intro { padding: 14px 20px 12px; }
  .home-body { padding: 18px 20px 60px; }
  .section--team .section-body.container-full, .section--metrics .section-body.container-full { padding: 16px 20px 40px; }
  .team-page-header-inner, .metrics-page-header-inner { padding: 0 20px; }
  .section-body { padding: 20px 0 32px; }
  .raze-stats-row { flex-direction: column; }
  .lightbox-meta { grid-template-columns: 1fr; }
  .metrics-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-depth-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-loan-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .home-intro-inner { gap: 12px; flex-wrap: wrap; }
  .section-nav-strip { flex-direction: column; gap: 10px; }
  .snav-btn { width: 100%; justify-content: center; }
  .metrics-hero-grid { grid-template-columns: 1fr 1fr; }
  .ov-loan-types { grid-template-columns: 1fr 1fr; }
  .ov-info-card { flex-direction: column; text-align: center; }
}

/* ─── FEATURE SPOTLIGHT RESPONSIVE ───────────────────── */
@media (max-width: 1280px) {
  .fsp-body { grid-template-columns: 57% 43%; }
}
@media (max-width: 1100px) {
  .fsp-body { grid-template-columns: 55% 45%; }
  .fsp-wrap { max-height: 78vh; }
}
@media (max-width: 900px) {
  .fsp-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .fsp-screen {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .fsp-wrap { max-height: none; }
  .fsp-callout { max-height: 260px; }
  .carousel-info-strip { grid-template-columns: 1fr; }
  .cis-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); }
  .cis-col:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .fsp-callout-title { font-size: 13px; }
  .fsp-callout-desc { display: none; }
  .cis-cards { grid-template-columns: 1fr; }
  .fsp-thumb-img { width: 48px; height: 28px; }
  .fsp-thumb-name { max-width: 90px; }
}
