/* ═══════════════════════════════════════════════════
   InvestPNG — Sovereign Platform Stylesheet
   Version: 1.0 · March 2026
   Design standard: Invest Saudi / EDB Singapore tier
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #344146;
  --navy-deep: #232e32;
  --gold:      #A48C48;
  --gold-dark: #7A6835;
  --gold-light:#C4AF78;
  --stone:     #F5F1E8;
  --stone-mid: #EBE5D8;
  --border:    #DDD8CC;
  --charcoal:  #1A1A1A;
  --slate:     #5A6170;
  --white:     #FFFFFF;
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;

  /* ── Universal Status Tag Tokens ── */
  --st-assessment-bg:    rgba(90,97,112,0.08);
  --st-assessment-color: #5A6170;
  --st-assessment-border:#94a3b8;

  --st-ready-bg:         rgba(37,99,235,0.09);
  --st-ready-color:      #1e40af;
  --st-ready-border:     #2563eb;

  --st-secured-bg:       rgba(5,150,105,0.09);
  --st-secured-color:    #065f46;
  --st-secured-border:   #059669;

  --st-operational-bg:   rgba(124,58,237,0.08);
  --st-operational-color:#5b21b6;
  --st-operational-border:#7c3aed;

  --st-seeking-bg:       rgba(217,119,6,0.1);
  --st-seeking-color:    #92400e;
  --st-seeking-border:   #d97706;

  --st-capital-secured-bg:   rgba(5,150,105,0.09);
  --st-capital-secured-color:#065f46;
}

/* ── Universal Status Tags ────────────────────────
   Single source of truth for all stage / capital status tags.
   Usage: <span class="status-tag status-tag--assessment">In Assessment</span>
   ──────────────────────────────────────────────── */
.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
}

/* Stage variants */
.status-tag--assessment {
  background: var(--st-assessment-bg);
  color: var(--st-assessment-color);
}
.status-tag--investment-ready,
.status-tag--investment_ready {
  background: var(--st-ready-bg);
  color: var(--st-ready-color);
}
.status-tag--capital-secured,
.status-tag--capital_secured {
  background: var(--st-secured-bg);
  color: var(--st-secured-color);
}
.status-tag--operational {
  background: var(--st-operational-bg);
  color: var(--st-operational-color);
}

/* Capital status variants */
.status-tag--seeking {
  background: var(--st-seeking-bg);
  color: var(--st-seeking-color);
}
.status-tag--secured {
  background: var(--st-capital-secured-bg);
  color: var(--st-capital-secured-color);
}

/* Compact variant (dashboard tables, feeds) */
.status-tag--sm {
  padding: 2px 8px;
  font-size: 10px;
}

/* Stage chip variant (manager breakdown) */
.status-tag--chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.status-tag--chip.status-tag--assessment       { border-left: 3px solid var(--st-assessment-border); }
.status-tag--chip.status-tag--investment_ready  { border-left: 3px solid var(--st-ready-border); }
.status-tag--chip.status-tag--capital_secured   { border-left: 3px solid var(--st-secured-border); }
.status-tag--chip.status-tag--operational       { border-left: 3px solid var(--st-operational-border); }

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--charcoal); background: var(--white); font-size: 16px; line-height: 1.6; }

/* ── NAV ────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  padding: 0 48px; display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--navy); text-decoration: none;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ── HAMBURGER BUTTON ───────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 200;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ────────────────────────── */
.nav-mobile {
  position: fixed;
  top: 100px;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  z-index: 99;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
  box-shadow: none;
}
.nav-mobile.is-open {
  max-height: 680px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.nav-mobile ul { list-style: none; padding: 8px 0 20px; }
.nav-mobile ul li a {
  display: block;
  padding: 14px 32px;
  color: var(--navy);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--stone-mid);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile ul li:last-child a { border-bottom: none; }
.nav-mobile ul li a:hover,
.nav-mobile ul li a.active { color: var(--gold); background: var(--stone); }

/* ── MEGA MENU (desktop dropdown) ──────── */
.nav-links li.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 260px; padding: 6px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 20px; text-decoration: none;
  border-bottom: 1px solid var(--stone-mid);
  transition: background 0.15s;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: var(--stone); }
.nav-dropdown-title {
  font-size: 12px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-dropdown-desc { font-size: 11px; color: var(--slate); line-height: 1.4; }
.nav-dropdown-item:hover .nav-dropdown-title { color: var(--gold); }

/* ── MOBILE SUBMENU ─────────────────────── */
.nav-mobile .has-submenu { }
.nav-submenu-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 32px;
  color: var(--navy); background: none; border: none; cursor: pointer;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--stone-mid);
  font-family: var(--font); text-align: left;
}
.nav-submenu-toggle:hover,
.nav-submenu-toggle.is-open { color: var(--gold); background: var(--stone); }
.nav-arrow-icon {
  display: inline-block; font-size: 10px;
  transition: transform 0.2s; flex-shrink: 0;
}
.nav-submenu-toggle.is-open .nav-arrow-icon { transform: rotate(180deg); }
.nav-submenu {
  list-style: none; overflow: hidden;
  max-height: 0; transition: max-height 0.25s ease;
  background: var(--stone);
}
.nav-submenu.is-open { max-height: 220px; }
.nav-submenu li a {
  display: block; padding: 11px 32px 11px 48px;
  color: var(--slate); text-decoration: none;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-submenu li:last-child a { border-bottom: none; }
.nav-submenu li a:hover { color: var(--gold); }

/* ── NAV OVERLAY ────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.18);
  z-index: 98;
  cursor: pointer;
}
.nav-overlay.is-open { display: block; }

/* ── HERO ───────────────────────────────── */
.hero {
  background: var(--navy); color: var(--white);
  padding: 80px 48px 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40%; height: 100%; background: var(--gold);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%); opacity: 0.07;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--gold);
}
.hero-title {
  font-size: clamp(32px, 5vw, 60px); font-weight: 700;
  line-height: 1.06; max-width: 780px; margin-bottom: 20px;
  color: var(--white); letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.55);
  max-width: 560px; font-weight: 400; line-height: 1.7;
}
.hero-subtitle + .hero-cta { margin-top: 40px; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Homepage hero — large format */
.hero-home .hero-title {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 860px;
}
.hero-home .hero-subtitle {
  font-size: 18px; max-width: 600px;
}

/* Homepage hero — elevated Parliament House, Waigani.
   Building sits right-of-centre; hills behind; driveway/grounds below.
   Focal point weighted slightly above centre to keep building prominent.
   Stronger overlay on left for text legibility; diagonal reveal shows building. */
.hero-home .hero-bg {
  background-position: 55% 38%;
}
.hero-home.hero--has-image::before {
  background: linear-gradient(
    115deg,
    rgba(52, 65, 70, 0.94) 0%,
    rgba(52, 65, 70, 0.92) 34%,
    rgba(52, 65, 70, 0.74) 46%,
    rgba(52, 65, 70, 0.35) 56%,
    rgba(52, 65, 70, 0.12) 64%,
    transparent 72%
  );
}

/* Hero with full-width image + graduated brand overlay */
.hero-bg {
  position: absolute; top: -6%; left: 0;
  width: 100%; height: 112%;
  background-size: cover; background-position: 50% 35%;
  will-change: transform;
  z-index: 0;
}
/* Responsive <picture> inside hero-bg (replaces background-image when available) */
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
}

/* Page-specific hero composition overrides (must follow .hero-bg) */
.page-opportunities .hero-bg,
.single-opportunity .hero-bg { background-position: center bottom; }
.page-sectors .hero-bg       { background-position: 50% 60%; }
.page-knowledge .hero-bg     { background-position: 50% 45%; }
.page-partners .hero-bg      { background-position: center 25%; }
.page-faqs .hero-bg          { background-position: 50% 45%; }
.page-contact .hero-bg       { background-position: 50% 40%; }
/* <picture> object-position mirrors for responsive hero images */
.hero-home .hero-bg-img                              { object-position: 55% 38%; }
.page-opportunities .hero-bg-img,
.single-opportunity .hero-bg-img                     { object-position: center bottom; }
.page-sectors .hero-bg-img                           { object-position: 50% 60%; }
.page-knowledge .hero-bg-img                         { object-position: 50% 45%; }
.page-partners .hero-bg-img                          { object-position: center 25%; }
.page-faqs .hero-bg-img                              { object-position: 50% 45%; }
.page-contact .hero-bg-img                           { object-position: 50% 40%; }
.hero--has-image::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    115deg,
    rgba(52, 65, 70, 0.92) 0%,
    rgba(52, 65, 70, 0.88) 50%,
    rgba(52, 65, 70, 0.65) 66%,
    rgba(52, 65, 70, 0.15) 82%,
    transparent 100%
  );
  clip-path: none; opacity: 1;
  z-index: 1;
}
.hero--has-image .hero-eyebrow,
.hero--has-image .hero-title,
.hero--has-image .hero-subtitle,
.hero--has-image .hero-cta,
.hero--has-image .hero-breadcrumb,
.hero--has-image .snapshot,
.hero--has-image .brief-bar { position: relative; z-index: 2; }
.hero--has-image .hero-title { max-width: 640px; }
.hero--has-image .hero-subtitle { max-width: 520px; }

/* Homepage hero — responsive adjustment (≤980px).
   Same image across all breakpoints; adjust focal point for narrower viewports.
   Shift slightly left on tablet so Parliament House stays visible through overlay. */
@media (max-width: 980px) {
  .hero-home .hero-bg {
    background-position: 52% 36%;
  }
  .hero-home .hero-bg-img {
    object-position: 52% 36%;
  }
}

/* ── SHARED SECTION ─────────────────────── */
section { padding: 72px 48px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 700;
  color: var(--navy); line-height: 1.2; margin-bottom: 10px;
}
.section-intro {
  font-size: 16px; color: var(--slate); max-width: 660px;
  margin-bottom: 48px; line-height: 1.8;
}
.divider { width: 44px; height: 3px; background: var(--gold); margin-bottom: 40px; }

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 3px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: opacity 0.15s, background 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); opacity: 1; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); opacity: 1; }

/* ── HOMEPAGE: PLATFORM STATEMENT ──────── */
.platform-statement { background: var(--white); padding-top: 96px; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ps-body p { font-size: 16px; line-height: 1.85; color: var(--charcoal); margin-bottom: 20px; }
.ps-body p:last-child { margin-bottom: 0; }
.ps-body strong { color: var(--navy); }
.ps-stats { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.ps-stat { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.ps-stat:last-child { border-bottom: none; }
.ps-stat-value { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.ps-stat-value span { color: var(--gold); }
.ps-stat-label { font-size: 12px; color: var(--slate); font-weight: 500; }
.ps-stat-desc { font-size: 12px; color: var(--slate); font-weight: 400; margin-top: 6px; line-height: 1.5; opacity: 0.7; }

/* ── HOMEPAGE: PILLARS ──────────────────── */
.pillars { background: var(--white); padding: 72px 36px; }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--navy); border-radius: 0 0 4px 4px;
  padding: 24px 20px;
}
.pillar-card:nth-child(1) { border-top-color: var(--gold); }
.pillar-card:nth-child(2) { border-top-color: var(--navy); }
.pillar-card:nth-child(3) { border-top-color: var(--gold); }
.pillar-card:nth-child(4) { border-top-color: var(--navy); }
.pillar-card:nth-child(5) { border-top-color: var(--gold); }
.pillar-num {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.pillar-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pillar-body { font-size: 13px; color: var(--slate); line-height: 1.65; }

/* ── HOMEPAGE: SECTOR CARDS GRID ──────── */
.sector-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px;
}
.sector-card:hover { box-shadow: 0 4px 16px rgba(164,140,72,0.12); }
@media (max-width: 900px) {
  .sector-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sector-cards-grid { grid-template-columns: 1fr; }
}

/* ── OPPORTUNITY CARD (UNIFIED) ─────────── */
.opps-preview { background: var(--white); }
.opps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.opp-card {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 0; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.opp-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.opp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.opp-card-location,
.opp-card-title,
.opp-card-meta,
.opp-card-capital,
.opp-card-cta,
.ip-star {
  margin-left: 28px;
  margin-right: 28px;
}
.opp-card-location { margin-top: 20px; }
.opp-card-cta { margin-bottom: 24px; }
.opp-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(164,140,72,0.1); }
.opp-card-location { font-size: 13px; color: var(--slate); margin-bottom: 12px; letter-spacing: 0.02em; }
.opp-card-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
.opp-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
/* Legacy .opp-card-stage → superseded by universal .status-tag system.
   Kept for backward compat with any cached HTML. */
.opp-card-stage {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 3px;
  background: var(--st-assessment-bg); color: var(--st-assessment-color);
}
.opp-card-capital { font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 0; flex: 1; }
.opp-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  padding-top: 16px; border-top: 1px solid var(--border);
  margin-top: auto; transition: gap 0.2s;
}
.opp-card-cta:hover { gap: 10px; }
/* Assessment stage — off-white background, italic title */
.opp-card--assessment { background: #f8f7f4; }
.opp-card--assessment .opp-card-title { font-style: italic; }
.opp-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 2px;
}

/* ── SECTORS PAGE ───────────────────────── */
.sectors-intro { background: var(--white); }
.sector-block { padding: 64px 48px; border-bottom: 1px solid var(--border); }
.sector-block:nth-child(even) { background: var(--stone); }
.sector-block:nth-child(odd) { background: var(--white); }
.sector-inner { max-width: 1200px; }
.sector-block-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.sector-block-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--navy); }
.sector-block-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; background: rgba(164,140,72,0.12);
  color: var(--gold-dark); padding: 6px 14px; border-radius: 2px;
  white-space: nowrap; flex-shrink: 0; margin-top: 4px;
}
.sector-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sector-col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.sector-col-body { font-size: 14px; color: var(--slate); line-height: 1.8; }
.sector-col-body p { margin-bottom: 10px; }
.sector-col-body p:last-child { margin-bottom: 0; }
.sector-cta { margin-top: 32px; }

/* ── OPPORTUNITIES PAGE — Compact explorer bar ─────────────────────────── */
.explorer-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  position: sticky;
  top: 60px;
  z-index: 20;
  overflow: hidden;
}
.explorer-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.explorer-bar-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.explorer-bar-stat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.explorer-bar-stat strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
}
.explorer-bar-stat-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}
.explorer-bar-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.explorer-bar-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 0%;
}
.explorer-bar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.explorer-bar-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 28px 7px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--navy);
  cursor: pointer;
  min-width: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%235A6170' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.explorer-bar-select:hover {
  border-color: var(--gold-light);
  box-shadow: 0 2px 6px rgba(164,140,72,0.10);
}
.explorer-bar-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.explorer-bar .explorer-toggle {
  flex-shrink: 0;
}

/* ── OPPORTUNITIES PAGE — Legacy control band (kept for reuse) ─────────── */
.opp-filters-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}
.opp-filters-wrap > .opp-filters-toggle-row {
  padding-top: 28px;
  padding-bottom: 24px;
  display: flex;
  justify-content: flex-start;
}
.opp-filters-wrap > .opp-filters-controls {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 32px 20px;
  margin-bottom: 28px;
}
.opp-filters-row {
  padding: 0;
  display: flex; align-items: center; gap: 16px;
}
.opp-filters-toggle-row {
  padding-top: 28px; padding-bottom: 24px;
  justify-content: center;
}
.opp-filters-sector-row {
  padding-top: 0; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.opp-filters-region-row {
  padding-top: 0; padding-bottom: 4px;
}
/* Legacy single-row layout (kept for non-explorer pages) */
.opp-filters {
  background: var(--stone); padding: 28px 48px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.filter-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark);
  min-width: 52px; flex-shrink: 0;
}
.filter-group {
  display: flex; gap: 8px; flex-wrap: wrap;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.filter-group::-webkit-scrollbar { display: none; }
.filter-chip {
  font-size: 12px; font-weight: 600; padding: 8px 18px;
  border: 1px solid var(--border); border-radius: 4px;
  cursor: pointer; color: var(--navy); background: var(--white);
  transition: all 0.18s ease; text-decoration: none;
  flex-shrink: 0; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  letter-spacing: 0.01em;
}
.filter-chip:hover {
  background: var(--stone); color: var(--navy);
  border-color: var(--gold-light);
  box-shadow: 0 2px 6px rgba(164,140,72,0.10);
}
.filter-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.filter-chip.active {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(52,65,70,0.18);
}
.filter-divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }
.opp-main { background: var(--white); }
.opp-pipeline {
  background: var(--navy); padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.opp-pipeline-text h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.opp-pipeline-text p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 480px; line-height: 1.7; }

/* ── PIPELINE VIEW ─────────────────────── */
.pipeline-metrics {
  background: var(--white); padding: 40px 48px;
  border-bottom: 1px solid var(--border);
}
.pipeline-metrics-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pipeline-metric {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 16px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pipeline-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#pipeline-controls,
.pipeline-stage {
  scroll-margin-top: 120px;
}
.pipeline-metric-value {
  display: block; font-size: 38px; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 8px;
}
.pipeline-metric-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
}
.pipeline-stage { padding: 64px 48px; }
.pipeline-stage.bg-stone { background: var(--stone); }
.pipeline-stage-header {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 40px; max-width: 1200px;
}
.pipeline-stage-marker {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 8px;
}
.pipeline-stage-marker--assessment       { background: var(--st-assessment-border); }
.pipeline-stage-marker--investment_ready { background: var(--st-ready-border); }
.pipeline-stage-marker--capital_secured  { background: var(--st-secured-border); }
.pipeline-stage-marker--operational      { background: var(--st-operational-border); }
.pipeline-stage-meta { flex: 1; }
.pipeline-stage-title {
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 700;
  color: var(--navy); margin-bottom: 6px; line-height: 1.2;
}
.pipeline-stage-desc {
  font-size: 14px; color: var(--slate); line-height: 1.7;
  max-width: 640px;
}
.pipeline-stage-count {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
  white-space: nowrap; flex-shrink: 0; margin-top: 4px;
}
.pipeline-stage-empty {
  font-size: 14px; color: var(--slate); padding-left: 30px;
}


/* ── KNOWLEDGE PAGE ─────────────────────── */
.knowledge-intro { background: var(--white); }
.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.knowledge-tile {
  border: 1px solid var(--border); border-radius: 4px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.knowledge-tile:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(164,140,72,0.1); }
.knowledge-tile-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--stone); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.knowledge-tile-icon svg { width: 18px; height: 18px; }
.knowledge-tile-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.knowledge-tile-body { font-size: 13.5px; color: var(--slate); line-height: 1.75; flex: 1; }
.knowledge-tile-link {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
}
.knowledge-tile-link:hover { color: var(--navy); }

/* ── INVESTOR DECISION FLOW ────────────── */
.decision-flow {
  display: flex; align-items: center; justify-content: center;
  background: var(--stone); border-radius: 6px;
  padding: 32px 16px; margin-bottom: 48px;
}
.decision-flow-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 14px 8px; border-radius: 4px;
  transition: background 0.2s; cursor: default; text-align: center;
}
.decision-flow-step:hover { background: rgba(164,140,72,0.07); }
.decision-flow-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--gold);
  transition: border-color 0.2s, box-shadow 0.2s; flex-shrink: 0;
}
.decision-flow-icon svg { width: 18px; height: 18px; }
.decision-flow-step:hover .decision-flow-icon {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(164,140,72,0.12);
}
.decision-flow-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy); line-height: 1.3;
}
.decision-flow-connector {
  width: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  position: relative; padding-bottom: 28px;
}
.decision-flow-connector span {
  display: block; width: 100%; height: 1px; background: var(--border);
  position: relative;
}
.decision-flow-connector span::after {
  content: ''; position: absolute; right: -1px; top: -3px;
  border: solid var(--gold); border-width: 0 1.5px 1.5px 0;
  display: inline-block; padding: 2.5px; transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .decision-flow { flex-wrap: wrap; gap: 4px; padding: 24px 12px; }
  .decision-flow-connector { width: 24px; padding-bottom: 0; }
  .decision-flow-label { font-size: 10px; }
}
@media (max-width: 600px) {
  .decision-flow { flex-direction: column; gap: 0; padding: 20px 16px; }
  .decision-flow-step { flex-direction: row; gap: 12px; width: 100%; padding: 10px 12px; }
  .decision-flow-label { text-align: left; }
  .decision-flow-connector {
    width: 1px; height: 20px; padding-bottom: 0; margin-left: 20px;
  }
  .decision-flow-connector span { width: 1px; height: 100%; }
  .decision-flow-connector span::after {
    right: -3px; top: auto; bottom: -1px;
    transform: rotate(45deg);
  }
}

/* ── REGULATORY CARD LINKS ────────────── */
a.reg-body-card--link {
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.reg-body-card--link:hover {
  border-color: var(--gold); box-shadow: 0 2px 12px rgba(164,140,72,0.1);
}
.reg-body-link {
  display: inline-block; margin-top: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
}
a.reg-body-card--link:hover .reg-body-link { color: var(--navy); }

/* ── KNOWLEDGE SECTION PAGES ──────────── */
.ks-intro { background: var(--white); padding: 48px 48px 24px; }
.ks-breadcrumb {
  font-size: 12px; color: var(--slate); margin-bottom: 32px;
}
.ks-breadcrumb a { color: var(--gold); text-decoration: none; font-weight: 600; }
.ks-breadcrumb a:hover { color: var(--navy); }
.ks-breadcrumb-sep { margin: 0 8px; color: var(--border); }
.ks-intro-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 12px;
}
.ks-intro-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--stone); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid var(--border);
}
.ks-intro-icon svg { width: 22px; height: 22px; }
.ks-intro-header .section-label { margin-bottom: 4px; }
.ks-intro-header .section-title { margin-bottom: 0; }

.ks-block { background: var(--white); padding: 48px; }
.ks-block--alt { background: var(--stone); }
.ks-block-header { margin-bottom: 28px; }
.ks-block-title {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.ks-block-desc {
  font-size: 14px; color: var(--slate); line-height: 1.7;
  max-width: 660px;
}
.ks-source-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.ks-source-card {
  border: 1px solid var(--border); border-radius: 4px; padding: 24px;
  background: var(--white); display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.ks-source-card--link { text-decoration: none; color: inherit; }
a.ks-source-card--link:hover {
  border-color: var(--gold); box-shadow: 0 2px 12px rgba(164,140,72,0.1);
}
.ks-source-name {
  font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4;
}
.ks-source-desc {
  font-size: 13px; color: var(--slate); line-height: 1.7; flex: 1;
}
.ks-source-action {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-top: 4px;
}
a.ks-source-card--link:hover .ks-source-action { color: var(--navy); }
a.ks-source-card--document { border-left: 3px solid var(--gold); }
.ks-source-card--pending { opacity: 0.7; border-style: dashed; }
.ks-source-status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); margin-top: 4px; font-style: italic;
}

.ks-nav-strip {
  background: var(--white); padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.ks-back-link {
  font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none;
}
.ks-back-link:hover { color: var(--navy); }

@media (max-width: 768px) {
  .ks-intro { padding: 32px 20px 16px; }
  .ks-block { padding: 32px 20px; }
  .ks-source-grid { grid-template-columns: 1fr; }
  .ks-nav-strip { padding: 24px 20px; }
  .ks-intro-header { gap: 14px; }
  .ks-intro-icon { width: 44px; height: 44px; }
  .ks-intro-icon svg { width: 18px; height: 18px; }
}

/* ── WHY PNG PAGE ───────────────────────── */
.thesis-intro { background: var(--white); }
.thesis-pillars { background: var(--white); }
.thesis-pillars-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  padding: 0 48px 64px; background: var(--white);
}
.thesis-pillar {
  padding: 40px 32px; border: 1px solid var(--border);
  display: flex; flex-direction: column; margin: -0.5px;
}
.thesis-pillar-num {
  font-size: 48px; font-weight: 700;
  color: rgba(52,65,70,0.08); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.thesis-pillar-content { flex: 1; }
.thesis-pillar-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.thesis-pillar-title { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--navy); margin-bottom: 18px; line-height: 1.25; }
.thesis-pillar-body { font-size: 14px; color: var(--charcoal); line-height: 1.8; }

@media (max-width: 1399px) {
  .thesis-pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .thesis-pillars-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px 48px; }
}
@media (max-width: 600px) {
  .thesis-pillars-grid { grid-template-columns: 1fr; padding: 0 24px 32px; }
}

/* ── ABOUT PAGE ─────────────────────────── */
.about-statement { background: var(--white); }
.about-statement-text { font-size: 19px; color: var(--charcoal); line-height: 1.8; max-width: 760px; }
.about-statement-text p { margin-bottom: 24px; }
.about-statement-text p:last-child { margin-bottom: 0; }
.about-statement-text strong { color: var(--navy); }
.about-mission {
  background: var(--navy); padding: 64px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-mission-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.about-mission-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: var(--white); line-height: 1.3; }
.about-mission-body { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.85; }
.about-functions { background: var(--stone); }
.functions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.function-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 0 0 4px 4px;
  padding: 32px 28px;
}
.function-num {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.function-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.function-body { font-size: 14px; color: var(--slate); line-height: 1.75; }

/* ── PARTNERS PAGE ──────────────────────── */
.partners-intro { background: var(--white); }
.partners-intro-body { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.partners-intro-text p { font-size: 16px; line-height: 1.85; color: var(--charcoal); margin-bottom: 20px; }
.partners-intro-text p:last-child { margin-bottom: 0; }
.partners-note {
  background: var(--stone); border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0; padding: 28px 28px;
}
.partners-note-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.partners-note-body { font-size: 14px; color: var(--slate); line-height: 1.75; }
.services { background: var(--stone); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 32px 28px;
}
.service-num {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.service-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.service-body { font-size: 14px; color: var(--slate); line-height: 1.75; }
.partners-form-section { background: var(--navy); padding: 64px 48px; }
.partners-form-section .section-title { color: var(--white); }
.partners-form-section .section-intro { color: rgba(255,255,255,0.55); }
.partners-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 700px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full-width { grid-column: 1 / -1; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px; padding: 12px 16px; font-size: 14px; color: var(--white);
  font-family: var(--font); outline: none; width: 100%;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-select option { background: var(--navy); color: var(--white); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-upload-hint { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; margin: 0; }
.form-upload-limits { font-size: 11px; color: rgba(255,255,255,0.35); margin: 0; letter-spacing: 0.02em; }
.form-file-input {
  background: rgba(255,255,255,0.05); border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 3px; padding: 14px 16px; font-size: 13px; color: rgba(255,255,255,0.6);
  font-family: var(--font); width: 100%; cursor: pointer; transition: border-color 0.2s;
}
.form-file-input:hover, .form-file-input:focus { border-color: var(--gold); outline: none; }
.form-file-input::file-selector-button {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; padding: 6px 14px; font-size: 12px; color: rgba(255,255,255,0.7);
  font-family: var(--font); cursor: pointer; margin-right: 12px; transition: background 0.2s;
}
.form-file-input::file-selector-button:hover { background: rgba(255,255,255,0.18); }

/* ── CONTACT PAGE ───────────────────────── */
.contact-main { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.contact-form-wrap { }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; padding: 12px 16px; font-size: 14px;
  color: var(--charcoal); font-family: var(--font); outline: none; width: 100%;
  transition: border-color 0.2s;
}
.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder { color: rgba(90,97,112,0.4); }
.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus { border-color: var(--navy); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-textarea { min-height: 120px; resize: vertical; }
.contact-sidebar { }
.contact-info-block {
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; margin-bottom: 20px;
}
.contact-info-header {
  background: var(--navy); padding: 20px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.contact-info-body { padding: 24px; }
.contact-info-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.contact-info-value { font-size: 14px; color: var(--charcoal); font-weight: 600; }
.contact-info-value a { color: var(--navy); text-decoration: none; }
.contact-info-value a:hover { color: var(--gold); }
.contact-response-note {
  background: var(--stone); border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0; padding: 20px 24px;
  font-size: 13.5px; color: var(--slate); line-height: 1.7;
}

/* ── CTA STRIP ──────────────────────────── */
.cta-strip {
  background: var(--navy); padding: 80px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border: 60px solid rgba(164,140,72,0.08);
  border-radius: 50%;
}
.cta-strip::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 200px; height: 200px; border: 40px solid rgba(164,140,72,0.06);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.cta-body { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-disclaimer {
  margin-top: 32px; font-size: 11px; color: rgba(255,255,255,0.28);
  line-height: 1.6; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ── KNOWLEDGE TEASER (homepage) ──────────── */
.knowledge-teaser { padding: 72px 48px; border-top: 1px solid var(--border); background: var(--white); }
.knowledge-teaser-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 32px;
}
.knowledge-teaser-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  padding: 24px; text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.knowledge-teaser-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(164,140,72,0.1); }
.knowledge-teaser-icon { margin-bottom: 12px; }
.knowledge-teaser-icon svg { width: 22px; height: 22px; }
.knowledge-teaser-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.knowledge-teaser-desc { font-size: 13px; color: var(--slate); line-height: 1.7; flex: 1; margin-bottom: 12px; }
.knowledge-teaser-link {
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.03em; text-transform: uppercase;
}
.knowledge-teaser-arrow { display: inline-block; transition: transform 0.2s ease; }
.knowledge-teaser-card:hover .knowledge-teaser-arrow { transform: translateX(4px); }
.knowledge-teaser-card:hover .knowledge-teaser-link { color: var(--navy); }

/* ── ENQUIRY STRIP (homepage) ───────────── */
.enquiry-strip {
  background: var(--stone); padding: 64px 48px;
  border-top: 1px solid var(--border);
}
.enquiry-inner { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.enquiry-body {}
.enquiry-body p:not(.section-label) { font-size: 15px; color: var(--slate); line-height: 1.8; margin-bottom: 16px; }
.enquiry-body p:last-child { margin-bottom: 0; }
.enquiry-form { display: flex; flex-direction: column; gap: 12px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; padding: 11px 16px; font-size: 14px;
  color: var(--charcoal); font-family: var(--font); outline: none; width: 100%;
  transition: border-color 0.2s;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--navy); }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4); padding: 48px 48px 32px; font-size: 12px; line-height: 1.8;
}
footer strong { color: rgba(255,255,255,0.7); display: block; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.8); }

/* Footer primary nav — single row */
.footer-primary-nav {
  margin-bottom: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-nav-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px;
  padding: 0; margin: 0; justify-content: center;
}
.footer-nav-row a {
  color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.footer-nav-row a:hover { color: rgba(255,255,255,0.85); }

/* Footer info row — disclaimer + contact */
.footer-info {
  display: grid; grid-template-columns: 2fr 1fr; gap: 56px;
  align-items: start; margin-bottom: 40px;
}
.footer-logo { margin-bottom: 20px; }
.footer-disclaimer { margin: 0; }

/* Legal strip */
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ── UTILITIES ──────────────────────────── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-slate { color: var(--slate); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.bg-stone { background: var(--stone); }
.bg-navy { background: var(--navy); }

/* ── CONTACT BLOCK ──────────────────────── */
.contact-block { background: var(--navy); }
.contact-block-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.contact-block-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.contact-block-title { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.contact-block-tagline { font-size: 14px; color: rgba(255,255,255,0.5); }
.contact-block-key {
  color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 8px;
}
.contact-block-value { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
.contact-block-value:hover { color: var(--white); }
.contact-block-location { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ── DOWNLOAD BRIEF ─────────────────────── */
.download-brief { padding: 48px 48px 0; text-align: center; }

/* ── KNOWLEDGE DETAIL ───────────────────── */
.knowledge-body { background: var(--white); }
.knowledge-body-inner { max-width: 760px; margin: 0 auto; }
.knowledge-takeaways { margin: 0 0 32px; padding-left: 20px; line-height: 1.9; }
.knowledge-takeaway { font-size: 14px; color: var(--charcoal); margin-bottom: 8px; }

/* ── REGULATORY BODIES ──────────────────── */
.regulatory-section { background: var(--stone); padding: 64px 48px; }
.regulatory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reg-body-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--gold); border-radius: 0 4px 4px 0; padding: 24px;
}
.reg-body-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.reg-body-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.reg-body-desc { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ── PLATFORM POSITIONING (about) ───────── */
.platform-positioning { background: var(--white); border-top: 1px solid var(--border); }
.positioning-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.positioning-card { padding: 28px; border: 1px solid var(--border); border-radius: 4px; }
.positioning-card-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 10px;
}
.positioning-card-body { font-size: 14px; color: var(--slate); line-height: 1.75; }

/* ── QUICK LINKS (contact) ──────────────── */
.quick-links { background: var(--stone); border-top: 1px solid var(--border); padding: 64px 48px; }
.quick-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.quick-link { display: block; text-decoration: none; }
.quick-link-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quick-link:hover .quick-link-card { border-color: var(--gold); box-shadow: 0 4px 16px rgba(164,140,72,0.1); }
.quick-link-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.quick-link-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.quick-link-body { font-size: 13px; color: var(--slate); }

/* ── SECTOR FILTER TABS ─────────────────── */
.sector-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.sector-filter-tab {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  padding: 7px 16px; border-radius: 2px; border: 1px solid var(--border);
  background: transparent; color: var(--navy);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.sector-filter-tab.is-active-all { border-color: var(--navy); background: var(--navy); color: var(--white); }
.sector-filter-tab.is-active { border-color: var(--gold); background: var(--gold); color: var(--white); }

/* ── PAGINATION ─────────────────────────── */
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none;
  transition: all 0.15s;
}
.pagination .page-numbers:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .page-numbers.dots { border: none; cursor: default; }

/* ── NATIONAL MAP PAGE ──────────────────── */
.map-section { padding: 0; }
.map-filters {
  background: var(--stone); border-bottom: 1px solid var(--border);
  padding: 20px 48px; display: flex; flex-direction: column; gap: 14px;
}
.map-filter-group { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.map-filter-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); padding-top: 8px;
  flex-shrink: 0; min-width: 52px;
}
.map-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.map-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 20px;
  cursor: pointer; color: var(--slate); background: var(--white);
  transition: all 0.15s; font-family: var(--font);
}
.map-chip:hover { border-color: var(--navy); color: var(--navy); }
.map-chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.map-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.map-chip-sym { font-size: 10px; }
.map-legend {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding: 20px 48px; background: var(--white);
  border-top: 1px solid var(--border);
}
.map-legend-group { display: flex; flex-direction: column; gap: 8px; }
.map-legend-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 4px;
}
.map-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--charcoal); }
.map-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.map-legend-sym { font-size: 12px; width: 16px; text-align: center; }

/* ── STAGE BADGES (legacy compat → universal tokens) ── */
.opp-tag-stage[data-stage="investment_ready"],
.opp-tag-stage.stage-investment_ready {
  background: var(--st-ready-bg); color: var(--st-ready-color);
}
.opp-tag-stage[data-stage="capital_secured"],
.opp-tag-stage.stage-capital_secured {
  background: var(--st-secured-bg); color: var(--st-secured-color);
}
.opp-tag-stage[data-stage="assessment"],
.opp-tag-stage.stage-assessment {
  background: var(--st-assessment-bg); color: var(--st-assessment-color);
}
.opp-tag-stage[data-stage="operational"],
.opp-tag-stage.stage-operational {
  background: var(--st-operational-bg); color: var(--st-operational-color);
}

/* ── FILTER ROW (sector + stage) ────────── */
.filter-row {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.filter-row-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate);
  padding-top: 9px; flex-shrink: 0; min-width: 48px;
}
.filter-row .sector-filters { margin-bottom: 0; }
.sector-filter-tab[data-stage-filter] { background: none; border-color: var(--border); cursor: pointer; }
.sector-filter-tab[data-stage-filter]:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.sector-filter-tab[data-stage-filter].is-active-all { border-color: var(--navy); background: var(--navy); color: var(--white); }
.sector-filter-tab[data-stage-filter].is-active { border-color: var(--gold); background: var(--gold); color: var(--white); }

/* Hidden card via JS stage filter */
.opp-card.stage-hidden { display: none; }

/* Hidden card via JS readiness filter */
.opp-card.readiness-hidden { display: none; }

/* ── READINESS CARD TAG ────────────────── */
.opp-tag-readiness {
  background: rgba(164,140,72,0.1); color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.opp-tag-readiness[data-readiness-tier="high"] {
  background: rgba(30,120,60,0.1); color: #1a6b35;
}
.opp-tag-readiness[data-readiness-tier="good"] {
  background: rgba(164,140,72,0.15); color: var(--gold-dark);
}
.opp-tag-readiness[data-readiness-tier="moderate"] {
  background: rgba(52,65,70,0.08); color: var(--slate);
}
.opp-tag-readiness[data-readiness-tier="developing"] {
  background: rgba(52,65,70,0.05); color: var(--slate);
}

/* ── READINESS SCORE SECTION ───────────── */
.readiness-header {
  display: flex; align-items: center; gap: 20px;
  margin-top: 32px; margin-bottom: 32px;
}
.readiness-badge {
  display: flex; align-items: baseline; gap: 2px;
}
.readiness-badge-score {
  font-size: 48px; font-weight: 700; color: var(--navy);
  line-height: 1;
}
.readiness-badge-max {
  font-size: 18px; font-weight: 600; color: var(--slate);
}
.readiness-verified-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #1a6b35;
  background: rgba(30,120,60,0.1); padding: 6px 14px;
  border-radius: 2px;
}
.readiness-pillars {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 600px;
}
.readiness-pillar-label {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--slate);
  margin-bottom: 6px;
}
.readiness-pillar-score {
  font-size: 12px; font-weight: 700; color: var(--navy);
}
.readiness-pillar-bar {
  width: 100%; height: 8px; background: rgba(52,65,70,0.08);
  border-radius: 4px; overflow: hidden;
}
.readiness-pillar-fill {
  height: 100%; border-radius: 4px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.readiness-missing {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.readiness-missing-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 12px;
}
.readiness-missing-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px;
}
.readiness-missing-list li {
  font-size: 13px; color: var(--charcoal); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.readiness-missing-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border: 2px solid var(--border);
  border-radius: 2px;
}

/* Empty state message */
.opps-empty-msg { color: var(--slate); font-size: 15px; }
.opps-empty-msg a, .link-btn { color: var(--navy); font-weight: 600; text-decoration: none; background: none; border: none; cursor: pointer; padding: 0; font-size: inherit; }
.opps-empty-msg a:hover, .link-btn:hover { color: var(--gold); }

/* ── CONTACT FORM UTILITIES ─────────────── */
.contact-form button[type="submit"] { width: fit-content; border: none; cursor: pointer; }
.contact-info-note { font-size: 13px; font-weight: 400; color: var(--slate); }
.contact-response-note strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 13px; }
.form-disclaimer { font-size: 12px; color: var(--slate); line-height: 1.6; margin-top: 8px; }

/* ── OPPORTUNITY DETAIL ─────────────────── */

/* Hero variant for opportunity pages */
.hero-opp { padding: 64px 48px 60px; }
.hero-breadcrumb {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}

/* Snapshot bar */
.snapshot {
  display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 52px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
  overflow: hidden; max-width: 820px;
}
.snapshot-item {
  flex: 1; min-width: 160px; padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.snapshot-item:last-child { border-right: none; }
.snap-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px;
}
.snap-value { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.3; }
.snap-sub { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* Brief bar */
.brief-bar {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(164,140,72,0.12); border: 1px solid rgba(164,140,72,0.3);
  border-radius: 4px; padding: 14px 24px; max-width: 820px; width: 100%;
}
.brief-bar-text { font-size: 13px; color: rgba(255,255,255,0.7); flex: 1; line-height: 1.4; }
.brief-bar-text strong { color: var(--white); display: block; font-size: 14px; margin-bottom: 2px; }
.brief-bar-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy); padding: 10px 22px;
  border-radius: 3px; font-size: 13px; font-weight: 700; text-decoration: none;
  letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 0;
}
.brief-bar-btn:hover { background: var(--gold-light); }

/* Overview grid */
.overview-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.overview-body p { font-size: 16px; line-height: 1.85; color: var(--charcoal); margin-bottom: 22px; }
.overview-body p:last-child { margin-bottom: 0; }
.overview-sidebar {
  background: var(--stone); border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0; padding: 28px 28px 20px;
}
.sidebar-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 18px;
}
.sidebar-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 12px;
}
.sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-row-key { color: var(--slate); font-weight: 500; flex-shrink: 0; }
.sidebar-row-val { color: var(--charcoal); font-weight: 600; text-align: right; }

/* Investment rationale cards */
.rationale-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.rationale-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--navy); border-radius: 4px; padding: 32px 28px;
}
.rc-icon {
  width: 36px; height: 36px; background: var(--stone); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.rc-icon svg { width: 16px; height: 16px; }
.rationale-card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.rationale-card-body { font-size: 14px; color: var(--slate); line-height: 1.7; }

/* Development status section */
.status { background: var(--navy); color: var(--white); }
.status .section-title { color: var(--white); }
.status .section-intro { color: rgba(255,255,255,0.55); max-width: 600px; }
.status .divider { background: rgba(164,140,72,0.5); }
.status-lifecycle { display: flex; align-items: stretch; border-radius: 4px; overflow: hidden; }
.lifecycle-stage {
  flex: 1; padding: 18px 14px; text-align: center;
  background: rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.08);
}
.lifecycle-stage:last-child { border-right: none; }
.lifecycle-stage.active { background: var(--gold); }
.lifecycle-stage-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.lifecycle-stage.active .lifecycle-stage-label { color: var(--navy); }
.lifecycle-stage-desc { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 4px; }
.lifecycle-stage.active .lifecycle-stage-desc { color: rgba(52,65,70,0.65); font-weight: 600; }
.status-points {
  margin-top: 40px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.status-point { display: flex; align-items: flex-start; gap: 14px; }
.sp-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); margin-top: 6px; flex-shrink: 0;
}
.sp-dot.pending { background: rgba(255,255,255,0.18); }
.sp-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* Strategic fit */
.strategic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.strategic-body p { font-size: 15px; line-height: 1.85; color: var(--charcoal); margin-bottom: 18px; }
.strategic-body p:last-child { margin-bottom: 0; }
.strategic-pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0; background: var(--stone);
}
.pillar-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 4px;
}
.pillar-text { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* Investor entry pathways */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.entry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 32px 28px; display: flex; flex-direction: column;
}
.entry-type {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.entry-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.2; }
.entry-body { font-size: 14px; color: var(--slate); line-height: 1.7; flex: 1; }
.entry-note {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 12px; color: rgba(90,97,112,0.7); line-height: 1.5;
}

/* CTA section (opportunity detail variant) + btn-outline */
.cta-section {
  background: var(--navy); padding: 80px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border: 60px solid rgba(164,140,72,0.08); border-radius: 50%;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 200px; height: 200px; border: 40px solid rgba(164,140,72,0.06); border-radius: 50%;
}
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 2px solid rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ─────────────────────────── */

/* Nav collapses to hamburger + horizontal scroll strip */
@media (max-width: 1200px) {
  .nav { padding: 0 24px; height: 60px; }
  .nav-brand { height: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; height: 60px; }
}
@media (max-width: 1024px) {
  .sector-three-col { grid-template-columns: 1fr 1fr; }
  .about-mission { grid-template-columns: 1fr; gap: 32px; }
  .partners-intro-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  section, .hero, .cta-strip, .cta-section, .contact-block, footer, .opp-pipeline,
  .regulatory-section, .quick-links, .pipeline-stage { padding-left: 24px; padding-right: 24px; }
  .pipeline-metrics { padding: 24px 24px; }
  .pipeline-metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pipeline-metric { padding: 16px 12px 14px; }
  .pipeline-metric-value { font-size: 28px; }
  .pipeline-stage-header { flex-wrap: wrap; }
  .pipeline-stage-count { width: 100%; padding-left: 30px; }
  .ps-grid, .enquiry-inner { grid-template-columns: 1fr; }
  .footer-nav-row { gap: 10px 20px; }
  .footer-info { grid-template-columns: 1fr; }
  .sector-block { padding: 48px 24px; }
  .sector-block-header { flex-direction: column; gap: 12px; }
  .opp-pipeline { flex-direction: column; gap: 24px; }
  .opp-filters { padding: 20px 24px; }
  .contact-block-inner { flex-direction: column; align-items: flex-start; }
  .download-brief { padding-left: 24px; padding-right: 24px; }
  .hero-opp { padding: 48px 24px; }
  .hero--has-image .hero-title { max-width: none; }
  .hero--has-image .hero-subtitle { max-width: none; }
  .hero--has-image::before {
    background: linear-gradient(
      180deg,
      rgba(52, 65, 70, 0.92) 0%,
      rgba(52, 65, 70, 0.82) 50%,
      rgba(52, 65, 70, 0.5) 80%,
      rgba(52, 65, 70, 0.3) 100%
    );
  }
  .hero-bg { background-position: center 40%; }
  .hero-bg-img { object-position: center 40%; }
  .hero-home .hero-bg { background-position: 50% 35%; }
  .hero-home .hero-bg-img { object-position: 50% 35%; }
  .page-opportunities .hero-bg,
  .single-opportunity .hero-bg { background-position: center bottom; }
  .page-opportunities .hero-bg-img,
  .single-opportunity .hero-bg-img { object-position: center bottom; }
  .page-partners .hero-bg { background-position: center 25%; }
  .page-partners .hero-bg-img { object-position: center 25%; }
  .overview-grid, .strategic-grid { grid-template-columns: 1fr; }
  .snapshot { flex-direction: column; }
  .snapshot-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .snapshot-item:last-child { border-bottom: none; }
  .brief-bar { flex-direction: column; gap: 14px; }
  .brief-bar-btn { width: 100%; justify-content: center; }
}
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { padding: 56px 24px; }
}
@media (max-width: 900px) {
  .knowledge-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .regulatory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .functions-grid, .services-grid, .knowledge-grid, .regulatory-grid { grid-template-columns: 1fr; }
  .knowledge-teaser-grid { grid-template-columns: 1fr; }
  .knowledge-teaser { padding: 48px 24px; }
  .sector-three-col { grid-template-columns: 1fr; }
  .partners-form { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-nav-row { gap: 8px 16px; }
  .positioning-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: 1fr; }
  .status-lifecycle { flex-direction: column; }
  .lifecycle-stage { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .lifecycle-stage:last-child { border-bottom: none; }
}

/* ── DEAL ROOM GATE ────────────────────────────────────────────────────────── */
.deal-room-gate { background: var(--stone); padding: 72px 48px; }
.deal-room-gate .section-title { margin-bottom: 8px; }
.deal-room-gate-form { max-width: 700px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.deal-room-gate-form .form-field.full-width { grid-column: span 2; }
.deal-room-gate-form .form-label { color: var(--slate); }
.deal-room-gate-form .form-input,
.deal-room-gate-form .form-select,
.deal-room-gate-form .form-textarea { border: 1px solid var(--border); background: var(--white); color: var(--charcoal); }
.deal-room-gate-form .form-input:focus,
.deal-room-gate-form .form-select:focus,
.deal-room-gate-form .form-textarea:focus { border-color: var(--navy); outline: none; }
.deal-room-success { background: var(--stone); border: 1px solid var(--gold); border-radius: 4px; padding: 24px; margin-bottom: 24px; }
.deal-room-success p { color: var(--charcoal); font-size: 14px; margin: 0; }
.deal-room-error { background: #fef2f2; border: 1px solid #dc2626; border-radius: 4px; padding: 24px; margin-bottom: 24px; }
.deal-room-error p { color: #991b1b; font-size: 14px; margin: 0; }
@media (max-width: 768px) {
  .deal-room-gate { padding: 48px 24px; }
  .deal-room-gate-form { grid-template-columns: 1fr; }
  .deal-room-gate-form .form-field.full-width { grid-column: span 1; }
}
@media (max-width: 768px) {
  .readiness-pillars { max-width: 100%; }
  .readiness-missing-list { grid-template-columns: 1fr; }
  .readiness-header { flex-wrap: wrap; }
}

/* ── CAPITAL DEMAND SIGNALS ───────────────────────────────────────────────── */
.demand-signals { padding: 72px 48px; background: var(--navy); }
.demand-signals .section-label { color: var(--gold); }
.demand-signals .section-title { color: var(--white); }
.demand-signals .section-intro { color: rgba(255,255,255,0.55); }
.demand-signals .divider { background: rgba(164,140,72,0.4); }
.demand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.demand-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 24px; }
.demand-sector { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.demand-ticket { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.demand-geo { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.demand-note { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }
@media (max-width: 768px) {
  .demand-signals { padding: 48px 24px; }
  .demand-grid { grid-template-columns: 1fr; }
}

/* ── KNOWLEDGE HUB — CATEGORY TILES ──────────────────────────────────────── */
.knowledge-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 32px 0; }
.knowledge-cat-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 20px; text-decoration: none; color: inherit; transition: border-color 0.2s; }
.knowledge-cat-card:hover { border-color: var(--gold); }
.knowledge-cat-card--active { border-color: var(--gold); background: var(--stone); }
.knowledge-cat-card-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.knowledge-cat-card-count { font-size: 12px; color: var(--slate); }

/* ── KNOWLEDGE HUB — SEARCH & FILTER ────────────────────────────────────── */
.knowledge-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
.knowledge-search { width: 300px; max-width: 100%; }
.knowledge-search .form-input { width: 100%; border: 1px solid var(--border); background: var(--white); color: var(--charcoal); }

/* ── KNOWLEDGE HUB — PILLAR TILE VARIANT ─────────────────────────────────── */
.knowledge-tile--pillar { grid-column: span 2; border-left: 3px solid var(--gold); }
.knowledge-pillar-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 6px; }
@media (max-width: 768px) {
  .knowledge-categories { grid-template-columns: 1fr 1fr; }
  .knowledge-tile--pillar { grid-column: span 1; }
  .knowledge-search { width: 100%; }
}
@media (max-width: 480px) {
  .knowledge-categories { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PORTAL — Ecosystem Portal Styles
   Login, Register, Dashboard, Profile, Badges
═══════════════════════════════════════════════════ */

/* ── Portal Auth Pages ─────────────────────────────────────────────────── */
.portal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}
.portal-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 24px;
}
.portal-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--slate);
}
.portal-card-footer a { color: var(--gold); text-decoration: none; font-weight: 600; }
.portal-card-footer a:hover { color: var(--gold-dark); }

/* ── Portal Notices ────────────────────────────────────────────────────── */
.portal-notice {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}
.portal-notice p { margin: 0; }
.portal-notice-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.portal-notice-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.portal-notice-info    { background: #e0e7ff; color: #3730a3; border: 1px solid #c7d2fe; }
.portal-notice a { color: inherit; font-weight: 600; text-decoration: underline; }

/* ── Role Selection (Register) ─────────────────────────────────────────── */
.portal-role-select { display: flex; flex-direction: column; gap: 12px; }
.portal-role-option { cursor: pointer; }
.portal-role-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.portal-role-card {
  display: block;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  transition: border-color .15s ease, background .15s ease;
}
.portal-role-card strong { display: block; font-size: 15px; color: var(--charcoal); margin-bottom: 4px; }
.portal-role-card span { display: block; font-size: 13px; color: var(--slate); line-height: 1.4; }
.portal-role-option input:checked + .portal-role-card {
  border-color: var(--gold);
  background: rgba(164, 140, 72, 0.05);
}
.portal-role-option input:focus-visible + .portal-role-card {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Password Requirements ─────────────────────────────────────────────── */
.portal-password-requirements {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}
.portal-password-strength {
  margin-top: 6px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.portal-password-strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .2s ease, background .2s ease;
}

/* ── Dashboard Layout ──────────────────────────────────────────────────── */
.portal-dashboard-layout {
  display: flex;
  min-height: 80vh;
  max-width: 1400px;
  margin: 0 auto;
}
.portal-dashboard-content {
  flex: 1;
  padding: 40px 48px;
  min-width: 0;
}

/* ── Sidebar ───────────────────────────────────────────────────────────── */
.portal-sidebar {
  width: 260px;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.portal-sidebar-toggle { display: none; }
.portal-sidebar-inner {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portal-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
}
.portal-sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background + color set via inline style from investpng_get_avatar_data() */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.portal-sidebar-name { font-weight: 600; font-size: 14px; color: var(--charcoal); }
.portal-sidebar-role { font-size: 12px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }

.portal-sidebar-nav { flex: 1; padding: 16px 0; }
.portal-sidebar-nav ul { list-style: none; }
.portal-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  transition: background .1s ease;
}
.portal-sidebar-link:hover { background: var(--stone); }
.portal-sidebar-link.is-active {
  background: var(--stone);
  color: var(--gold);
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}
.portal-sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
}
.portal-sidebar-link.is-active .portal-sidebar-icon { color: var(--navy); }

.portal-sidebar-footer {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.portal-sidebar-logout { color: var(--slate) !important; font-size: 13px !important; }
.portal-sidebar-logout:hover { color: var(--charcoal) !important; }

/* ── Pending Approval State ────────────────────────────────────────────── */
.portal-pending-banner {
  border: 1px solid #a48c48;
  border-left: 4px solid #a48c48;
  background: #faf6ec;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.portal-pending-banner-heading {
  font-size: 17px;
  font-weight: 700;
  color: #7a6932;
  margin: 0 0 6px;
}
.portal-pending-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b5e3a;
}
.portal-sidebar-link.is-locked {
  opacity: 0.45;
  cursor: default;
  position: relative;
}
.portal-sidebar-link.is-locked:hover { background: transparent; }
.portal-locked-msg {
  display: none;
  position: absolute;
  left: 20px;
  top: 100%;
  background: var(--charcoal);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.portal-sidebar-link.is-locked:hover .portal-locked-msg,
.portal-sidebar-link.is-locked:focus .portal-locked-msg {
  display: block;
}

/* ── Dashboard Home ────────────────────────────────────────────────────── */
.portal-home-title { font-size: 26px; font-weight: 700; color: var(--charcoal); margin: 0 0 8px; }
.portal-home-subtitle { font-size: 15px; color: var(--slate); margin: 0 0 32px; line-height: 1.5; }

.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.portal-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
.portal-stat-value { font-size: 32px; font-weight: 700; color: var(--charcoal); }
.portal-stat-label { font-size: 12px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Prompts / Alerts ──────────────────────────────────────────────────── */
.portal-prompt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.portal-prompt-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-prompt-inner > div:first-child { flex: 1; }
.portal-prompt strong { display: block; font-size: 15px; color: var(--charcoal); margin-bottom: 4px; }
.portal-prompt p { font-size: 13px; color: var(--slate); margin: 0; line-height: 1.5; }
.portal-prompt a { color: var(--gold); }
.portal-prompt-success { border-left: 3px solid #10b981; }
.portal-prompt-error   { border-left: 3px solid #ef4444; }
.portal-prompt-info    { border-left: 3px solid #6366f1; }

.portal-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}
.portal-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width .3s ease;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.portal-section { margin-bottom: 32px; }
.portal-section-title { font-size: 18px; font-weight: 700; color: var(--charcoal); margin: 0 0 16px; }

/* ── Tables ────────────────────────────────────────────────────────────── */
.portal-table-wrap { overflow-x: auto; }
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.portal-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--stone);
}
.portal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
}
.portal-table tbody tr:last-child td { border-bottom: none; }
.portal-table tbody tr:hover { background: rgba(164, 140, 72, 0.03); }

/* ── Badges ────────────────────────────────────────────────────────────── */
.portal-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--stone);
  color: var(--slate);
}
.portal-badge-new       { background: #e0e7ff; color: #3730a3; }
.portal-badge-reviewed  { background: #fef3c7; color: #92400e; }
.portal-badge-engaged   { background: #d1fae5; color: #065f46; }
.portal-badge-archived  { background: #f3f4f6; color: #6b7280; }
.portal-badge-pending   { background: #fef3c7; color: #92400e; }
.portal-badge-approved  { background: #d1fae5; color: #065f46; }
.portal-badge-suspended { background: #fee2e2; color: #991b1b; }
.portal-badge-verified  { background: #d1fae5; color: #065f46; }
.portal-badge-rejected  { background: #fee2e2; color: #991b1b; }

/* ── Quick Action Cards ────────────────────────────────────────────────── */
.portal-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.portal-action-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.portal-action-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.portal-action-card strong { display: block; font-size: 14px; color: var(--charcoal); margin-bottom: 6px; }
.portal-action-card span { display: block; font-size: 13px; color: var(--slate); line-height: 1.4; }

/* ── Profile Forms ─────────────────────────────────────────────────────── */
.portal-profile { max-width: 720px; }
.portal-field-note { font-size: 12px; color: var(--slate); margin-top: 4px; }

.portal-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.portal-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
}
.portal-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

/* ── Nav Portal Link ───────────────────────────────────────────────────── */
.nav-portal-link {
  padding: 5px 14px !important;
  border: 1px solid var(--gold) !important;
  border-radius: 3px !important;
  color: var(--gold) !important;
  font-size: 11px !important;
  transition: background .15s ease, color .15s ease !important;
}
.nav-portal-link:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

/* ── Portal Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .portal-dashboard-layout { flex-direction: column; }

  .portal-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .portal-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--white);
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
  }
  .portal-sidebar-toggle-icon { font-size: 18px; }
  .portal-sidebar-inner {
    display: none;
    padding: 12px 0;
  }
  .portal-sidebar-inner.is-open { display: flex; }

  .portal-dashboard-content { padding: 24px 20px; }
  .portal-prompt-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .portal-card { padding: 24px; }
}

@media (max-width: 600px) {
  .portal-stats-grid { grid-template-columns: 1fr 1fr; }
  .portal-actions-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

/* ══════════════════════════════════════════════════
   Phase 2 — Portal Enhancements
   ══════════════════════════════════════════════════ */

/* ── Watchlist Bar (single-opportunity) ───────────────────────────────────── */
.portal-watchlist-bar {
  background: var(--stone);
  padding: 10px 48px;
  border-bottom: 1px solid var(--border);
}
.portal-watchlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.portal-watchlist-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.portal-watchlist-btn.is-saved {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(164, 140, 72, 0.06);
}

/* ── Watchlist Grid (dashboard) ───────────────────────────────────────────── */
.portal-watchlist-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-watchlist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  gap: 16px;
  transition: border-color .15s ease;
}
.portal-watchlist-card:hover {
  border-color: var(--gold);
}
.portal-watchlist-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.portal-watchlist-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.portal-watchlist-title a {
  color: var(--charcoal);
  text-decoration: none;
}
.portal-watchlist-title a:hover {
  color: var(--gold);
}
.portal-watchlist-location {
  font-size: 12px;
  color: var(--slate);
  margin: 4px 0 0;
}
.portal-watchlist-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.portal-watchlist-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 16px;
  color: var(--slate);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.portal-watchlist-remove:hover {
  color: #ef4444;
  border-color: #ef4444;
}

/* ── Activity Feed (manager dashboard) ────────────────────────────────────── */
.portal-activity-feed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.portal-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.portal-activity-item:last-child {
  border-bottom: none;
}
.portal-activity-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  background: var(--stone);
  color: var(--slate);
}
.portal-activity-registration .portal-activity-icon,
.portal-activity-icon.portal-activity-registration {
  background: #e0e7ff;
  color: #3730a3;
}
.portal-activity-icon.portal-activity-brief_request {
  background: #fef3c7;
  color: #92400e;
}
.portal-activity-body {
  flex: 1;
  min-width: 0;
}
.portal-activity-label {
  display: block;
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.4;
}
.portal-activity-date {
  display: block;
  font-size: 11px;
  color: var(--slate);
  margin-top: 2px;
}

/* ── Phase 2 badge additions (legacy compat → universal tokens) ────────── */
.portal-badge-assessment       { background: var(--st-assessment-bg); color: var(--st-assessment-color); }
.portal-badge-investment_ready { background: var(--st-ready-bg); color: var(--st-ready-color); }
.portal-badge-capital_secured  { background: var(--st-secured-bg); color: var(--st-secured-color); }
.portal-badge-operational      { background: var(--st-operational-bg); color: var(--st-operational-color); }

/* ── Phase 2 Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .portal-watchlist-bar { padding: 10px 20px; }
  .portal-watchlist-card { flex-direction: column; align-items: flex-start; }
  .portal-watchlist-actions { align-self: flex-end; }
}
@media (max-width: 600px) {
  .portal-watchlist-grid { gap: 8px; }
}

/* ══════════════════════════════════════════════════
   Phase 3 — Dashboard Upgrades + Opportunity Updates
   Portal-scoped styles only. No map styles.
   ══════════════════════════════════════════════════ */

/* ── IP Design Tokens ──────────────────────────── */
:root {
  --ip-radius:     4px;
  --ip-gap:        16px;
  --ip-gap-sm:     12px;
  --ip-pad:        20px;
  --ip-font-xs:    11px;
  --ip-font-sm:    13px;
  --ip-font-md:    14px;
  --ip-font-lg:    18px;
  --ip-green:      #1a6b35;
  --ip-green-bg:   rgba(30,120,60,0.1);
  --ip-amber:      #92400e;
  --ip-amber-bg:   #fef3c7;
  --ip-red:        #991b1b;
  --ip-red-bg:     #fee2e2;
  --ip-blue:       #3730a3;
  --ip-blue-bg:    #e0e7ff;
}

/* ── KPI Row ───────────────────────────────────── */
.ip-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ip-gap);
  margin-bottom: 24px;
}
.ip-kpis-6 {
  grid-template-columns: repeat(6, 1fr);
}
.ip-kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  padding: var(--ip-pad);
  text-align: center;
}
.ip-kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
}
.ip-kpi-value--secured { color: var(--ip-green); }
.ip-kpi-value--seeking { color: var(--ip-amber); }
.ip-kpi-label {
  font-size: var(--ip-font-xs);
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ── IP Card (Opportunity Feed Card) ───────────── */
.ip-opp-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--ip-gap);
}
.ip-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  padding: var(--ip-pad);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ip-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ip-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.ip-card-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ip-card-arrow {
  font-size: var(--ip-font-sm);
  color: var(--gold);
  margin-top: auto;
}

/* ── IP Badge ──────────────────────────────────── */
.ip-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--stone);
  color: var(--slate);
}
.ip-badge-sector { background: rgba(52,65,70,0.06); color: var(--navy); }
.ip-badge-readiness {
  background: rgba(164,140,72,0.12);
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.ip-badge-capital--secured { background: var(--st-capital-secured-bg); color: var(--st-capital-secured-color); }
.ip-badge-capital--seeking { background: var(--st-seeking-bg); color: var(--st-seeking-color); }
.ip-badge-new       { background: var(--ip-blue-bg); color: var(--ip-blue); }
.ip-badge-reviewed  { background: var(--ip-amber-bg); color: var(--ip-amber); }
.ip-badge-engaged   { background: var(--ip-green-bg); color: var(--ip-green); }
.ip-badge-archived  { background: #f3f4f6; color: #6b7280; }

/* ── IP Button ─────────────────────────────────── */
.ip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: var(--ip-font-sm);
  font-weight: 700;
  border-radius: var(--ip-radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.ip-btn-gold {
  background: var(--gold);
  color: var(--white);
}
.ip-btn-gold:hover { background: var(--gold-dark); }
.ip-btn-navy {
  background: var(--navy);
  color: var(--white);
}
.ip-btn-navy:hover { background: #283338; }

/* ── IP Feed (Timeline) ───────────────────────── */
.ip-feed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  overflow: hidden;
}
.ip-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.ip-feed-item:last-child { border-bottom: none; }

.ip-feed-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  background: var(--stone);
  color: var(--slate);
}
.ip-feed-icon--readiness_change { background: rgba(164,140,72,0.12); color: var(--gold-dark); }
.ip-feed-icon--stage_change     { background: var(--ip-blue-bg); color: var(--ip-blue); }
.ip-feed-icon--document_added   { background: var(--ip-green-bg); color: var(--ip-green); }
.ip-feed-icon--milestone        { background: var(--ip-green-bg); color: var(--ip-green); }
.ip-feed-icon--general          { background: var(--stone); color: var(--slate); }
.ip-feed-icon--registration     { background: var(--ip-blue-bg); color: var(--ip-blue); }
.ip-feed-icon--brief_request    { background: var(--ip-amber-bg); color: var(--ip-amber); }

.ip-feed-body {
  flex: 1;
  min-width: 0;
}
.ip-feed-opp {
  display: block;
  font-size: var(--ip-font-md);
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.3;
}
.ip-feed-opp:hover { color: var(--gold); }
.ip-feed-summary {
  display: block;
  font-size: var(--ip-font-sm);
  color: var(--charcoal);
  line-height: 1.4;
}
.ip-feed-meta {
  display: block;
  font-size: var(--ip-font-xs);
  color: var(--slate);
  margin-top: 2px;
}
.ip-feed-badges {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.ip-feed-date {
  flex-shrink: 0;
  font-size: var(--ip-font-xs);
  color: var(--slate);
  white-space: nowrap;
}

/* ── IP Table ──────────────────────────────────── */
.ip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ip-font-sm);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
}
.ip-table th {
  text-align: left;
  font-size: var(--ip-font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--stone);
}
.ip-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
}
.ip-table tbody tr:last-child td { border-bottom: none; }
.ip-table tbody tr:hover { background: rgba(164,140,72,0.03); }

.ip-link {
  font-size: var(--ip-font-xs);
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  margin-right: 8px;
}
.ip-link:hover { color: var(--gold-dark); }

/* ── IP Split Row ──────────────────────────────── */
.ip-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.ip-split-col {}

/* ── IP Preferences ────────────────────────────── */
.ip-prefs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  overflow: hidden;
}
.ip-pref-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: var(--ip-font-sm);
  gap: 12px;
}
.ip-pref-row:last-child { border-bottom: none; }
.ip-pref-key { color: var(--slate); font-weight: 500; flex-shrink: 0; }
.ip-pref-val { color: var(--charcoal); font-weight: 600; text-align: right; }

/* ── IP Empty State ────────────────────────────── */
.ip-empty {
  font-size: var(--ip-font-sm);
  color: var(--slate);
  padding: 16px 0;
}
.ip-empty a { color: var(--gold); text-decoration: none; font-weight: 600; }
.ip-empty a:hover { color: var(--gold-dark); }

/* ── IP Link Row ───────────────────────────────── */
.ip-link-row {
  margin-top: 12px;
}
.ip-link-row a {
  color: var(--gold);
  font-size: var(--ip-font-sm);
  text-decoration: none;
  font-weight: 600;
}
.ip-link-row a:hover { color: var(--gold-dark); }

/* ── Project Updates (single-opportunity) ──────── */
.ip-updates-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  overflow: hidden;
  margin-top: 24px;
}
.ip-update-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.ip-update-item:last-child { border-bottom: none; }
.ip-update-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--stone);
  color: var(--slate);
}
.ip-update-badge--readiness_change { background: rgba(164,140,72,0.12); color: var(--gold-dark); }
.ip-update-badge--stage_change     { background: var(--ip-blue-bg); color: var(--ip-blue); }
.ip-update-badge--document_added   { background: var(--ip-green-bg); color: var(--ip-green); }
.ip-update-badge--milestone        { background: var(--ip-green-bg); color: var(--ip-green); }
.ip-update-badge--general          { background: var(--stone); color: var(--slate); }
.ip-update-body {
  flex: 1;
  min-width: 0;
}
.ip-update-summary {
  display: block;
  font-size: var(--ip-font-sm);
  color: var(--charcoal);
  line-height: 1.4;
}
.ip-update-meta {
  display: block;
  font-size: var(--ip-font-xs);
  color: var(--slate);
  margin-top: 2px;
}
.ip-update-date {
  flex-shrink: 0;
  font-size: var(--ip-font-xs);
  color: var(--slate);
  white-space: nowrap;
}

/* ── Phase 3 Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .ip-kpis-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ip-kpis { grid-template-columns: repeat(2, 1fr); }
  .ip-kpis-6 { grid-template-columns: repeat(2, 1fr); }
  .ip-split-row { grid-template-columns: 1fr; }
  .ip-updates-feed { margin-top: 16px; }
  .ip-update-item { padding: 12px 16px; }
}
@media (max-width: 600px) {
  .ip-kpis { grid-template-columns: 1fr; }
  .ip-kpis-6 { grid-template-columns: 1fr; }
  .ip-opp-feed { grid-template-columns: 1fr; }
  .ip-feed-item { flex-wrap: wrap; }
  .ip-feed-date { width: 100%; margin-top: 4px; }
}

/* ── Header Auth CTA ──────────────────────────── */
.ip-btn--auth {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 18px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 0 !important;
  border: 1px solid var(--navy) !important;
  background: transparent !important;
  color: var(--navy) !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease !important;
  white-space: nowrap;
}
.ip-btn--auth:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}
.ip-btn--auth:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
/* Logged-in variant: gold accent */
.ip-btn--auth.ip-btn--auth-in {
  border-color: var(--gold) !important;
  background: transparent !important;
  color: var(--gold-dark) !important;
}
.ip-btn--auth.ip-btn--auth-in:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}
.ip-btn--auth.ip-btn--auth-in:focus-visible {
  outline-color: var(--gold);
}
/* Override nav-links a styles for auth CTA */
.nav-links .ip-btn--auth { text-transform: uppercase; }

/* Mobile nav auth CTA */
.mega-mobile-auth .ip-btn--auth {
  display: inline-flex;
  margin: 8px 20px;
  font-size: 12px !important;
}

/* Remove old .nav-portal-link (superseded) */

/* ═══════════════════════════════════════════════════
   HOMEPAGE PHASE 4 — Sovereign Expansion Sections
═══════════════════════════════════════════════════ */

/* ── NATIONAL INVESTMENT SNAPSHOT ──────── */
.hp-snapshot { background: var(--navy); }
.hp-snapshot .section-label { color: var(--gold); }
.hp-snapshot .section-title { color: var(--white); }
.hp-snapshot .divider { background: rgba(164,140,72,0.4); }
.hp-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.hp-snapshot-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hp-snapshot-item:last-child { border-right: none; }
.hp-snapshot-value {
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hp-snapshot-value span { color: var(--gold); }
.hp-snapshot-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 1024px) {
  .hp-snapshot-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-snapshot-item:nth-child(3) { border-right: none; }
}
@media (max-width: 600px) {
  .hp-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-snapshot-item:nth-child(2n) { border-right: none; }
  .hp-snapshot-item { padding: 28px 16px; }
}

/* ── INVESTPNG PLATFORM METRICS ────────── */
.hp-platform-metrics { background: var(--white); border-top: 1px solid var(--border); }
.hp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.hp-metric {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hp-metric:last-child { border-right: none; }
.hp-metric-value {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hp-metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 1024px) {
  .hp-metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-metric:nth-child(3) { border-right: none; }
}
@media (max-width: 600px) {
  .hp-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-metric:nth-child(2n) { border-right: none; }
  .hp-metric { padding: 28px 16px; }
}

/* ── INSTITUTIONAL CREDIBILITY LAYER ──── */
.hp-credibility { background: var(--stone); }
.hp-credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hp-cred-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 4px 4px;
  padding: 32px 28px;
  text-decoration: none;
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.hp-cred-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.hp-cred-marker {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 18px;
}
.hp-cred-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.hp-cred-body {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 16px;
}
.hp-cred-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hp-cred-card:hover .hp-cred-link { color: var(--gold-dark); }
@media (max-width: 1024px) {
  .hp-credibility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hp-credibility-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   SOVEREIGN PAGE — Generic page template (page.php)
═══════════════════════════════════════════════════ */

.sovereign-page {
  padding: 64px 48px;
  background: var(--white);
}
.sovereign-page-inner {
  max-width: 800px;
  margin: 0 auto;
}
.sovereign-page-inner > p {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 20px;
}
.sovereign-page-inner > h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.sovereign-page-inner > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.sovereign-page-inner > ul > li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 8px;
}
.sovereign-page-inner > ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.sovereign-page-inner a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.sovereign-page-inner a:hover {
  color: var(--gold-dark);
}

/* Hub navigation back-link */
.sovereign-hub-nav {
  padding: 32px 48px;
  background: var(--stone);
  border-top: 1px solid var(--border);
}
.sovereign-hub-nav-inner {
  max-width: 800px;
  margin: 0 auto;
}
.sovereign-hub-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.sovereign-hub-back:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .sovereign-page { padding: 48px 24px; }
  .sovereign-hub-nav { padding: 24px; }
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */

.faq-intro {
  margin-bottom: 40px;
}
.faq-intro p {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.8;
}
.faq-intro a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.faq-intro a:hover {
  color: var(--gold-dark);
}

/* Section heading */
.faq-section {
  margin-bottom: 48px;
}
.faq-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

/* Accordion container */
.faq-accordion {
  border-top: 1px solid var(--border);
}

/* Individual item */
.faq-item {
  border-bottom: 1px solid var(--border);
}

/* Question trigger */
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  gap: 16px;
  transition: color 0.15s ease;
}
.faq-trigger:hover {
  color: var(--gold);
}
.faq-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-trigger-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  transition: color 0.15s ease;
}
.faq-trigger:hover .faq-trigger-text {
  color: var(--gold);
}

/* Chevron */
.faq-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--slate);
  transition: transform 0.25s ease, color 0.15s ease;
}
.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* Answer panel */
.faq-panel {
  overflow: hidden;
  transition: height 0.25s ease, opacity 0.25s ease;
}
.faq-answer {
  padding: 0 0 24px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 12px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.faq-answer a:hover {
  color: var(--gold-dark);
}

/* Active item highlight */
.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  background: rgba(164, 140, 72, 0.03);
  margin: 0 -20px;
  padding: 0 20px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .faq-section { margin-bottom: 36px; }
  .faq-trigger { padding: 16px 0; }
  .faq-trigger-text { font-size: 15px; }
  .faq-answer p { font-size: 14px; }
  .faq-item:has(.faq-trigger[aria-expanded="true"]) {
    margin: 0 -12px;
    padding: 0 12px;
  }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE SECTION INDEX — Sticky navigation strip
═══════════════════════════════════════════════════ */

.section-index {
  position: sticky;
  top: var(--section-index-top, 0px);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.section-index-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 42px;
}
.section-index-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.section-index-link:hover {
  color: var(--charcoal);
}
.section-index-link.is-active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* Tablet */
@media (max-width: 900px) {
  .section-index-inner {
    gap: 24px;
    padding: 0 24px;
  }
}

/* Mobile — horizontal scroll strip */
@media (max-width: 600px) {
  .section-index-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 0 20px;
    scrollbar-width: none;
  }
  .section-index-inner::-webkit-scrollbar { display: none; }
}

/* ── Section Index — sticky (docked) state ── */
.section-index.is-sticky {
  background: var(--navy);
  border-bottom-color: transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.section-index.is-sticky .section-index-link {
  color: rgba(255,255,255,0.85);
  border-bottom-color: transparent;
}
.section-index.is-sticky .section-index-link:hover {
  color: #fff;
}
.section-index.is-sticky .section-index-link:focus-visible {
  outline: 1px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}
.section-index.is-sticky .section-index-link.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ═══════════════════════════════════════════════════
   OPPORTUNITY EXPLORER — View Toggle + Interactive Map
   Invest-Saudi-grade region map with soft blue water,
   teal region fills, numbered markers, stable hover.
═══════════════════════════════════════════════════ */

/* ── View toggle — premium segmented control ── */
.explorer-toggle {
  display: inline-flex; gap: 0;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  padding: 3px;
}
.explorer-toggle-btn {
  padding: 10px 32px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate); background: transparent;
  border: none; cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.explorer-toggle-btn:hover {
  background: rgba(255,255,255,0.7);
  color: var(--navy);
}
.explorer-toggle-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.explorer-toggle-btn.is-active {
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 8px rgba(52,65,70,0.22);
}

/* ── Explorer views ── */
.explorer-view { display: none; }
.explorer-view.is-active { display: block; }

/* ── Split layout ── */
.explorer-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 600px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.explorer-split-map {
  position: relative;
  min-height: 500px;
}

/* ── SVG Region Map container — soft blue water background ── */
.explorer-region-map {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
  background: #e8eff4;
}
.explorer-region-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.explorer-region-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.explorer-region-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.explorer-region-clear {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.explorer-region-clear:hover {
  background: var(--stone);
  color: var(--gold-dark);
}

/* ── SVG wrapper — positions markers/labels over map ── */
.explorer-svg-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  overflow: hidden;
}

/* ── SVG canvas — scaled up to fill container confidently ── */
.explorer-region-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Province paths (real geometry) ──
   Default: muted sage-green on blue water.
   Transitions only on fill (no opacity changes = no layout shift). */
.map-province {
  fill: #c5d5ca;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 0.5;
  stroke-linejoin: round;
  transition: fill 0.18s ease;
}

/* ── Region group interaction ──
   CSS :hover is DISABLED — all hover is JS-driven via classes
   to avoid pointer-event conflicts with overlapping labels/markers. */
.map-region {
  cursor: pointer;
}

/* JS-driven hover (preview — no selection yet) */
.map-region.is-hovered .map-province {
  fill: #6aab8e;
}

/* JS-driven active/selected */
.map-region.is-active .map-province {
  fill: #1a8a6a;
  stroke: rgba(255,255,255,0.8);
  stroke-width: 0.7;
}

/* Subdued state for non-selected regions when one is active.
   Uses fill change only — never opacity — to avoid repaint flicker. */
.map-region.is-subdued .map-province {
  fill: #d7e2da;
}

/* Hover on a subdued (non-selected) region while another is selected */
.map-region.is-subdued.is-hovered .map-province {
  fill: #93c4aa;
}

/* ── Region overlay labels + markers ──
   pointer-events:none on everything — labels don't intercept hover.
   This is the primary anti-twitch fix: labels never steal focus from
   underlying SVG paths, so mouseenter/mouseleave fires cleanly. */
.explorer-map-labels {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 2;
}
.explorer-map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 2;
  will-change: opacity;
}
.explorer-map-label-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a2f;
  text-shadow:
    0 0 4px rgba(232,239,244,0.9),
    0 1px 2px rgba(232,239,244,0.7);
  line-height: 1;
}

/* ── Numbered circular marker — InvestPNG gold ── */
.explorer-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold, #A48C48);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font, sans-serif);
  margin: 6px auto 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  transition: background 0.18s ease, transform 0.18s ease;
  line-height: 1;
}
/* Active region marker — brighter gold, scaled up */
.explorer-map-label.is-active .explorer-map-marker {
  background: #b99a3e;
  transform: scale(1.15);
  box-shadow: 0 3px 8px rgba(164,140,72,0.4);
}
/* Hovered label marker — slightly warmer gold */
.explorer-map-label.is-hovered .explorer-map-marker {
  background: #b99a3e;
}
/* Subdued label — reduced but still readable */
.explorer-map-label.is-subdued {
  opacity: 0.50;
}
.explorer-map-label.is-subdued .explorer-map-label-name {
  color: #5a7a6e;
}

/* ── Region hover info panel ──
   Cursor-following (Invest Saudi style). Position driven by JS transform.
   pointer-events:none prevents intercept of map hover events. */
.explorer-region-info {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 280px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  will-change: transform, opacity;
}
.explorer-region-info.is-visible {
  opacity: 1;
}
.explorer-region-info-inner {
  background: rgba(35, 46, 50, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(164, 140, 72, 0.25);
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.explorer-region-info-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.explorer-region-info-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.explorer-region-info-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 14px;
}
.explorer-region-info-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.explorer-region-info-sector-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(164, 140, 72, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(164, 140, 72, 0.25);
}
.explorer-region-info-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.explorer-region-info-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.explorer-region-info-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.explorer-region-info-note {
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.50);
  margin: 0;
}
/* ── Card region filter ── */
.opp-card.region-hidden {
  display: none;
}

/* ── Results panel ── */
.explorer-split-results {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: 700px;
  overflow-y: auto;
  background: var(--white);
}
.explorer-results-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--stone);
  position: sticky;
  top: 0;
  z-index: 2;
}
.explorer-results-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ── Opp cards in map results panel ── */
.explorer-results-list .opp-card {
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.explorer-results-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--slate);
  font-size: 14px;
}

/* ── Explorer bar responsive ── */
@media (max-width: 1100px) {
  .explorer-bar { padding: 0 24px; }
  .explorer-bar-summary { display: none; }
  .explorer-bar-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .explorer-bar {
    padding: 0 16px;
    position: static;
    top: auto;
  }
  .explorer-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 0;
  }
  /* Toggle + filters side by side on first row */
  .explorer-bar .explorer-toggle {
    align-self: flex-start;
    flex-shrink: 0;
  }
  .explorer-bar-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .explorer-bar-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .explorer-bar-select {
    width: 100%;
    font-size: 13px;
    padding: 9px 28px 9px 10px;
  }
  .explorer-bar-label {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .explorer-bar-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .explorer-bar-select {
    padding: 10px 26px 10px 10px;
  }
}

/* ── Explorer responsive ── */
@media (max-width: 1024px) {
  .explorer-split {
    grid-template-columns: 1fr;
  }
  .explorer-split-map {
    min-height: 350px;
  }
  .explorer-region-map {
    min-height: 350px;
  }
  .explorer-split-results {
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 500px;
  }
  .explorer-region-info {
    width: 260px;
  }
  .explorer-region-info-inner { padding: 16px 18px; }
  .explorer-region-info-heading { font-size: 17px; }
  .explorer-region-info-stat-value { font-size: 24px; }
}
@media (max-width: 900px) {
  .opp-filters-wrap { padding-left: 24px; padding-right: 24px; }
  .opp-filters-wrap > .opp-filters-controls { padding: 20px 24px 16px; }
  .opp-filters-row { gap: 12px; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; }
}
@media (max-width: 600px) {
  .opp-filters-wrap { padding-left: 16px; padding-right: 16px; }
  .opp-filters-wrap > .opp-filters-controls {
    padding: 16px 16px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  .opp-filters-wrap > .opp-filters-toggle-row {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .opp-filters-row { gap: 10px; }
  .opp-filters-sector-row { padding-bottom: 12px; margin-bottom: 12px; }
  .filter-label { font-size: 9px; min-width: 44px; letter-spacing: 0.12em; }
  .filter-chip { padding: 7px 14px; font-size: 11px; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; gap: 6px; }
  .explorer-toggle-btn { padding: 8px 20px; font-size: 11px; }
  .explorer-split-map { min-height: 260px; }
  .explorer-region-map { min-height: 260px; }
  .explorer-svg-wrap { padding: 8px; }
  .explorer-split-results { max-height: 400px; }
  .explorer-region-header { padding: 10px 16px; flex-wrap: wrap; }
  .explorer-map-label-name { font-size: 8px; }
  .explorer-map-marker { width: 22px; height: 22px; font-size: 10px; margin-top: 4px; }
  .explorer-region-info {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 8px;
    transform: none !important;
    opacity: 0;
  }
  .explorer-region-info.is-visible {
    opacity: 1;
  }
  .explorer-region-info-inner { border-radius: 6px; padding: 14px 16px; }
}

/* ── Touch device: no CSS :hover — all hover is JS class-driven ── */
@media (hover: none) {
  .explorer-svg-wrap {
    -webkit-tap-highlight-color: transparent;
  }
}


/* ═══════════════════════════════════════════════════
   Phase 4 — Workspace Refinement
   Portal architecture upgrade: role headers, attention
   strips, grouped KPIs, zone containers.
═══════════════════════════════════════════════════ */

/* ── Portal Dashboard base (moved from inline style) ── */
.portal-dashboard {
  padding: 0;
  background: #fafaf8;
  min-height: 80vh;
}

/* ── Sidebar divider ── */
.portal-sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 20px;
}

/* ── Sidebar active state refinement ── */
.portal-sidebar-link.is-active {
  border-left: 3px solid var(--gold);
  padding-left: 17px;
  background: rgba(164, 140, 72, 0.04);
}

/* ── Prompt flush variant ── */
.portal-prompt--flush { margin-bottom: 0; }

/* ── Role Header ── */
.ws-role-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 32px 24px;
  margin-bottom: 20px;
}
.ws-role-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.ws-role-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.ws-role-subtitle {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}
.ws-role-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.ws-role-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}
.ws-role-user-role {
  font-size: 11px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Attention Strip ── */
.ws-attention-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ws-attention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--charcoal);
  font-size: 13px;
  transition: background .1s ease;
}
.ws-attention-item:last-child { border-bottom: none; }
.ws-attention-item:hover { background: var(--stone); }
.ws-attention-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ws-attention-item--info .ws-attention-dot    { background: var(--ip-blue); }
.ws-attention-item--warning .ws-attention-dot { background: var(--ip-amber); }
.ws-attention-item--error .ws-attention-dot   { background: var(--ip-red); }
.ws-attention-label { flex: 1; }
.ws-attention-arrow {
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}

/* ── Zone Container ── */
.ws-zone {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.ws-zone-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── KPI Group (labelled sections) ── */
.ws-kpi-group {
  margin-bottom: 24px;
}
.ws-kpi-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin: 0 0 12px;
}
.ws-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ip-gap);
}

/* ── KPI value modifiers ── */
.ip-kpi-value--warning { color: #d97706; }
.ip-kpi-value--seeking { color: #2563eb; }
.ip-kpi-value--secured { color: #059669; }

/* ── Stage breakdown chips ── */
.ws-stage-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #e2e2e2);
}
/* Legacy ws-stage-chip → now rendered as .status-tag--chip */
.ws-stage-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--stone, #f5f5f0);
  color: var(--slate, #64748b);
}
.ws-stage-chip--assessment       { border-left: 3px solid var(--st-assessment-border); }
.ws-stage-chip--investment_ready { border-left: 3px solid var(--st-ready-border); }
.ws-stage-chip--capital_secured  { border-left: 3px solid var(--st-secured-border); }
.ws-stage-chip--operational      { border-left: 3px solid var(--st-operational-border); }

/* ── Manager actions grid (inline dashboard links) ── */
.ws-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--ip-gap);
}
.ws-action-card {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ws-action-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(164,140,72,0.08);
}
.ws-action-card strong {
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.ws-action-card span {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.4;
}

/* ── Manager table utilities ── */
.ws-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ws-filter-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .1s ease, color .1s ease;
}
.ws-filter-btn:hover { border-color: var(--gold); color: var(--charcoal); }
.ws-filter-btn.is-active {
  border-color: var(--gold);
  background: rgba(164,140,72,0.06);
  color: var(--charcoal);
}

/* ── Verification status badges (inline dashboard) ── */
.ws-status-pending  { color: #92400e; background: #fef3c7; }
.ws-status-verified { color: #15803d; background: #f0fdf4; }
.ws-status-rejected { color: #991b1b; background: #fee2e2; }

/* ── Coming soon placeholder ── */
.ws-placeholder {
  text-align: center;
  padding: 48px 24px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
}
.ws-placeholder strong {
  display: block;
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

/* ── Phase 4 Responsive ── */
@media (max-width: 900px) {
  .ws-role-header { padding: 20px; }
  .ws-role-header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ws-role-user { align-items: flex-start; }
  .ws-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ws-actions-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ws-kpi-row { grid-template-columns: 1fr; }
  .ws-zone { padding: 16px; }
  .ws-actions-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PORTAL FORM OVERRIDES (white-bg contexts)
   Base .form-* rules (line 734+) target the dark navy contact form.
   Portal forms sit on white backgrounds and need light-mode overrides.
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-form .form-label {
  color: var(--slate);
}
.portal-form .form-input,
.portal-form .form-select,
.portal-form .form-textarea {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--charcoal);
}
.portal-form .form-input::placeholder,
.portal-form .form-textarea::placeholder {
  color: #999;
}
.portal-form .form-input:focus,
.portal-form .form-select:focus,
.portal-form .form-textarea:focus {
  border-color: var(--gold);
}
.portal-form .form-select option {
  background: var(--white);
  color: var(--charcoal);
}
.portal-form .form-input:disabled {
  background: var(--stone);
  color: var(--slate);
  cursor: not-allowed;
}
.portal-form .form-input[type="file"] {
  border-style: dashed;
  color: var(--slate);
  padding: 14px 16px;
  font-size: 13px;
  cursor: pointer;
}
.portal-form .form-input[type="file"]::file-selector-button {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--charcoal);
  font-family: var(--font);
  cursor: pointer;
  margin-right: 12px;
  transition: background .15s ease;
}
.portal-form .form-input[type="file"]::file-selector-button:hover {
  background: var(--border);
}
.portal-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .portal-form .form-row { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   GOLD BUTTON TEXT FIX
   Parent rules like .portal-prompt a, .ip-empty a override <a> text color
   to gold, making gold text on gold background invisible. Force white.
   ═══════════════════════════════════════════════════════════════════════════ */
a.ip-btn-gold,
a.ip-btn-gold:visited,
a.ip-btn-gold:hover,
a.ip-btn-gold:focus,
button.ip-btn-gold {
  color: var(--white);
}


/* ═══════════════════════════════════════════════════════════════════════════
   STAR / SAVE SYSTEM (investor-only platform feature)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Base star button ── */
.ip-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--border);
  transition: color .15s ease;
  line-height: 1;
  z-index: 2;
}
.ip-star:hover { color: var(--gold); }
.ip-star--saved { color: var(--gold); }
.ip-star--saved svg { fill: var(--gold); }
.ip-star--loading { opacity: 0.5; pointer-events: none; }

/* ── Card star — seamless top-right, no box ── */
.opp-card { position: relative; }
.opp-card--has-star { padding-right: 40px; }

.opp-card > .ip-star {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px;
}

/* ── Detail page star bar ── */
.ip-star-bar {
  background: var(--stone);
  border-bottom: 1px solid var(--border);
  padding: 10px 48px;
}
.ip-star-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}
.ip-star--detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-family: inherit;
  color: var(--slate);
  transition: border-color .15s ease, color .15s ease;
}
.ip-star--detail:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.ip-star--detail.ip-star--saved {
  border-color: var(--gold);
  color: var(--gold);
}
.ip-star-label {
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .ip-star-bar { padding: 10px 20px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SIGN-OUT ICON
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-sidebar-logout {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.portal-sidebar-logout-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity .15s ease;
}
.portal-sidebar-logout:hover .portal-sidebar-logout-icon {
  opacity: 1;
}

/* ── Profile Viewer Grid (manager user-profile tab) ─────────────────────────
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.portal-profile-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portal-profile-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}
.portal-profile-value {
  font-size: 15px;
  color: var(--charcoal);
}
@media (max-width: 600px) {
  .portal-profile-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Investor Opportunity Workspace ──────────────────────────────────────── */
.portal-section-desc {
  font-size: 14px;
  color: var(--slate);
  margin: -10px 0 20px;
}
.ws-opp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.ws-opp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}
.ws-opp-card:hover {
  border-color: var(--gold);
}
.ws-opp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ws-opp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ws-opp-remove-form {
  flex-shrink: 0;
}
.ws-opp-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}
.ws-opp-title a {
  color: var(--charcoal);
  text-decoration: none;
}
.ws-opp-title a:hover {
  color: var(--gold);
}
.ws-opp-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.ws-opp-detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.ws-opp-detail-label {
  color: var(--slate);
  flex-shrink: 0;
}
.ws-opp-detail-value {
  color: var(--charcoal);
  font-weight: 500;
  text-align: right;
}
.ws-opp-brief-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: #fef3c7;
  color: #92400e;
}
.ws-opp-brief-status--approved,
.ws-opp-brief-status--complete,
.ws-opp-brief-status--completed {
  background: #d1fae5;
  color: #065f46;
}
.ws-opp-brief-icon {
  font-size: 10px;
  line-height: 1;
}
.ws-opp-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.ip-btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.ip-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.portal-badge-readiness {
  background: #eff6ff;
  color: #1e40af;
}
.ws-opp-browse {
  margin-top: 20px;
  font-size: 14px;
}
.ws-opp-browse a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.ws-opp-browse a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .ws-opp-grid {
    grid-template-columns: 1fr;
  }
  .ws-opp-actions {
    flex-direction: column;
  }
  .ws-opp-actions .ip-btn {
    text-align: center;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Phase 5 — Portal Membership Experience & UI Redesign
   Visual layer upgrade: network identity, typography hierarchy, card
   elevation, micro-interactions, avatar support, activity signals.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design Token Overrides ── */
:root {
  --ip-radius: 8px;
  --ip-radius-sm: 4px;
  --ip-radius-lg: 12px;
  --ip-section-gap: 48px;
}

/* ── Network Identity Header ─────────────────────────────────────────────── */
.ws-role-header {
  border-radius: var(--ip-radius);
  padding: 32px 36px 28px;
  margin-bottom: 28px;
}
.ws-role-header-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.ws-network-identity {
  width: 100%;
}
.ws-network-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.ws-network-member {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ws-network-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid currentColor;
  /* background + border-color set via inline style from investpng_get_avatar_data() */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ws-network-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.ws-network-avatar-initials {
  font-size: 20px;
  font-weight: 700;
  /* color set via inline style from investpng_get_avatar_data() */
}
.ws-network-info {
  flex: 1;
  min-width: 0;
}
.ws-network-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 4px;
  line-height: 1.2;
}
.ws-network-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
}
.ws-network-label {
  font-weight: 600;
  color: var(--gold-dark);
}
.ws-network-sep {
  color: var(--border);
}
.ws-role-subtitle {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

/* ── Sidebar Identity Upgrade ─────────────────────────────────────────────── */
.portal-sidebar-user {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}
.portal-sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* background + color set via inline style from investpng_get_avatar_data() */
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.portal-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.portal-sidebar-membership {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-top: 2px;
}

/* ── Sidebar Active State ── */
.portal-sidebar-link.is-active {
  border-left-width: 4px;
  padding-left: 16px;
  font-weight: 700;
}

/* ── Section Hierarchy ─────────────────────────────────────────────────────── */
.ws-zone {
  border-radius: var(--ip-radius);
  padding: 28px;
  margin-bottom: var(--ip-section-gap);
}
.ws-zone-title {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-bottom: 0;
  border-bottom: none;
}
.ws-zone-subtitle {
  font-size: 13px;
  color: var(--slate);
  margin: 0 0 20px;
  line-height: 1.4;
  font-weight: 400;
}
.ws-zone-title + .ws-zone-subtitle {
  margin-top: 4px;
}
.ws-kpi-group {
  margin-bottom: var(--ip-section-gap);
}
.ws-kpi-group-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.ws-kpi-group-label + .ws-zone-subtitle {
  margin-top: 2px;
  margin-bottom: 16px;
}

/* ── KPI Card Elevation ───────────────────────────────────────────────────── */
.ip-kpi-card {
  border-radius: var(--ip-radius);
  border-top: 3px solid var(--gold);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.ip-kpi-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ── Clickable KPI Cards ─────────────────────────────────────────────────── */
a.ip-kpi-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
a.ip-kpi-card--link:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}
.portal-home a.ip-kpi-card--link:hover {
  border-left-color: var(--charcoal, #1e293b);
}
a.ip-kpi-card--link:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
a.ip-kpi-card--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Clickable Status Chips ──────────────────────────────────────────────── */
a.status-tag--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow .12s ease, transform .12s ease;
}
a.status-tag--link:hover {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
a.status-tag--link:active {
  transform: translateY(0);
}
a.status-tag--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Filter active indicator ─────────────────────────────────────────────── */
.ws-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ws-filter-active {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--white, #fff);
}
.ip-kpi-value {
  font-size: 32px;
}
.ip-kpis {
  gap: 20px;
}
.ip-opp-feed {
  gap: 20px;
}

/* ── Opportunity Card Authority ───────────────────────────────────────────── */
.ip-card {
  border-radius: var(--ip-radius);
  padding: 0;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
  overflow: hidden;
}
.ip-card > :not(.ip-card-image) { margin-left: 24px; margin-right: 24px; }
.ip-card > :last-child { margin-bottom: 24px; }
.ip-card-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}
.ip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ip-card-badges { margin-top: 16px; }
.ip-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.ip-card-title {
  font-size: 16px;
  margin-bottom: 6px;
}
.ip-card-location {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 4px;
}
.ip-card-capital {
  display: block;
  font-size: 12px;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 4px;
}
.ip-card-date {
  display: block;
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 8px;
}

/* ── Watchlist Card Elevation ──────────────────────────────────────────────── */
.ws-opp-card {
  border-radius: var(--ip-radius);
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.ws-opp-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* ── Action Card Elevation ─────────────────────────────────────────────────── */
.ws-action-card {
  border-radius: var(--ip-radius);
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.ws-action-card:hover {
  transform: translateY(-1px);
}

/* ── Button Polish ─────────────────────────────────────────────────────────── */
.ip-btn {
  border-radius: 6px;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ip-btn:hover {
  transform: translateY(-1px);
}
.ip-btn-outline {
  border-radius: 6px;
}

/* ── Star / Watchlist Micro-Interactions ───────────────────────────────────── */
.ip-star {
  transition: color .2s ease, transform .15s ease;
}
.ip-star:hover {
  transform: scale(1.15);
}
.ip-star--saved {
  transition: color .2s ease;
}

/* ── Feed & Table Elevation ───────────────────────────────────────────────── */
.ip-feed {
  border-radius: var(--ip-radius);
}
.ip-table {
  border-radius: var(--ip-radius);
}
.ip-prefs {
  border-radius: var(--ip-radius);
}

/* ── Network Activity Panel ───────────────────────────────────────────────── */
.ip-network-activity {
  background: var(--stone);
  border-radius: var(--ip-radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ip-activity-signal {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--gold);
  position: relative;
}
.ip-activity-signal + .ip-activity-signal {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Profile Avatar Field ─────────────────────────────────────────────────── */
.ws-avatar-field {
  margin-bottom: 28px;
}
.ws-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid currentColor;
  /* background + border-color set via inline style from investpng_get_avatar_data() */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}
.ws-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.ws-avatar-placeholder {
  font-size: 28px;
  font-weight: 700;
  /* color set via inline style from investpng_get_avatar_data() */
}
.ws-avatar-input {
  max-width: 320px;
}

/* ── Membership Badge (profile pages) ─────────────────────────────────────── */
.ws-membership-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: rgba(164, 140, 72, 0.08);
  padding: 5px 14px;
  border-radius: var(--ip-radius-sm);
  margin-bottom: 20px;
}

/* ── Attention Strip Upgrade ──────────────────────────────────────────────── */
.ws-attention-strip {
  border-radius: var(--ip-radius);
  margin-bottom: 28px;
}

/* ── Portal Card / Prompt Upgrade ─────────────────────────────────────────── */
.portal-card {
  border-radius: var(--ip-radius);
}
.portal-prompt {
  border-radius: var(--ip-radius);
}

/* ── Phase 5 Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ws-network-member { gap: 14px; }
  .ws-network-avatar { width: 44px; height: 44px; }
  .ws-network-avatar-initials { font-size: 16px; }
  .ws-network-name { font-size: 22px; }
  .ws-network-meta { font-size: 12px; }
  .ws-role-header { padding: 24px 20px 20px; }
  .ws-zone { padding: 20px; margin-bottom: 32px; }
  .ip-kpi-value { font-size: 28px; }
  .ws-avatar-preview { width: 56px; height: 56px; }
  .ws-avatar-placeholder { font-size: 22px; }
}
@media (max-width: 600px) {
  .ws-network-member { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ws-network-name { font-size: 20px; }
  .ws-zone { padding: 16px; margin-bottom: 24px; }
  .ip-kpi-value { font-size: 24px; }
  .ip-network-activity { padding: 16px 20px; }
  .ip-activity-signal { font-size: 13px; padding: 8px 0 8px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 5b — Layout Polish Fixes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fix 1: Sidebar flush to viewport left edge ─────────────────────────── */
.portal-dashboard-layout {
  max-width: none;
  margin: 0;
}
.portal-dashboard-content {
  max-width: 1140px;
}

/* ── Fix 2: Tighten sidebar header spacing ───────────────────────────────── */
.portal-sidebar-inner {
  padding: 16px 0;
}
.portal-sidebar-user {
  padding: 0 20px 16px;
  gap: 10px;
}

/* ── Fix 3: Profile form checkbox → button spacing ───────────────────────── */
.portal-form .portal-checkbox-group {
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 5c — Vertical Rhythm & Spacing Refinement
   Consistent spacing tokens applied to sidebar identity, form fields,
   checkbox sections, and form label line-height.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Spacing Tokens ── */
:root {
  --sp-micro: 4px;
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
}

/* ── Sidebar Identity Block ─────────────────────────────────────────────── */
/* Symmetric spacing: gold border → avatar+text → bottom border */
.portal-sidebar-user {
  padding-top: var(--sp-sm);        /* 16px below gold border */
  padding-bottom: var(--sp-sm);     /* 16px above bottom border */
  gap: 12px;                        /* avatar to text */
}
/* Name → Role → Membership vertical rhythm */
.portal-sidebar-name {
  margin-bottom: var(--sp-micro);   /* 4px name → role */
  line-height: 1.3;
}
.portal-sidebar-role {
  margin-bottom: var(--sp-micro);   /* 4px role → membership */
  line-height: 1.3;
}
.portal-sidebar-membership {
  margin-top: var(--sp-micro);      /* 4px extra breathing room */
  line-height: 1.3;
}

/* ── Form Field Spacing ─────────────────────────────────────────────────── */
/* Label-to-input gap: 8px (up from 6px) */
.portal-form .form-field {
  gap: var(--sp-xs);                /* 8px between label and input */
  margin-bottom: var(--sp-md);      /* 24px between form groups */
}
/* Rows with paired fields: reset child margin since row handles gap */
.portal-form .form-row {
  gap: var(--sp-sm);                /* 16px horizontal gap */
  margin-bottom: var(--sp-md);      /* 24px below each row */
}
.portal-form .form-row .form-field {
  margin-bottom: 0;                 /* parent row handles vertical spacing */
}
/* Remove double-margin on last field before submit */
.portal-form .form-field:last-child {
  margin-bottom: 0;
}

/* ── Form Label Line-Height & Spacing ───────────────────────────────────── */
.portal-form .form-label {
  line-height: 1.4;
  margin-bottom: 0;                 /* gap handles spacing, not margin */
}

/* ── Checkbox Section Spacing ───────────────────────────────────────────── */
.portal-form .portal-checkbox-group {
  margin-bottom: var(--sp-lg);      /* 32px before save button */
}
/* Label above checkbox group */
.portal-form .form-field:has(.portal-checkbox-group) {
  margin-bottom: var(--sp-lg);      /* 32px when checkbox is in a field wrapper */
}

/* ── Portal Field Note Spacing ──────────────────────────────────────────── */
.portal-field-note {
  margin-top: 6px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 5d — Header-to-Sidebar Gold Divider Flush Fix
   Remove top padding on sidebar-inner so the gold border-top on
   .portal-sidebar-user sits flush against the bottom of the header bar.
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-sidebar-inner {
  padding-top: 0;
}
.portal-sidebar-user {
  padding-top: var(--sp-sm);        /* 16px internal spacing below the gold line */
}

/* ═══════════════════════════════════════════════════════════════════════════
   Nav User Identity (NUI) — Bell + Avatar + Dropdowns
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared area container ── */
.nui-area {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nui-area--mobile { display: none; }

/* ── Bell ── */
.nui-bell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  color: var(--gold-dark);
}
.nui-bell:hover { background: var(--stone); }
.nui-bell-icon { display: block; }
.nui-bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #DC2626;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

/* ── Avatar ── */
.nui-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  flex-shrink: 0;
  line-height: 1;
}
.nui-avatar--lg { width: 38px; height: 38px; font-size: 14px; }
/* Avatar colours now set via inline style from investpng_get_avatar_data() */

/* ── User pill button ── */
.nui-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font);
}
.nui-user-pill:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(164,140,72,0.08);
}
.nui-user-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nui-chevron {
  color: var(--slate);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nui-user-pill[aria-expanded="true"] .nui-chevron { transform: rotate(180deg); }

/* ── Mobile avatar button (no pill border) ── */
.nui-avatar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}
.nui-avatar-btn .nui-user-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

/* ── Dropdown (desktop) ── */
.nui-bell-wrap,
.nui-user-wrap { position: relative; }

.nui-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
  min-width: 280px;
}
.nui-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown header */
.nui-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--stone-mid);
}
.nui-dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nui-mark-read {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.nui-mark-read:hover { text-decoration: underline; }

/* Notification list */
.nui-notif-list {
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
}
.nui-notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stone-mid);
  transition: background 0.1s;
}
.nui-notif-item:last-child { border-bottom: none; }
.nui-notif-item:hover { background: var(--stone); }
.nui-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  margin-top: 5px;
}
.nui-notif-item.is-unread .nui-notif-dot { background: var(--gold); }
.nui-notif-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--navy);
  margin: 0;
}
.nui-notif-time {
  font-size: 11px;
  color: var(--slate);
  margin-top: 2px;
  display: block;
}

/* Dropdown footer */
.nui-dropdown-footer {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border-top: 1px solid var(--stone-mid);
  transition: background 0.1s;
}
.nui-dropdown-footer:hover { background: var(--stone); }

/* ── User dropdown ── */
.nui-dropdown-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--stone-mid);
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
a.nui-dropdown-identity:hover { background: var(--stone); }
.nui-id-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.nui-id-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2px 0 0;
}

.nui-user-menu {
  list-style: none;
  padding: 6px 0;
}
.nui-user-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.nui-user-menu li a svg {
  color: var(--slate);
  flex-shrink: 0;
}
.nui-user-menu li a:hover {
  background: var(--stone);
  color: var(--gold-dark);
}
.nui-user-menu li a:hover svg { color: var(--gold-dark); }

.nui-user-menu-footer {
  border-top: 1px solid var(--stone-mid);
  padding: 4px 0;
}
.nui-user-menu-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.nui-user-menu-footer a svg { color: var(--slate); flex-shrink: 0; }
.nui-user-menu-footer a:hover { background: var(--stone); color: #DC2626; }
.nui-user-menu-footer a:hover svg { color: #DC2626; }

/* ── Notification dropdown specific width ── */
.nui-notif-dropdown { min-width: 340px; }

/* ── Mobile bottom sheet ── */
.nui-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nui-sheet-overlay.is-open { opacity: 1; visibility: visible; }

.nui-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
  z-index: 401;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 80vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.nui-sheet.is-open { transform: translateY(0); }
.nui-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 10px auto 4px;
}

/* ── Responsive ── */

/* Desktop: hide mobile area + sheets */
@media (min-width: 1201px) {
  .nui-area--mobile { display: none !important; }
  .nui-sheet,
  .nui-sheet-overlay { display: none !important; }
}

/* Mobile: show mobile area, hide desktop area + dropdowns */
@media (max-width: 1200px) {
  .nui-area:not(.nui-area--mobile) { display: none; }
  .nui-area--mobile {
    display: flex;
    order: 2;
    margin-left: auto;
    margin-right: 8px;
  }
  /* Hamburger after NUI on mobile */
  .nav-toggle { order: 3; }
}

/* Below 480px: hide name label on mobile avatar */
@media (max-width: 480px) {
  .nui-area--mobile .nui-user-name { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 6 — Dashboard Density Refactor
   Compact sidebar, remove hero card on investor home, 5-tile KPI row,
   recently-added grid, tighter spacing system.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Compact Sidebar ────────────────────────────────────────────────── */
.portal-sidebar {
  width: 200px;
}
.portal-sidebar-link {
  padding: 6px 16px;
  font-size: 13px;
  gap: 8px;
  line-height: 1;
}
.portal-sidebar-link.is-active {
  padding-left: 12px;
}
.portal-sidebar-nav {
  padding: 12px 0;
}
.portal-sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portal-sidebar-divider {
  margin: 6px 16px;
}
.portal-sidebar-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.portal-sidebar-user {
  padding: 12px 16px;
  gap: 8px;
}
.portal-sidebar-name {
  font-size: 13px;
}
.portal-sidebar-role {
  font-size: 10px;
}
.portal-sidebar-membership {
  font-size: 9px;
  margin-top: 1px;
}

/* ── Sidebar Progress Bar ── */
.portal-sidebar-progress {
  padding: 12px 16px;
}
.portal-sidebar-progress-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.portal-sidebar-progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.portal-sidebar-progress-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: width .3s ease;
}
.portal-sidebar-progress-fill.is-complete {
  background: var(--gold);
}
.portal-sidebar-complete-btn {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  padding: 5px 12px;
  text-decoration: none;
}

/* ── 2. Content Area — tighter max-width + padding ─────────────────────── */
.portal-dashboard-content {
  max-width: 1200px;
  padding: 24px 32px;
}

/* ── 3. Section Spacing — 16px gaps ────────────────────────────────────── */
.portal-home .ws-zone {
  margin-bottom: 16px;
  padding: 20px;
}
.portal-home .ws-zone--compact {
  padding: 16px 20px;
}
.portal-home .ip-split-row {
  gap: 16px;
}

/* ── 4. KPI Row — 5-tile layout, compact padding ──────────────────────── */
.ip-kpis-5 {
  grid-template-columns: repeat(5, 1fr);
}
.portal-home .ip-kpi-card {
  padding: 12px 10px;
  border-left: 3px solid var(--gold);
  border-top: none;
  text-align: left;
}
.portal-home .ip-kpi-value {
  font-size: 24px;
  line-height: 1;
}
.portal-home .ip-kpi-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.portal-home .ip-kpis {
  margin-bottom: 16px;
  gap: 12px;
}

/* ── 5. Recently Added Grid ────────────────────────────────────────────── */
.ip-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ip-recent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--ip-radius);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .2s ease;
  overflow: hidden;
}
.ip-recent-card > :not(.ip-recent-image) { margin-left: 16px; margin-right: 16px; }
.ip-recent-card > :last-child { margin-bottom: 16px; }
.ip-recent-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}
.ip-recent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ip-recent-sector { margin-top: 12px; }
.ip-recent-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.ip-recent-sector {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}
.ip-recent-title {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.3;
}
.ip-recent-brief {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ip-btn--sm {
  display: inline-block;
  font-size: 11px;
  padding: 6px 14px;
  margin-top: 4px;
  align-self: flex-start;
}

/* ── 6. Zone Title Compact ─────────────────────────────────────────────── */
.portal-home .ws-zone-title {
  font-size: 13px;
  margin-bottom: 10px;
}
.portal-home .ws-zone-subtitle {
  margin-bottom: 12px;
  font-size: 12px;
}

/* ── 7. Attention Strip Compact ────────────────────────────────────────── */
.portal-home ~ .ws-attention-strip,
.portal-dashboard-content > .ws-attention-strip {
  margin-bottom: 12px;
}

/* ── Phase 6 Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ip-kpis-5 { grid-template-columns: repeat(3, 1fr); }
  .ip-recent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .portal-sidebar { width: auto; }
  .ip-kpis-5 { grid-template-columns: repeat(2, 1fr); }
  .portal-dashboard-content { padding: 20px 16px; }
}
@media (max-width: 600px) {
  .ip-kpis-5 { grid-template-columns: 1fr; }
}

/* Phase 7 block removed — gold accent restored site-wide (March 2026) */

/* Hero image swap moved to 980px breakpoint — see rule near line 389 */

/* ── Profile AJAX Status Messages ─────────────────────────────────────────── */
.portal-form-status {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}
.portal-form-status--success { color: #059669; }
.portal-form-status--error   { color: #dc2626; }

.ws-avatar-status {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
}
.ws-avatar-status--loading { color: var(--slate); }
.ws-avatar-status--success { color: #059669; }
.ws-avatar-status--error   { color: #dc2626; }

/* ── Active Projects Cards ─────────────────────────────────────────────── */
.ip-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.ip-project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.ip-project-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.ip-project-card-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
}
.ip-project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ip-project-card-body {
  padding: 16px;
}
.ip-project-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ip-project-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ip-project-card-summary {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 8px;
}
.ip-project-card-date {
  font-size: 11px;
  color: var(--slate);
}
.status-tag--active { background: rgba(5,150,105,0.09); color: #065f46; }
.status-tag--completed { background: rgba(37,99,235,0.09); color: #1e40af; }
.status-tag--on-hold { background: rgba(217,119,6,0.1); color: #92400e; }

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 3 — UI Colour Corrections
   Complete Profile button → PNG Blue (#344146)
   Pending Approval banner → PNG Blue (#344146)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Fix 1: Complete Profile button — PNG Blue background, white text */
.portal-sidebar-complete-btn,
.portal-sidebar-complete-btn:visited,
.portal-sidebar-complete-btn:focus,
a.portal-sidebar-complete-btn,
a.portal-sidebar-complete-btn:visited {
  background: var(--navy);
  color: var(--white);
}
.portal-sidebar-complete-btn:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* Fix 2: Pending Approval banner — PNG Blue, informational register */
.portal-pending-banner {
  border: 1px solid var(--navy);
  border-left: 4px solid var(--navy);
  background: rgba(52, 65, 70, 0.06);
}
.portal-pending-banner-heading {
  color: var(--navy);
}
.portal-pending-banner p {
  color: var(--slate);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Sector Image Placeholder (fallback for unassigned opportunities)
   ═══════════════════════════════════════════════════════════════════════════ */
.opp-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opp-card-placeholder span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  font-family: var(--font);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Card Body Wrapper & Star Repositioning
   Star moved from image area to card content area (top-right of body).
   ═══════════════════════════════════════════════════════════════════════════ */
.opp-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Content elements inside body inherit existing margins */
.opp-card-body > .opp-card-location,
.opp-card-body > .opp-card-title,
.opp-card-body > .opp-card-meta,
.opp-card-body > .opp-card-capital,
.opp-card-body > .opp-card-cta,
.opp-card-body > .ip-star {
  margin-left: 28px;
  margin-right: 28px;
}
.opp-card-body > .opp-card-location { margin-top: 20px; }
.opp-card-body > .opp-card-cta { margin-bottom: 24px; margin-top: auto; }

/* Star positioned in card body, not image */
.opp-card-body > .ip-star {
  position: absolute;
  top: 12px;
  right: 12px;
  margin-left: 0;
  margin-right: 0;
  padding: 4px;
}

/* Override old card-level star positioning */
.opp-card--has-star { padding-right: 0; }
.opp-card > .ip-star { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   Fix 3: Complete Profile Button Spacing
   Match spacing above the progress label (12px container padding-top)
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-sidebar-complete-btn {
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UX/UI REFINEMENT PASS — v2.1
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. SECTOR TILES — Image-backed cards ─────────────────────────────────── */

.sector-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  min-height: 260px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.sector-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* Image background */
.sector-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.sector-card:hover .sector-card__image {
  transform: scale(1.04);
}

/* Gradient overlay for text legibility — navy-toned, bottom-weighted */
.sector-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(52, 65, 70, 0.20) 0%,
    rgba(52, 65, 70, 0.50) 30%,
    rgba(52, 65, 70, 0.80) 65%,
    rgba(52, 65, 70, 0.94) 100%
  );
  transition: background 0.3s ease;
}
.sector-card:hover .sector-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(52, 65, 70, 0.12) 0%,
    rgba(52, 65, 70, 0.45) 35%,
    rgba(52, 65, 70, 0.78) 65%,
    rgba(52, 65, 70, 0.94) 100%
  );
}
.sector-card__overlay--solid {
  background: var(--navy);
  opacity: 0.92;
}

/* No-image fallback — navy with gold top accent */
.sector-card:not(.sector-card--has-image) {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Content layer */
.sector-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 24px;
}

.sector-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sector-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.sector-card__badge {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.sector-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.sector-card__summary {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sector-card__cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.sector-card:hover .sector-card__cta {
  color: var(--gold-light);
}

/* ── 3. GLOBAL INVESTOR ENQUIRIES BLOCK — Upgraded CTA ────────────────────── */

.investor-enquiries-cta {
  background: var(--navy);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
.investor-enquiries-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 80px solid rgba(164,140,72,0.06);
  border-radius: 50%;
}
.investor-enquiries-cta::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(164,140,72,0.04);
  border-radius: 50%;
}

.investor-enquiries-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.investor-enquiries-cta__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.investor-enquiries-cta__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.investor-enquiries-cta__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.investor-enquiries-cta__body {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 32px;
}

.investor-enquiries-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.investor-enquiries-cta__trust {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.investor-enquiries-cta__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.investor-enquiries-cta__trust-item:last-child {
  border-bottom: none;
}

.investor-enquiries-cta__trust-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(164,140,72,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.investor-enquiries-cta__trust-icon svg {
  width: 14px;
  height: 14px;
}

.investor-enquiries-cta__trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.investor-enquiries-cta__trust-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .investor-enquiries-cta { padding: 56px 24px; }
  .investor-enquiries-cta__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .investor-enquiries-cta { padding: 48px 20px; }
  .investor-enquiries-cta__actions { flex-direction: column; }
  .investor-enquiries-cta__actions .btn { text-align: center; justify-content: center; }
}

/* ── 5. BULOLO STATUS BAR — Lifecycle hover micro-interaction ─────────────── */

.lifecycle-stage {
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: default;
}
.lifecycle-stage:hover {
  background: rgba(255,255,255,0.12);
  transform: scaleY(1.06);
}
.lifecycle-stage.active:hover {
  background: var(--gold-light);
}
.lifecycle-stage:hover .lifecycle-stage-label {
  color: rgba(255,255,255,0.85);
}
.lifecycle-stage:hover .lifecycle-stage-desc {
  color: rgba(255,255,255,0.5);
}
.lifecycle-stage.active:hover .lifecycle-stage-label {
  color: var(--navy-deep);
}
.lifecycle-stage.active:hover .lifecycle-stage-desc {
  color: rgba(52,65,70,0.8);
}

/* Mobile vertical layout — slightly different hover */
@media (max-width: 640px) {
  .lifecycle-stage:hover {
    transform: none;
    background: rgba(255,255,255,0.10);
    padding-left: 20px;
  }
  .lifecycle-stage.active:hover {
    padding-left: 20px;
  }
}

/* ── 8. HOME PAGE MOBILE SECONDARY MENU — Horizontal scroll lock ──────────── */

.section-index {
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}
.section-index-inner {
  overscroll-behavior: contain;
}
@media (max-width: 600px) {
  .section-index {
    overflow: hidden;
  }
  .section-index-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  .section-index-link {
    scroll-snap-align: start;
  }
}


/* ================================================================
   Partner Submissions + Project Readiness
   ================================================================ */

/* ── Submission Status Tags ───────────────────────────────────── */
.status-tag--submitted {
  background: rgba(90,97,112,0.10);
  color: var(--slate);
}
.status-tag--under-review {
  background: rgba(204,156,48,0.12);
  color: #9a7b1e;
}
.status-tag--selected {
  background: rgba(52,100,164,0.10);
  color: #2d6ab0;
}
.status-tag--readiness-in-progress {
  background: rgba(120,80,168,0.10);
  color: #6b47a0;
}
.status-tag--investment-ready {
  background: rgba(40,140,80,0.10);
  color: #1e7a3e;
}
.status-tag--active-engagement {
  background: rgba(164,140,72,0.14);
  color: var(--gold);
}

/* ── Status Timeline ──────────────────────────────────────────── */
.po-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 24px 0;
  overflow-x: auto;
}

.po-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 100px;
}

.po-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  margin-bottom: 8px;
  transition: all 0.2s;
}

.po-timeline-step.is-complete .po-timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
}

.po-timeline-step.is-active .po-timeline-dot {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(164,140,72,0.2);
}

.po-timeline-label {
  font-size: 11px;
  color: var(--slate);
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

.po-timeline-step.is-active .po-timeline-label {
  color: var(--navy);
  font-weight: 600;
}

.po-timeline-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 7px;
  min-width: 24px;
}

.po-timeline-connector.is-filled {
  background: var(--gold);
}

/* ── Detail View ──────────────────────────────────────────────── */
.po-back-link {
  margin-bottom: 16px;
}

.po-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.po-detail-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.po-detail-date {
  font-size: 13px;
  color: var(--slate);
}

.po-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.po-detail-item {
  padding: 0;
}

.po-detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 4px;
}

.po-detail-value {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
}

.po-detail-description {
  margin-top: 24px;
}

.po-detail-description .po-detail-value {
  white-space: pre-wrap;
}

/* ── Attachments ──────────────────────────────────────────────── */
.po-attachments {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.po-attachments li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.po-attachments li:last-child {
  border-bottom: none;
}

/* ── Project Readiness Section ────────────────────────────────── */
.po-readiness-section {
  border-left: 4px solid var(--gold);
}

.po-readiness-intro {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 720px;
}

.po-readiness-cta {
  margin-top: 8px;
}

.po-readiness-confirmed {
  border-left-color: #1e7a3e;
}

/* ── Submission Form ──────────────────────────────────────────── */
.po-submit-form {
  max-width: 800px;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.portal-form-field {
  display: flex;
  flex-direction: column;
}

.portal-form-field--full {
  grid-column: 1 / -1;
}

.portal-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.portal-form-input,
.portal-form-select,
.portal-form-textarea {
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s;
}

.portal-form-input:focus,
.portal-form-select:focus,
.portal-form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.portal-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.portal-form-file {
  font-size: 13px;
  color: var(--slate);
  margin-top: 4px;
}

.portal-form-hint {
  font-size: 12px;
  color: var(--slate);
  margin: 4px 0 0;
  line-height: 1.5;
}

.portal-form-hint--sm {
  font-size: 11px;
  margin-top: 6px;
}

.portal-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.portal-form-disclaimer {
  font-size: 12px;
  color: var(--slate);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 600px;
}

/* ── Portal Notices ───────────────────────────────────────────── */
.portal-notice-warning {
  background: rgba(204,156,48,0.08);
  border-left: 4px solid #c89c30;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.portal-notice-warning p {
  margin: 0;
  font-size: 14px;
  color: var(--navy);
}

/* ── Sidebar Submit Button ────────────────────────────────────── */
.portal-sidebar-submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ── Manager Inline Controls ──────────────────────────────────── */
.portal-inline-select {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.po-inline-form {
  display: inline;
}

.po-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate);
  cursor: pointer;
}

.po-toggle-text {
  font-size: 11px;
}

/* ── Empty State ──────────────────────────────────────────────── */
.po-empty-state {
  text-align: center;
  padding: 48px 24px;
}

.po-empty-state .ip-empty {
  margin-bottom: 20px;
}

.po-submit-link {
  margin-top: 20px;
}

/* ── Outline Button ───────────────────────────────────────────── */
.ip-btn-outline {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ip-btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ── Responsive: Submission Form ──────────────────────────────── */
@media (max-width: 640px) {
  .portal-form-grid {
    grid-template-columns: 1fr;
  }
  .portal-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .po-timeline {
    gap: 0;
    padding: 16px 0;
  }
  .po-timeline-step {
    min-width: 70px;
  }
  .po-timeline-label {
    font-size: 10px;
    max-width: 65px;
  }
  .po-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   Partner Submissions v2 — Readiness Briefing + UX
   ================================================================ */

/* ── Next Action Card ─────────────────────────────────────────── */
.po-next-action {
  background: rgba(164,140,72,0.06);
  border: 1px solid rgba(164,140,72,0.2);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.po-next-action-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.po-next-action-inner strong {
  font-size: 15px;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.po-next-action-inner p {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  max-width: 480px;
}

/* ── Readiness Available Tag ──────────────────────────────────── */
.status-tag--readiness-available {
  background: rgba(164,140,72,0.14);
  color: #8a7530;
}

/* ── Briefing Page ────────────────────────────────────────────── */
.po-briefing-header {
  text-align: left;
}

.po-briefing-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.po-briefing-project {
  font-size: 14px;
  color: var(--slate);
  margin-top: 8px;
}

.po-briefing-includes {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.po-briefing-includes li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--navy);
  position: relative;
}

.po-briefing-includes li:last-child {
  border-bottom: none;
}

.po-briefing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Fee Section ──────────────────────────────────────────────── */
.po-briefing-fee-section {
  border-left: 4px solid var(--gold);
}

.po-briefing-fee {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0;
}

.po-briefing-fee-amount {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
}

.po-briefing-fee-label {
  font-size: 14px;
  color: var(--slate);
}

/* ── Manager table org label ──────────────────────────────────── */
.po-org-label {
  font-size: 11px;
  color: var(--slate);
}

/* ── Responsive: Next Action ──────────────────────────────────── */
@media (max-width: 640px) {
  .po-next-action-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════
   Live Intelligence Strip
   Sovereign-grade macro + platform telemetry bar.
   Placed below nav, above hero/content.
═══════════════════════════════════════════════════ */

.intel-strip {
  width: 100%;
  height: 44px;
  background: #0F1820;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font);
  position: relative;
  z-index: 90;
  overflow: hidden;
}

.intel-strip__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 0;
}

/* ── Strip label ──────────────────────────────────── */
.intel-strip__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 20px;
  height: 24px;
}

.intel-strip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: intel-dot-pulse 3s ease-in-out infinite;
}

@keyframes intel-dot-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.intel-strip__dot--alert {
  background: #8B3A3A;
  animation: intel-dot-alert 2s ease-in-out infinite;
}

@keyframes intel-dot-alert {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

.intel-strip__label-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1;
}

.intel-strip__label-text--alert {
  color: #C06060;
}

/* ── Data region ──────────────────────────────────── */
.intel-strip__data {
  display: flex;
  align-items: center;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.intel-strip__data::-webkit-scrollbar {
  display: none;
}

/* ── Groups ───────────────────────────────────────── */
.intel-strip__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  height: 100%;
  padding: 0 18px;
}

.intel-strip__group + .intel-strip__group {
  border-left: 1px solid rgba(255,255,255,0.06);
}

/* ── Data region: drag-scroll cursor ─────────────── */
.intel-strip__data {
  cursor: grab;
}

.intel-strip__data.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Items ────────────────────────────────────────── */
.intel-strip__item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 6px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
  cursor: inherit;
  height: 28px;
  -webkit-user-drag: none;
}

a.intel-strip__item {
  cursor: pointer;
}

/* Suppress link cursor while dragging the strip */
.intel-strip__data.is-dragging a.intel-strip__item {
  cursor: grabbing;
  pointer-events: none;
}

a.intel-strip__item:hover {
  background: rgba(255,255,255,0.04);
}

/* Non-linked items: no interactive styling */
span.intel-strip__item {
  cursor: inherit;
}

span.intel-strip__item:hover {
  background: none;
}

.intel-strip__item-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1;
}

.intel-strip__item-value {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ── Deltas ───────────────────────────────────────── */
.intel-strip__delta {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  line-height: 1;
  letter-spacing: 0.02em;
}

.intel-strip__delta--up {
  color: #4A9E6E;
}

.intel-strip__delta--down {
  color: #B85C5C;
}

/* ── Alert state ──────────────────────────────────── */
.intel-strip--alert {
  background: #13181E;
  border-bottom-color: rgba(139,58,58,0.15);
}

/* ── Value update animation (applied via JS) ─────── */
.intel-strip__item-value.intel-val-flash {
  animation: intel-val-update 0.8s ease-out;
}

@keyframes intel-val-update {
  0%   { background: rgba(164,140,72,0.15); }
  100% { background: transparent; }
}

/* ── Utility cluster (time + weather) ─────────────── */
.intel-strip__utility {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.06);
  height: 24px;
  white-space: nowrap;
}

.intel-strip__util-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  line-height: 1;
}

.intel-strip__util-time {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.60);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.intel-strip__util-sep {
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin: 0 1px;
}

.intel-strip__util-weather {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.40);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Responsive: tablet ──────────────────────────── */
@media (max-width: 1024px) {
  .intel-strip__inner {
    padding: 0 16px;
  }
  .intel-strip__group {
    gap: 16px;
    padding: 0 14px;
  }
  .intel-strip__utility {
    padding-left: 14px;
  }
}

/* ── Responsive: mobile ──────────────────────────── */
@media (max-width: 768px) {
  .intel-strip {
    height: 40px;
  }
  .intel-strip__label {
    padding-right: 12px;
    margin-right: 12px;
  }
  .intel-strip__label-text {
    font-size: 9px;
  }
  .intel-strip__group {
    gap: 14px;
    padding: 0 12px;
  }
  .intel-strip__item-label {
    font-size: 9px;
  }
  .intel-strip__item-value {
    font-size: 11px;
  }
  .intel-strip__delta {
    font-size: 9px;
  }
  .intel-strip__utility {
    padding-left: 10px;
    gap: 5px;
  }
  .intel-strip__util-label {
    font-size: 8px;
  }
  .intel-strip__util-time {
    font-size: 10px;
  }
  .intel-strip__util-weather {
    font-size: 9px;
  }
}

/* ── Responsive: small mobile — compact label ────── */
@media (max-width: 480px) {
  .intel-strip__inner {
    padding: 0 10px;
  }
  .intel-strip__label {
    padding-right: 8px;
    margin-right: 8px;
  }
  .intel-strip__label-text {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .intel-strip__dot {
    width: 5px;
    height: 5px;
  }
  .intel-strip__group {
    gap: 12px;
    padding: 0 10px;
  }
  /* Hide weather label on very small screens, keep time */
  .intel-strip__util-label {
    display: none;
  }
  .intel-strip__util-weather {
    font-size: 8px;
  }
}
