/*
Theme Name: Veloris Labs
Description: Custom theme for Veloris Labs — light corporate design with an editable Products post type.
Author: Veloris Labs
Version: 1.0
*/

/* ─────────────────────────────────────────
   VARIABLES — Light Corporate
───────────────────────────────────────── */
:root {
  --bg:           #FFFFFF;
  --bg-light:     #F5F8FC;
  --bg-pale:      #EBF1FA;
  --bg-section:   #F0F5FB;
  --navy:         #0B1F3A;
  --navy-mid:     #1B4F8A;
  --navy-light:   #2563EB;
  --navy-bg:      #EBF2FB;
  --footer-bg:    #091629;
  --footer-bdr:   #152745;
  --border:       #D4DFF0;
  --border-light: #E8EFF8;
  --txt:          #0B1F3A;
  --txt2:         #3A5070;
  --txt3:         #7090B0;
  --txt-light:    #F4F8FC;
  --txt-light2:   #8AAAC8;
  --gold:         #C9A84C;
  --gold-dark:    #A88830;
  --gold-light:   #FBF6E8;
  --gold-subtle:  rgba(201,168,76,0.10);
  --success:      #16A34A;
  --shadow-sm:    0 1px 4px rgba(11,31,58,0.07);
  --shadow-md:    0 4px 20px rgba(11,31,58,0.09);
  --shadow-lg:    0 8px 40px rgba(11,31,58,0.12);
  --r-sm:         4px;
  --r-md:         6px;
  --r-lg:         10px;
  --font:         'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  transition: box-shadow 0.2s;
}
.nav.raised { box-shadow: var(--shadow-md); }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-gem {
  width: 30px; height: 30px; background: var(--navy); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.nav-gem::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.nav-gem svg { width: 13px; height: 13px; position: relative; z-index: 1; }
.nav-wordmark { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--txt2); transition: color 0.15s; letter-spacing: 0.01em; padding-bottom: 2px; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--gold); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 13.5px; font-weight: 500; color: var(--txt3); transition: color 0.15s; }
.nav-signin:hover { color: var(--txt2); }
.btn-nav { background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: var(--r-sm); transition: background 0.15s; letter-spacing: 0.01em; }
.btn-nav:hover { background: var(--navy-mid); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--txt2); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 28px 20px; z-index: 99; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--txt2); border-bottom: 1px solid var(--border-light); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn-nav { display: inline-block; margin-top: 16px; }

/* HERO */
.hero { background: var(--bg); min-height: 100vh; display: flex; align-items: center; padding: 100px 28px 60px; position: relative; overflow: hidden; }
.hero-watermark { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; opacity: 0.04; pointer-events: none; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background: var(--bg-section); clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, transparent 60%); }
.hero-inner { position: relative; z-index: 1; max-width: 620px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 24px; animation: fadeUp 0.5s ease-out 0.1s both; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.hero-headline { font-size: 50px; font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; color: var(--navy); margin-bottom: 8px; animation: fadeUp 0.5s ease-out 0.2s both; }
.hero-headline-accent { font-size: 50px; font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; color: var(--navy-mid); margin-bottom: 28px; animation: fadeUp 0.5s ease-out 0.25s both; position: relative; display: inline-block; }
.hero-headline-accent::after { content: ''; position: absolute; left: 0; bottom: -4px; right: 0; height: 3px; background: var(--gold); border-radius: 2px; }
.hero-sub { font-size: 17px; font-weight: 400; color: var(--txt2); line-height: 1.78; max-width: 500px; margin-bottom: 36px; animation: fadeUp 0.5s ease-out 0.3s both; }
.hero-btns { display: flex; align-items: center; gap: 12px; margin-bottom: 52px; animation: fadeUp 0.5s ease-out 0.35s both; }
.btn-primary { background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 700; padding: 12px 26px; border-radius: var(--r-sm); transition: background 0.15s, transform 0.12s; letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 7px; }
.btn-primary:hover { background: #D4B055; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); font-size: 14px; font-weight: 600; padding: 12px 26px; border-radius: var(--r-sm); border: 1.5px solid var(--border); transition: all 0.15s; letter-spacing: 0.01em; }
.btn-outline:hover { border-color: var(--navy-mid); color: var(--navy-mid); background: var(--navy-bg); }
.hero-metrics { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 28px; animation: fadeUp 0.5s ease-out 0.4s both; }
.hero-metric { padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid var(--border); }
.hero-metric:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-metric-num { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.hero-metric-num span { color: var(--gold); }
.hero-metric-label { font-size: 12px; color: var(--txt3); font-weight: 500; line-height: 1.4; }

/* SECTION COMMON */
.section { padding: 84px 0; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--gold); }
.section-headline { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--txt2); line-height: 1.7; max-width: 520px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }

/* PRODUCTS */
.products-section { padding: 84px 0; background: var(--bg-section); }
.products-header { margin-bottom: 44px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.product-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); border-left: 4px solid var(--border); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.15s, transform 0.15s; cursor: pointer; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-top { display: flex; align-items: center; justify-content: space-between; }
.product-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.product-icon svg { width: 19px; height: 19px; }
.product-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--txt3); background: var(--bg-light); padding: 3px 8px; border-radius: 20px; border: 1px solid var(--border); }
.product-name { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.product-tagline { font-size: 13px; color: var(--txt3); line-height: 1.55; flex: 1; }
.product-rule { height: 1px; background: var(--border-light); margin: 2px 0; }
.product-visit { font-size: 13px; font-weight: 700; color: var(--navy-mid); display: flex; align-items: center; gap: 5px; transition: gap 0.15s, color 0.15s; }
.product-card:hover .product-visit { gap: 8px; color: var(--gold-dark); }
.products-note { text-align: center; font-size: 13px; color: var(--txt3); padding-top: 22px; border-top: 1px solid var(--border); line-height: 1.6; }
.products-note strong { color: var(--txt2); font-weight: 600; }

/* WHY VELORIS */
.why-section { padding: 84px 0; background: var(--bg); }
.why-header { margin-bottom: 52px; }
.why-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); position: relative; background: var(--bg); transition: box-shadow 0.15s, border-color 0.15s; }
.pillar:hover { box-shadow: var(--shadow-md); border-color: #C0D0E8; }
.pillar-rule { position: absolute; top: 0; left: 28px; right: 28px; height: 3px; border-radius: 3px; }
.pillar-rule.gold { background: var(--gold); }
.pillar-rule.navy { background: var(--navy); }
.pillar-rule.mid { background: var(--navy-mid); }
.pillar-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt3); margin-bottom: 20px; margin-top: 10px; }
.pillar-icon { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pillar-icon svg { width: 21px; height: 21px; }
.pillar-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.3; }
.pillar-body { font-size: 14.5px; color: var(--txt2); line-height: 1.72; }

/* FOUNDER */
.founder-section { padding: 84px 0; background: var(--bg-pale); }
.founder-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.founder-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.founder-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--gold); }
.founder-headline { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy); margin-bottom: 22px; }
.founder-body { font-size: 15.5px; color: var(--txt2); line-height: 1.8; margin-bottom: 28px; }
.founder-body p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-size: 12px; font-weight: 600; color: var(--txt2); background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; }
.founder-link { font-size: 13.5px; font-weight: 700; color: var(--navy-mid); display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s; }
.founder-link:hover { color: var(--gold-dark); }
.stats-panel { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.stat-item { padding: 22px 24px; border-bottom: 1px solid var(--border-light); display: flex; gap: 18px; align-items: flex-start; }
.stat-item:last-child { border-bottom: none; }
.stat-num { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; min-width: 68px; flex-shrink: 0; color: var(--navy); }
.stat-num.gold { color: var(--gold-dark); }
.stat-num.mid { color: var(--navy-mid); }
.stat-desc { font-size: 13px; color: var(--txt2); line-height: 1.5; font-weight: 500; padding-top: 4px; }

/* CTA */
.cta-section { padding: 72px 0; background: var(--gold); }
.cta-inner { text-align: center; }
.cta-headline { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--navy); margin-bottom: 12px; }
.cta-sub { font-size: 16px; color: rgba(11,31,58,0.6); margin-bottom: 34px; line-height: 1.6; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; }
.btn-dark { background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 700; padding: 12px 26px; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 7px; transition: background 0.15s; letter-spacing: 0.01em; }
.btn-dark:hover { background: var(--navy-mid); }
.btn-outline-dark { background: transparent; color: var(--navy); font-size: 14px; font-weight: 700; padding: 12px 26px; border-radius: var(--r-sm); border: 2px solid rgba(11,31,58,0.28); transition: all 0.15s; letter-spacing: 0.01em; }
.btn-outline-dark:hover { border-color: rgba(11,31,58,0.6); background: rgba(11,31,58,0.05); }

/* FOOTER */
.footer { background: var(--footer-bg); border-top: 1px solid var(--footer-bdr); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 200px 1fr 180px; gap: 56px; padding-bottom: 48px; }
.footer-logo { margin-bottom: 14px; }
.footer-brand-desc { font-size: 13px; color: var(--txt-light2); line-height: 1.65; max-width: 180px; }
.footer-anchor { font-size: 12px; color: rgba(255,255,255,0.18); margin-top: 10px; display: block; }
.footer-col h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.22); margin-bottom: 16px; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.footer-links-grid a, .footer-col-links a { display: block; font-size: 13px; color: var(--txt-light2); padding: 5px 0; transition: color 0.15s; }
.footer-links-grid a:hover, .footer-col-links a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bar-l, .footer-bar-r { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-bar-r { display: flex; align-items: center; gap: 6px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { display: none; }
  .hero-inner { max-width: 100%; }
}
@media (max-width: 768px) {
  .hero-headline, .hero-headline-accent { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .hero-metric { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .hero-metric:last-child { border-bottom: none; padding-bottom: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .why-pillars { grid-template-columns: 1fr; gap: 14px; }
  .cta-headline { font-size: 24px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-dark, .cta-btns .btn-outline-dark { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }
  .section-headline { font-size: 26px; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .section, .products-section, .why-section, .founder-section { padding: 56px 0; }
}
