/* Lock CIRI mockup (reference) visuals over legacy main.css — load after main.css */

body.ciri-phase2 {
  font-family: var(--ciri-font-sans, Inter, "Noto Sans SC", system-ui, sans-serif);
  background: #f4f7fb;
}

body.ciri-phase2 .ciri-p2-home {
  padding-top: 0;
}

/* Header — reference: white bar, navy CTA */
body.ciri-phase2 .ciri-header.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 42, 74, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(0, 31, 63, 0.06);
}
body.ciri-phase2 .ciri-header.site-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0, 31, 63, 0.08), 0 4px 14px rgba(15, 42, 74, 0.06);
}
body.ciri-phase2 .ciri-header .header-nav > a,
body.ciri-phase2 .ciri-header .nav-dropdown-toggle {
  color: #0f2a4a !important;
  font-weight: 500;
}
body.ciri-phase2 .ciri-header .header-logo .logo-institute {
  color: #0f2a4a;
  font-weight: 600;
}
body.ciri-phase2 .ciri-header .header-logo .logo-text small {
  color: #5a6b7d;
}
body.ciri-phase2 .ciri-header .nav-cta,
body.ciri-phase2 .ciri-header .btn-primary.nav-cta {
  background: #001f3f !important;
  border-color: #001f3f !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
}
body.ciri-phase2 .ciri-header .lang-switcher button {
  color: #0f2a4a;
  border-color: rgba(15, 42, 74, 0.2);
}
body.ciri-phase2 .ciri-header .lang-switcher button.active {
  background: #001f3f;
  color: #fff;
}

/* Hero — full-bleed skyline + navy wash */
body.ciri-phase2 .ciri-p2-hero {
  min-height: clamp(520px, 72vh, 680px);
  padding-top: calc(var(--ciri-header-h, 72px) + 2.5rem);
}
body.ciri-phase2 .ciri-p2-hero-bg {
  background:
    linear-gradient(100deg, rgba(0, 31, 63, 0.82) 0%, rgba(0, 31, 63, 0.45) 45%, rgba(10, 22, 40, 0.35) 100%),
    url("/hk/assets/hero/hk-skyline.jpg") center 35% / cover no-repeat !important;
}
body.ciri-phase2 .ciri-p2-title,
body.ciri-phase2 .ciri-p2-kicker,
body.ciri-phase2 .ciri-p2-pillars,
body.ciri-phase2 .ciri-p2-sub {
  color: #fff;
}
body.ciri-phase2 .ciri-hero-visual {
  min-height: clamp(280px, 34vw, 360px);
}

/* Sections — airy white / light gray rhythm */
body.ciri-phase2 .ciri-p2-section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}
body.ciri-phase2 .ciri-p2-scan {
  background: #eef2f7;
}
body.ciri-phase2 .ciri-p2-services {
  background: #fff;
}
body.ciri-phase2 .ciri-p2-radar {
  background: linear-gradient(180deg, #001a33 0%, #001f3f 100%) !important;
}

/* Cards */
body.ciri-phase2 .ciri-card,
body.ciri-phase2 .ciri-enterprise-scan-card,
body.ciri-phase2 .ciri-p2-service-card,
body.ciri-phase2 .ciri-p2-industry-card {
  border-radius: 10px;
  border: 1px solid rgba(15, 42, 74, 0.08);
  box-shadow: 0 8px 28px rgba(15, 42, 74, 0.06);
}

/* Hide legacy growth hero if ever re-injected */
body.ciri-phase2 .ciri-growth-hero,
body.ciri-phase2 .hero.hero-v2:not(.ciri-p2-hero) {
  display: none !important;
}

/* —— Template structure: Hero → floating scan → 6-col capabilities —— */
body.ciri-phase2 .ciri-p2-metrics--legacy {
  display: none !important;
}
body.ciri-phase2 .ciri-p2-hero {
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}
body.ciri-phase2 .ciri-p2-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(56, 189, 248, 0.12) 70%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 48px);
  pointer-events: none;
}
body.ciri-phase2 .ciri-p2-scan {
  margin-top: clamp(-5.5rem, -8vw, -4rem);
  position: relative;
  z-index: 3;
  padding-top: 0;
  background: transparent !important;
}
body.ciri-phase2 .ciri-p2-scan > .container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 31, 63, 0.14);
  border: 1px solid rgba(15, 42, 74, 0.08);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
body.ciri-phase2 .ciri-scan-section-eyebrow {
  display: none;
}
body.ciri-phase2 .ciri-p2-services .ciri-p2-section-lead {
  max-width: 42rem;
  color: #5a6b7d;
}
@media (min-width: 1100px) {
  body.ciri-phase2 .ciri-p2-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
  body.ciri-phase2 .ciri-p2-industry-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
  body.ciri-phase2 .ciri-p2-industry-card.featured {
    grid-column: span 1 !important;
  }
}
body.ciri-phase2 .ciri-p2-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: none;
}
body.ciri-phase2 .ciri-p2-view-all {
  font-weight: 600;
  color: #001f3f;
  text-decoration: none;
  white-space: nowrap;
}
body.ciri-phase2 .ciri-p2-view-all:hover {
  text-decoration: underline;
}
body.ciri-phase2 .ciri-p2-radar-map {
  position: relative;
}
body.ciri-phase2 .ciri-p2-radar-business-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
body.ciri-phase2 .ciri-p2-radar-business-link:hover {
  color: #fff;
  text-decoration: underline;
}
body.ciri-phase2 .ciri-p2-hub-board {
  background: #eef2f7;
}
body.ciri-phase2 .ciri-p2-advisor-panel {
  background: #fff;
  border: 1px solid rgba(15, 42, 74, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 42, 74, 0.06);
}
/* Template: single pre-footer CTA band lives in site footer */
body.ciri-phase2 .ciri-p2-bottom-cta {
  display: none;
}
body.ciri-phase2 .ciri-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5a6b7d;
}
body.ciri-phase2 .ciri-p2-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
