/* ============================================================
   JME CAPITAL GROUP — group portal
   Majoris-inspired: cinematic full-bleed split panels.
   Theme: deep blue + luminous azure.
   ============================================================ */

:root {
  --blue-deep: #081427;
  --blue: #0f2347;
  --blue-soft: #16315f;
  --azure: #4d86e0;
  --azure-light: #7fb0f2;
  --ice: #d6e4f7;
  --paper: #f3f6fc;
  --paper-2: #e9eef8;
  --ink: #1a2334;
  --slate: #3a475c;
  --muted: #5a6678;
  --border: #dde4f0;
  --line-dark: rgba(255, 255, 255, 0.14);

  --serif-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --serif-sc: 'Noto Serif SC', 'Cormorant Garamond', serif;
  --sans: 'Noto Sans SC', system-ui, sans-serif;
  --label: 'Archivo', sans-serif;

  --maxw: 1360px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--azure); color: #fff; }
img { max-width: 100%; display: block; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--label); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--azure); margin-bottom: 22px; }
.eyebrow.on-dark { color: var(--azure-light); }
.section-title { font-family: var(--serif-display); font-weight: 500; color: var(--blue); line-height: 1.14; letter-spacing: .004em; margin: 0; }
.rule { width: 60px; height: 1px; background: var(--azure); margin: 0 0 26px; }
.rule.center { margin-left: auto; margin-right: auto; }

/* =================== NAV =================== */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .45s, border-color .45s, box-shadow .45s; border-bottom: 1px solid transparent; }
.site-nav.solid { background: rgba(243,246,252,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 10px 34px -22px rgba(8,20,39,0.45); }
.nav-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.brand-badge span { transform: rotate(-45deg); font-family: var(--serif-display); font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; line-height: 1; }
.brand-zh { font-family: var(--serif-sc); font-size: 12px; letter-spacing: .4em; color: var(--azure); margin-top: 4px; }
.site-nav .brand-badge, .site-nav .brand-name { color: #fff; }
.site-nav.solid .brand-badge, .site-nav.solid .brand-name { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-family: var(--label); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.88); transition: color .3s; }
.site-nav.solid .nav-link { color: #3a475c; }
.nav-link:hover { color: var(--azure-light); }
.site-nav.solid .nav-link:hover { color: var(--azure); }
.lang-btn { font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.55); padding: 9px 16px; cursor: pointer; border-radius: 1px; transition: all .3s; }
.lang-btn:hover { background: var(--azure); border-color: var(--azure); color: #fff; }
.site-nav.solid .lang-btn { color: var(--blue); border-color: var(--blue); }
.site-nav.solid .lang-btn:hover { background: var(--blue); color: #fff; }

/* =================== HERO =================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: var(--blue-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.6s cubic-bezier(.2,.6,.2,1) both; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,39,0.5) 0%, rgba(8,20,39,0.28) 34%, rgba(8,20,39,0.86) 100%), radial-gradient(120% 80% at 82% 12%, rgba(77,134,224,0.32), transparent 55%); }
.hero-inner { position: relative; width: 100%; padding-bottom: 112px; }
.hero-content { max-width: 1000px; }
.hero-eyebrow { font-family: var(--label); font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--azure-light); margin-bottom: 28px; }
.hero-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(46px, 7.2vw, 116px); line-height: 1.02; letter-spacing: .004em; margin: 0; }
.hero-sub { max-width: 640px; margin: 32px 0 0; font-size: 17.5px; line-height: 1.95; color: rgba(255,255,255,0.84); font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.btn-azure { font-family: var(--label); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--azure); padding: 17px 34px; transition: background .4s, transform .4s, box-shadow .4s; }
.btn-azure:hover { background: #5a93ec; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(77,134,224,0.6); }
.link-underline { font-family: var(--label); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(127,176,242,0.7); padding-bottom: 5px; transition: border-color .4s, letter-spacing .4s; }
.link-underline:hover { border-color: var(--azure-light); letter-spacing: .22em; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 38px; font-family: var(--label); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ''; width: 46px; height: 1px; background: rgba(255,255,255,0.4); }

/* =================== STATS =================== */
.stats { background: var(--blue); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 30px 50px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; }
.stat-n { font-family: var(--serif-display); font-weight: 500; font-size: 52px; color: var(--azure-light); line-height: 1; }
.stat-l { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.68); letter-spacing: .02em; }

/* =================== VISION / MISSION SPLIT =================== */
.vm { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; background: var(--blue-deep); }
.vm-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 60vh; }
.vm-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.vm-panel:hover img { transform: scale(1.05); }
.vm-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,39,0.34) 0%, rgba(8,20,39,0.72) 100%); }
.vm-panel.alt::after { background: linear-gradient(180deg, rgba(8,20,39,0.42) 0%, rgba(15,35,71,0.78) 100%); }
.vm-inner { position: relative; z-index: 2; padding: 72px 60px; max-width: 560px; }
.vm-k { font-family: var(--label); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--azure-light); margin-bottom: 18px; }
.vm-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(30px, 3vw, 46px); line-height: 1.2; margin: 0 0 18px; }
.vm-body { font-size: 15.5px; line-height: 1.95; color: rgba(255,255,255,0.82); margin: 0; }

/* =================== ABOUT =================== */
.about { background: var(--paper); padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about .section-title { font-size: clamp(30px, 3.6vw, 52px); }
.about-p { font-size: 16.5px; line-height: 1.98; color: var(--slate); margin: 22px 0 0; }
.about-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--blue); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-founder { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.about-founder .nm { font-family: var(--serif-display); font-size: 28px; color: var(--blue); font-weight: 600; }
.about-founder .rl { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }

/* =================== VENTURES =================== */
.ventures { background: var(--blue-deep); padding: 120px 0 130px; }
.ventures .eyebrow { color: var(--azure-light); }
.ventures-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.ventures-head .section-title { color: #fff; font-size: clamp(28px, 3.2vw, 46px); }
.ventures-head .vh-sub { margin: 22px 0 0; font-size: 15.5px; line-height: 1.9; color: rgba(255,255,255,0.66); }
.venture { position: relative; min-height: 460px; display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line-dark); margin-bottom: 30px; overflow: hidden; }
.venture:last-child { margin-bottom: 0; }
.venture-media { position: relative; overflow: hidden; }
.venture-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s cubic-bezier(.2,.6,.2,1); }
.venture:hover .venture-media img { transform: scale(1.06); }
.venture-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,20,39,0.2), transparent 60%); }
.venture.reverse .venture-media { order: 2; }
.venture-text { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--blue); }
.venture-tag { font-family: var(--label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--azure-light); margin-bottom: 16px; }
.venture-name { font-family: var(--serif-display); font-weight: 600; font-size: clamp(30px, 3vw, 44px); color: #fff; margin: 0 0 8px; letter-spacing: .02em; }
.venture-zh { font-family: var(--serif-sc); font-size: 17px; color: rgba(255,255,255,0.7); margin: 0 0 22px; }
.venture-body { font-size: 15px; line-height: 1.95; color: rgba(255,255,255,0.78); margin: 0 0 28px; max-width: 480px; }
.venture-link { font-family: var(--label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.venture-link .arrow { color: var(--azure-light); transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.venture:hover .venture-link .arrow { transform: translateX(7px); }
.venture-flag { position: absolute; top: 0; left: 0; z-index: 3; background: var(--azure); color: #fff; font-family: var(--label); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 18px; }

/* =================== FOOTPRINT =================== */
.footprint { background: var(--paper); padding: 120px 0; }
.footprint-head { text-align: center; margin-bottom: 54px; }
.footprint-head .section-title { font-size: clamp(28px, 3.4vw, 48px); }
.footprint-map { width: 100%; max-width: 920px; margin: 0 auto 50px; display: block; filter: hue-rotate(65deg) saturate(1.1); }
.footprint-countries { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.country { font-family: var(--label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); border: 1px solid var(--border); padding: 9px 16px; transition: all .3s; }
.country:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =================== CAREERS =================== */
.careers { position: relative; min-height: 76vh; display: flex; align-items: center; overflow: hidden; background: var(--blue-deep); }
.careers img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers-scrim { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,20,39,0.9) 0%, rgba(8,20,39,0.6) 55%, rgba(15,35,71,0.45) 100%); }
.careers-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 96px var(--gutter); width: 100%; }
.careers-box { max-width: 640px; }
.careers-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; margin: 0 0 24px; }
.careers-body { font-size: 16px; line-height: 1.95; color: rgba(255,255,255,0.82); margin: 0 0 36px; }

/* =================== CONTACT =================== */
.contact { background: var(--paper-2); padding: 120px 0 104px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact .section-title { font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 30px; }
.contact-email { font-family: var(--serif-display); font-size: 28px; color: var(--blue); border-bottom: 1px solid var(--azure); padding-bottom: 5px; transition: color .3s; }
.contact-email:hover { color: var(--azure); }
.contact-offices { display: grid; gap: 22px; }
.c-office { background: #fff; border: 1px solid var(--border); padding: 28px 30px; }
.c-office .tg { font-family: var(--label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--azure); }
.c-office .ct { font-family: var(--serif-sc); font-weight: 600; font-size: 19px; color: var(--blue); margin: 8px 0 8px; }
.c-office .ad { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; }

/* =================== FOOTER =================== */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,0.7); padding: 78px 0 44px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--azure-light); transform: rotate(45deg); flex: none; }
.footer-badge span { transform: rotate(-45deg); font-family: var(--serif-display); font-weight: 600; font-size: 16px; color: var(--azure-light); }
.footer-name { font-family: var(--serif-display); font-weight: 600; font-size: 20px; letter-spacing: .12em; color: #fff; }
.footer-disclaimer { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.5); max-width: 420px; margin: 0; }
.footer-coltitle { font-family: var(--label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--azure-light); margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 13px; }
.footer-col-links a, .footer-col-links span { font-size: 14px; color: rgba(255,255,255,0.72); transition: color .3s; }
.footer-col-links a:hover { color: var(--azure-light); }
.footer-copy { padding-top: 28px; font-size: 12.5px; color: rgba(255,255,255,0.42); letter-spacing: .02em; }

/* =================== REVEAL =================== */
[data-revealable] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s cubic-bezier(.2,.65,.2,1), transform 1.1s cubic-bezier(.2,.65,.2,1); will-change: opacity, transform; }
[data-revealable].is-visible { opacity: 1; transform: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .vm { grid-template-columns: 1fr; min-height: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .venture { grid-template-columns: 1fr; }
  .venture .venture-media { order: 0 !important; aspect-ratio: 16/9; }
}
@media (max-width: 860px) { .nav-links .nav-link { display: none; } }
@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: none; }
  .vm-inner, .venture-text { padding: 44px 26px; }
  .about, .ventures, .footprint, .contact { padding-top: 84px; padding-bottom: 84px; }
}
