/**
 * PROEX EDITORIAL EXPERIENCE STYLESHEET
 * Phase 1: Design Foundation & Phase 2: Homepage Brand Experience
 * Strict: Light Quiet Luxury · Editorial · Institutional Investment Intelligence
 * Palette: 90% White/Off-white/Charcoal/Grey | 5-7% Bronze | 0% Emerald Green
 */

/* ==========================================================================
   GLOBAL RESET & SHELL FOUNDATION
   ========================================================================== */
/* Suppress legacy black screen loader for Light Quiet Luxury experience */
.page-loader {
  display: none !important;
}

body.proex-editorial-shell {
  background-color: var(--canvas-pure);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.proex-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  box-sizing: border-box;
}

.proex-section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

.proex-section-soft {
  background-color: var(--canvas-soft);
}

.proex-section-warm {
  background-color: var(--canvas-warm);
}

/* Eyebrow label */
.proex-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--space-3);
}

/* Editorial Serif Headings (Strictly Enforced with High Specificity) */
body.proex-editorial-shell h1,
body.proex-editorial-shell h2,
body.proex-editorial-shell h3,
body.proex-editorial-shell h4,
body.proex-editorial-shell .proex-serif-title,
body.proex-editorial-shell .proex-hero-title,
body.proex-editorial-shell .proex-section-title,
body.proex-editorial-shell .proex-pulse-title,
body.proex-editorial-shell .proex-map-title,
body.proex-editorial-shell .proex-opp-title,
body.proex-editorial-shell .proex-insights-title,
body.proex-editorial-shell .proex-tools-title,
body.proex-editorial-shell .proex-founder-title,
body.proex-editorial-shell .proex-opp-card-title,
body.proex-editorial-shell .proex-insight-featured-title,
body.proex-editorial-shell .proex-insight-card-title,
body.proex-editorial-shell .proex-tool-col-title,
body.proex-editorial-shell .proex-terminal-market {
  font-family: var(--font-serif) !important;
  color: var(--ink-primary) !important;
  font-weight: 500 !important;
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

body.proex-editorial-shell .proex-serif-title strong {
  font-weight: 600 !important;
}

/* Tabular Numerals for Finance & Market Data (Strictly Inter + tabular-nums) */
.proex-tabular,
.proex-num,
.proex-pulse-metric-val,
.proex-opp-price,
.proex-opp-area,
.proex-opp-yield,
.proex-terminal-val {
  font-family: var(--font-sans) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Subtle Link with arrow */
.proex-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
  transition: color var(--duration-micro) var(--ease-editorial), transform var(--duration-micro) var(--ease-editorial);
}

.proex-link-arrow:hover {
  color: var(--bronze);
  transform: translateX(3px);
}

.proex-link-arrow i,
.proex-link-arrow svg {
  font-size: 11px;
  transition: transform var(--duration-micro) var(--ease-editorial);
}

/* ==========================================================================
   HEADER (NEAR MONOCHROME · QUIET LUXURY)
   ========================================================================== */
.proex-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
  box-shadow: none;
  transition: background-color var(--duration-micro) var(--ease-editorial), border-color var(--duration-micro) var(--ease-editorial);
}

.proex-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.proex-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--duration-micro) var(--ease-editorial);
}

.proex-header-logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
}

.proex-header-logo:hover {
  opacity: 0.85;
}

.proex-header-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Desktop Navigation Menu */
.proex-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.proex-nav-desktop li {
  margin: 0;
  padding: 0;
}

.proex-nav-link {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--duration-micro) var(--ease-editorial);
  position: relative;
  padding: 6px 0;
}

.proex-nav-link:hover,
.proex-nav-link.active {
  color: var(--ink-primary);
}

.proex-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--bronze);
  border-radius: 1px;
}

/* Header Actions */
.proex-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proex-btn-search-trigger {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-micro) var(--ease-editorial), background-color var(--duration-micro) var(--ease-editorial);
}

.proex-btn-search-trigger:hover {
  color: var(--ink-primary);
  background-color: var(--canvas-soft);
}

/* Consultation Button: 0% Emerald Green -> Charcoal #171717, Hover Bronze #B28A52 */
body.proex-editorial-shell .proex-btn-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #FFFFFF !important;
  background-color: #171717 !important;
  border: 1px solid #171717 !important;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: none !important;
  transition: all var(--duration-micro) var(--ease-editorial);
}

body.proex-editorial-shell .proex-btn-consult:hover {
  background-color: #B28A52 !important;
  border-color: #B28A52 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(178, 138, 82, 0.22) !important;
}

/* Mobile Toggle */
.proex-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 19px;
  color: var(--ink-primary);
  cursor: pointer;
  padding: 6px;
}

/* Mobile Drawer Overlay */
.proex-mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--canvas-pure);
  z-index: calc(var(--z-header) - 1);
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.proex-mobile-drawer.is-open {
  display: flex;
}

.proex-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proex-mobile-nav a {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-primary);
  text-decoration: none;
  font-weight: 500;
}

/* ==========================================================================
   01. SECTION: HERO EDITORIAL (50/50 SPLIT)
   ========================================================================== */
.proex-hero {
  padding-top: clamp(36px, 4.5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
  background-color: var(--canvas-pure);
  overflow: hidden;
}

.proex-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.proex-hero-content {
  max-width: 640px;
}

.proex-headline-nowrap {
  white-space: nowrap;
}

body.proex-editorial-shell .proex-hero-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(36px, 4.2vw, 56px) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  color: var(--ink-primary) !important;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.proex-hero-body {
  font-size: clamp(14px, 1.05vw, 15.5px);
  color: var(--ink-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 480px;
}

/* Compact Editorial Search Bar */
.proex-search-form {
  position: relative;
  max-width: 420px;
  margin-bottom: 0;
}

.proex-search-input-wrap {
  display: flex;
  align-items: center;
  background-color: var(--canvas-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color var(--duration-micro) var(--ease-editorial), box-shadow var(--duration-micro) var(--ease-editorial);
}

.proex-search-input-wrap:focus-within {
  border-color: var(--bronze);
  box-shadow: 0 4px 18px rgba(178, 138, 82, 0.12);
}

.proex-search-input-wrap i {
  color: var(--ink-tertiary);
  font-size: 13px;
  margin-right: 10px;
}

.proex-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-primary);
}

.proex-search-input::placeholder {
  color: var(--ink-tertiary);
}

.proex-search-submit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: #171717;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--duration-micro) var(--ease-editorial), transform var(--duration-micro) var(--ease-editorial);
}

.proex-search-submit:hover {
  background-color: var(--bronze);
  transform: scale(1.04);
}

/* Hero Right Visual: High-Fashion Architectural Magazine Crop */
.proex-hero-visual {
  position: relative;
}

.proex-hero-visual-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background-color: var(--canvas-soft);
  aspect-ratio: 4 / 3.2;
}

.proex-hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  transition: transform 1200ms var(--ease-editorial);
}

.proex-hero-visual-frame:hover .proex-hero-visual-img {
  transform: scale(1.02);
}

/* ==========================================================================
   02. SECTION: MARKET PULSE & THE LIVING MARKET LINE (TIGHTENED SPACING)
   ========================================================================== */
.proex-pulse-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(20px, 2.5vw, 32px) auto;
}

body.proex-editorial-shell .proex-pulse-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(26px, 2.6vw, 38px) !important;
  font-weight: 500 !important;
  margin-bottom: var(--space-2);
}

.proex-pulse-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.proex-pulse-metric-card {
  padding: 0;
}

.proex-pulse-metric-val {
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.proex-pulse-metric-val.is-up {
  color: var(--ink-primary);
}

.proex-pulse-metric-label {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: var(--leading-snug);
  max-width: 220px;
  margin: 0 auto;
}

/* The Living Market Line Container (Visually anchors metrics) */
.proex-living-line-wrap {
  position: relative;
  width: 100%;
  height: 54px;
  margin-top: 14px;
  overflow: visible;
}

.proex-living-line-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.proex-living-path {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.proex-living-dot {
  fill: #FFFFFF;
  stroke: var(--bronze);
  stroke-width: 2;
  r: 4;
  opacity: 1;
}

.proex-pulse-meta {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  margin-top: 14px;
}

/* ==========================================================================
   03. SECTION: EXPLORE THE MARKET (STYLIZED HANOI MAP & TERMINAL)
   ========================================================================== */
.proex-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.proex-map-content {
  max-width: 480px;
}

body.proex-editorial-shell .proex-map-content .proex-serif-title {
  font-size: var(--text-h1);
  margin-bottom: var(--space-4);
}

.proex-map-content p {
  color: var(--ink-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-size: 14.5px;
}

/* Stylized Monochrome Map Visual */
.proex-map-visual {
  position: relative;
  background-color: var(--canvas-pure);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(20px, 2.5vw, 32px);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.proex-map-svg {
  width: 100%;
  height: 100%;
  max-height: 420px;
}

.proex-map-node {
  cursor: pointer;
  outline: none;
}

.proex-map-node circle.pin-dot {
  fill: var(--bronze);
  stroke: #FFFFFF;
  stroke-width: 2.5;
  transition: fill var(--duration-micro) var(--ease-editorial);
}

.proex-map-node:hover circle.pin-dot,
.proex-map-node.is-active circle.pin-dot {
  fill: var(--ink-primary);
}

.proex-map-node circle.pin-halo {
  transition: fill var(--duration-micro) var(--ease-editorial), opacity var(--duration-micro) var(--ease-editorial);
}

.proex-map-node:hover circle.pin-halo,
.proex-map-node.is-active circle.pin-halo {
  fill: rgba(178, 138, 82, 0.25);
}

.proex-map-node text.pin-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  fill: var(--ink-primary);
  letter-spacing: 0.03em;
}

/* Market Map Disclaimer (Micro-label) */
.proex-map-disclaimer {
  position: absolute;
  bottom: 12px;
  left: 20px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-tertiary);
  opacity: 0.75;
  pointer-events: none;
  z-index: 5;
}

/* Market Intelligence Terminal Panel */
.proex-map-terminal {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 16px;
  width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity var(--duration-micro) var(--ease-editorial), transform var(--duration-micro) var(--ease-editorial);
  z-index: 10;
}

.proex-terminal-badge {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bronze);
  margin-bottom: 2px;
}

body.proex-editorial-shell .proex-terminal-market {
  font-family: var(--font-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ink-primary) !important;
  margin-bottom: 8px;
  line-height: 1.2;
}

.proex-terminal-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.proex-terminal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11.5px;
}

.proex-terminal-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.proex-terminal-label {
  color: var(--ink-muted);
  font-size: 11px;
}

.proex-terminal-val {
  font-weight: 600;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.proex-terminal-val.is-up {
  color: var(--ink-primary);
}

.proex-terminal-footer {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proex-terminal-time {
  font-size: 10px;
  color: var(--ink-tertiary);
}

.proex-terminal-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--bronze);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration-micro) var(--ease-editorial);
}

.proex-terminal-link:hover {
  color: var(--ink-primary);
}

/* ==========================================================================
   04. SECTION: SELECTED OPPORTUNITIES (BORDERLESS EDITORIAL ASSETS)
   ========================================================================== */
.proex-opps-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}

body.proex-editorial-shell .proex-opps-title {
  font-size: var(--text-h1);
  margin: 0;
}

.proex-opps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.8vw, 40px);
}

.proex-opp-card {
  text-decoration: none;
  display: block;
  color: inherit;
  border: none;
  background: transparent;
  padding: 0;
  transition: transform var(--duration-micro) var(--ease-editorial);
}

.proex-opp-card:hover {
  transform: translateY(-3px);
}

.proex-opp-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--canvas-soft);
  aspect-ratio: 16 / 10.5;
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.proex-opp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-editorial);
}

.proex-opp-card:hover .proex-opp-img {
  transform: scale(1.025);
}

.proex-opp-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(23, 23, 23, 0.72);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

body.proex-editorial-shell .proex-opp-card-title {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--ink-primary) !important;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.proex-opp-card-sub {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}

.proex-opp-data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  margin-bottom: var(--space-2);
}

.proex-opp-price {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.proex-opp-area {
  font-size: 12px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.proex-opp-yield {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   05. SECTION: PROEX INSIGHTS (EDITORIAL MAGAZINE)
   ========================================================================== */
.proex-insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}

body.proex-editorial-shell .proex-insights-title {
  font-size: var(--text-h1);
  margin: 0;
}

.proex-insights-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(24px, 3vw, 40px);
}

/* Featured Article (Left) */
.proex-insight-featured {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  min-height: 420px;
  background-color: var(--ink-primary);
}

.proex-insight-featured-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 1000ms var(--ease-editorial), opacity var(--duration-micro) var(--ease-editorial);
}

.proex-insight-featured:hover .proex-insight-featured-bg {
  transform: scale(1.025);
  opacity: 0.85;
}

.proex-insight-featured-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.08) 0%, rgba(23, 23, 23, 0.45) 45%, rgba(23, 23, 23, 0.94) 100%);
  pointer-events: none;
}

.proex-insight-featured-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.proex-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-3);
  background-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

body.proex-editorial-shell .proex-insight-featured-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.proex-insight-featured-excerpt {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.proex-insight-featured-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #F1D99B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Secondary Articles (Right Stacked with Hairlines) */
.proex-insights-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proex-insight-card {
  background-color: var(--canvas-pure);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(22px, 2.6vw, 30px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  transition: border-color var(--duration-micro) var(--ease-editorial), transform var(--duration-micro) var(--ease-editorial);
}

.proex-insight-card:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
}

.proex-insight-card .proex-tag {
  background-color: var(--canvas-soft);
  color: var(--bronze);
  border: 1px solid var(--border);
  align-self: flex-start;
}

body.proex-editorial-shell .proex-insight-card-title {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--ink-primary) !important;
  line-height: var(--leading-snug);
  margin: var(--space-2) 0 var(--space-3) 0;
}

.proex-insight-card-date {
  font-size: 11.5px;
  color: var(--ink-tertiary);
}

/* ==========================================================================
   06. SECTION: INVESTMENT TOOLS (4 UNBOXED COLUMNS WITH HAIRLINES)
   ========================================================================== */
.proex-tools-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}

body.proex-editorial-shell .proex-tools-title {
  font-size: var(--text-h1);
  margin: 0;
}

.proex-tools-suite {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proex-tool-col {
  padding: clamp(28px, 3.5vw, 42px) clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color var(--duration-micro) var(--ease-editorial);
}

.proex-tool-col:last-child {
  border-right: none;
}

.proex-tool-col:hover {
  background-color: var(--canvas-soft);
}

.proex-tool-col-num {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--bronze);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

body.proex-editorial-shell .proex-tool-col-title {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--ink-primary) !important;
  margin: 0 0 var(--space-2) 0;
  line-height: 1.25;
}

.proex-tool-col-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: var(--leading-normal);
  margin: 0 0 var(--space-4) 0;
}

.proex-tool-col-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--duration-micro) var(--ease-editorial), transform var(--duration-micro) var(--ease-editorial);
}

.proex-tool-col:hover .proex-tool-col-arrow {
  color: var(--bronze);
  transform: translateX(4px);
}

/* ==========================================================================
   07. SECTION: FOUNDER & PROEX PHILOSOPHY
   ========================================================================== */
.proex-founder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.proex-founder-content {
  max-width: 580px;
}

body.proex-editorial-shell .proex-founder-title {
  font-size: var(--text-h1);
  margin-bottom: var(--space-5);
}

.proex-founder-quote {
  font-family: var(--font-serif);
  font-size: clamp(16.5px, 1.25vw, 19.5px);
  color: var(--ink-muted);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin: 0 0 var(--space-6) 0;
}

.proex-founder-attribution {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.proex-founder-signature {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--bronze);
  font-style: italic;
  letter-spacing: 0.04em;
}

.proex-founder-role {
  font-size: 13px;
  color: var(--ink-tertiary);
  line-height: 1.4;
}

.proex-founder-role strong {
  color: var(--ink-primary);
  font-weight: 600;
  display: block;
}

.proex-founder-visual {
  position: relative;
}

.proex-founder-visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--canvas-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  aspect-ratio: 3.8 / 4.6;
}

.proex-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Consultation Form Box (Calm, Restrained, No Green) */
.proex-consultation-box {
  margin-top: clamp(48px, 5vw, 80px);
  padding: clamp(32px, 4vw, 56px);
  background-color: var(--canvas-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.proex-editorial-shell .proex-form-submit-btn,
body.proex-editorial-shell .proex-btn-submit {
  background-color: #171717 !important;
  border: 1px solid #171717 !important;
  color: #FFFFFF !important;
  padding: 12px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: none !important;
  transition: all var(--duration-micro) var(--ease-editorial);
}

body.proex-editorial-shell .proex-form-submit-btn:hover,
body.proex-editorial-shell .proex-btn-submit:hover {
  background-color: #B28A52 !important;
  border-color: #B28A52 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(178, 138, 82, 0.22) !important;
}

/* ==========================================================================
   08. SECTION: LUXURY FOOTER (LIGHT OFF-WHITE)
   ========================================================================== */
.proex-footer {
  background-color: var(--canvas-soft);
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
}

.proex-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(32px, 3.5vw, 64px);
  margin-bottom: clamp(40px, 4.5vw, 64px);
}

.proex-footer-brand-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.proex-footer-brand-logo img {
  height: 26px;
  width: auto;
}

.proex-footer-tagline {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: var(--leading-relaxed);
  max-width: 320px;
  margin: 0 0 var(--space-5) 0;
}

.proex-footer-social {
  display: flex;
  gap: 12px;
}

.proex-footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--canvas-pure);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12.5px;
  transition: all var(--duration-micro) var(--ease-editorial);
}

.proex-footer-social-link:hover {
  border-color: var(--bronze);
  color: var(--bronze);
  transform: translateY(-2px);
}

.proex-footer-col h3,
.proex-footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-primary);
  margin: 0 0 var(--space-4) 0;
}

.proex-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proex-footer-links a {
  font-size: 12.5px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--duration-micro) var(--ease-editorial);
}

.proex-footer-links a:hover {
  color: var(--ink-primary);
}

/* Footer Bottom Bar */
.proex-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--ink-tertiary);
}

.proex-btn-backtotop {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--canvas-pure);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-micro) var(--ease-editorial);
}

.proex-btn-backtotop:hover {
  border-color: var(--bronze);
  color: var(--bronze);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (1024px / 768px / 640px / 390px)
   ========================================================================== */
@media (max-width: 1024px) {
  .proex-nav-desktop {
    display: none;
  }
  .proex-menu-toggle {
    display: block;
  }
  .proex-hero-grid,
  .proex-map-grid,
  .proex-insights-grid,
  .proex-founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .proex-tools-suite {
    grid-template-columns: repeat(2, 1fr);
  }
  .proex-tool-col:nth-child(2) {
    border-right: none;
  }
  .proex-tool-col:nth-child(1),
  .proex-tool-col:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .proex-opps-grid {
    grid-template-columns: 1fr;
  }
  .proex-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .proex-header-inner {
    height: 58px;
  }
  body.proex-editorial-shell .proex-hero-title {
    font-size: clamp(28px, 7.2vw, 34px) !important;
    line-height: 1.18 !important;
  }
  .proex-headline-nowrap {
    white-space: normal;
  }
  .proex-pulse-metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .proex-living-line-wrap {
    height: 40px;
    margin-top: 10px;
  }
  .proex-map-visual {
    padding: 16px;
  }
  .proex-map-terminal {
    position: static;
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
  }
  .proex-map-disclaimer {
    position: static;
    margin-top: 10px;
    text-align: center;
    display: block;
  }
  .proex-tools-suite {
    grid-template-columns: 1fr;
  }
  .proex-tool-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .proex-tool-col:last-child {
    border-bottom: none;
  }
  .proex-footer-grid {
    grid-template-columns: 1fr;
  }
  .proex-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
