/*
Theme Name: Human Charts
Theme URI: https://humancharts.com
Author: Matteen Labs
Author URI: https://matteen.com
Description: Unified WordPress theme for Human Charts — the self-knowledge platform bringing together Human Design, Western Astrology, and more.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hc
*/

/* ============================================================
   BRAND TOKENS
============================================================ */
:root {
  --miami:   #00a2c8;
  --sunrise: #f6b40e;
  --rolex:   #7184a6;
  --matt:    #5698a4;
  --magic:   #58328c; /* defined only — NEVER applied visually */
  --silver:  #949494;
  --dark:    #0d1117;
  --darker:  #080c12;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Light mode (default) */
  --bg:           #f4f6fa;
  --bg2:          #eaecf2;
  --bg3:          #ffffff;
  --bg-alt:       #ffffff;
  --bg-card:      #ffffff;
  --bg-darker:    #e8ecf0;
  --text:         #111826;
  --text-primary: #111826;
  --text-body:    #374151;
  --muted:        #5a647a;
  --text-muted:   #5a647a;
  --border:       rgba(0,0,0,0.09);
  --card-shadow:  0 2px 16px rgba(0,0,0,0.07);
  --nav-bg:       rgba(244,246,250,0.96);
  --nav-border:   rgba(0,0,0,0.08);
  --num-opacity:  0.14;
  --num-color:    #374151;
}

/* Dark mode — activated on HD pages via data-theme="dark" on <html> */
[data-theme="dark"] {
  --bg:           #0d1117;
  --bg2:          #0d1320;
  --bg3:          #111926;
  --bg-alt:       #080c12;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-darker:    #080c12;
  --text:         #e8edf5;
  --text-primary: #e8edf5;
  --text-body:    #e5e7eb;
  --muted:        #8a95a8;
  --text-muted:   #8a95a8;
  --border:       rgba(148,148,148,0.15);
  --card-shadow:  0 2px 24px rgba(0,0,0,0.4);
  --nav-bg:       rgba(13,17,23,0.95);
  --nav-border:   rgba(148,148,148,0.12);
  --num-opacity:  0.2;
  --num-color:    var(--miami);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.25s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.font-bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }
.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--miami);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVBAR — unified sticky nav with dropdowns
============================================================ */
.hc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s var(--ease);
}
.hc-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.09); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.3s var(--ease);
}
.hc-nav.scrolled .nav-inner { height: 62px; }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--miami);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}
.nav-logo-mark span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; color: #fff; letter-spacing: 0.05em;
}
.nav-logo-text-wrap {
  display: flex; flex-direction: column; gap: 1px;
  line-height: 1;
}
.nav-logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 0.08em;
  color: var(--text-primary);
}
.nav-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-item > a, .nav-plain-link {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 0.08em;
  color: var(--text-body);
  padding: 8px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-item > a:hover, .nav-plain-link:hover {
  color: var(--text-primary);
  background: rgba(0,162,200,0.07);
}
.nav-item > a.active { color: var(--miami); }
.nav-chevron { font-size: 9px; color: var(--text-muted); transition: transform 0.2s; }
.nav-item:hover .nav-chevron,
.nav-item.dropdown-open .nav-chevron { transform: rotate(180deg); }

/* Vertical badge */
.nav-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 20px;
}
.nav-badge.hd    { background: rgba(0,162,200,0.12);  color: var(--miami); }
.nav-badge.astro { background: rgba(246,180,14,0.15);  color: #c9920a; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
/* invisible bridge so mouse can travel from link → dropdown without it closing */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-item:hover .nav-dropdown,
.nav-item.dropdown-open .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 400;
  color: var(--text-body); padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--bg2); color: var(--text-primary); }
.dropdown-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 6px 16px 2px; display: block;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 8px; }

/* Theme toggle (HD pages only) */
.nav-theme-toggle {
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  background: none; border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 20px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav-theme-toggle:hover { border-color: var(--miami); color: var(--miami); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  flex-direction: column; gap: 4px;
  z-index: 199;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.drawer-section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--text-muted);
  padding: 14px 12px 4px; text-transform: uppercase;
}
.nav-drawer a {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 500;
  color: var(--text-body);
  padding: 12px; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer a:hover { background: var(--bg2); color: var(--text-primary); }
.drawer-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em; border-radius: 50px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--sunrise); color: var(--dark);
  font-size: 17px; padding: 14px 36px; border: none;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(246,180,14,0.4);
}
.btn-outline {
  background: transparent; color: var(--miami);
  font-size: 17px; padding: 13px 36px;
  border: 2px solid var(--miami);
}
.btn-outline:hover { transform: scale(1.04); background: rgba(0,162,200,0.1); }
.btn-large { font-size: 20px; padding: 16px 52px; }

/* ============================================================
   SECTION WRAPPERS — shared prefix-agnostic
============================================================ */
.hc-section { padding: 100px 48px; position: relative; }
.hc-section-inner { max-width: 1200px; margin: 0 auto; }

/* Legacy aliases — keep WAI & HDI class names working */
.wai-section  { padding: 100px 48px; position: relative; }
.wai-section-inner { max-width: 1200px; margin: 0 auto; }
.hdi-section  { padding: 100px 48px; position: relative; }
.hdi-section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; color: var(--text-primary); letter-spacing: 0.04em;
}
.divider-line {
  width: 0; height: 2px;
  background: var(--miami); opacity: 0.4;
  margin: 16px 0;
  transition: width 1.2s var(--ease);
}
.divider-line.visible { width: 80px; }

/* ============================================================
   HUB HERO — front-page.php
============================================================ */
.hub-hero {
  padding-top: 72px; min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hub-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,162,200,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(246,180,14,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.hub-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,162,200,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,162,200,0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hub-hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px; position: relative; z-index: 1; width: 100%;
}
.hub-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.28em;
  color: var(--miami); text-transform: uppercase;
  display: block; margin-bottom: 20px;
  animation: hcFadeUp 0.8s var(--ease) both;
}
.hub-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.92; letter-spacing: 0.02em;
  color: var(--text-primary); margin-bottom: 8px;
  animation: hcFadeUp 0.8s var(--ease) 0.1s both;
}
.hub-h1 .accent-blue { color: var(--miami); }
.hub-h1 .accent-gold { color: var(--sunrise); }
.hub-tagline {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--text-muted); margin-bottom: 48px; line-height: 1.4;
  animation: hcFadeUp 0.8s var(--ease) 0.2s both;
}
.hub-hero-btns {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 48px;
  animation: hcFadeUp 0.8s var(--ease) 0.3s both;
}
@keyframes hcFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Vertical entry cards */
.hub-verticals {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 48px;
  animation: hcFadeUp 0.8s var(--ease) 0.4s both;
}
.hub-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  position: relative; overflow: hidden;
  display: block; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.hub-card.hd    { border-top: 3px solid var(--miami); }
.hub-card.astro { border-top: 3px solid var(--sunrise); }
.hub-card-bg {
  position: absolute; bottom: -10px; right: -10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 140px; line-height: 1;
  pointer-events: none; user-select: none; opacity: 0.05;
}
.hub-card.hd    .hub-card-bg { color: var(--miami); }
.hub-card.astro .hub-card-bg { color: var(--sunrise); }
.hub-card-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hub-card.hd    .hub-card-tag { color: var(--miami); }
.hub-card.astro .hub-card-tag { color: #c9920a; }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.hub-card.hd    .tag-dot { background: var(--miami); }
.hub-card.astro .tag-dot { background: var(--sunrise); }
.hub-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px); letter-spacing: 0.03em;
  color: var(--text-primary); line-height: 1.0; margin-bottom: 12px;
}
.hub-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; line-height: 1.75;
  color: var(--text-muted); margin-bottom: 24px;
}
.hub-card-cta {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 0.1em;
  transition: gap 0.2s;
}
.hub-card.hd    .hub-card-cta { color: var(--miami); }
.hub-card.astro .hub-card-cta { color: #c9920a; }
.hub-card:hover .hub-card-cta { gap: 14px; }

/* Hub stats */
.hub-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  animation: hcFadeUp 0.8s var(--ease) 0.5s both;
}
.hub-stat { display: flex; flex-direction: column; gap: 2px; }
.hub-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 0.02em;
  color: var(--sunrise); line-height: 1;
}
.hub-stat-label {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.hub-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ============================================================
   MARQUEE
============================================================ */
.hc-marquee, .wai-marquee, .hdi-marquee {
  background: var(--bg-darker, var(--bg2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 0.12em;
  color: var(--miami); padding: 0 20px;
}
.marquee-track .diamond { color: var(--sunrise); padding: 0 6px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HERO — VERTICAL PAGES (HD & Astrology homepages)
============================================================ */
.hdi-hero, .wai-hero {
  position: relative; display: flex;
  align-items: center; overflow: hidden; background: var(--bg);
}
.hdi-hero::before, .wai-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(113,132,166,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle  { display: none; }
.hero-home { min-height: 100vh; padding-top: 72px; }
.hero-home .hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 60% 40%;
  align-items: center; min-height: calc(100vh - 72px); gap: 48px;
}
.hero-content { animation: hcFadeUp 0.9s var(--ease) both; }
.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 110px);
  line-height: 0.95; letter-spacing: 0.02em;
  color: var(--text-primary); margin-bottom: 24px;
}
.hero-content h1 span { color: var(--miami); }
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; font-size: 17px;
  line-height: 1.75; color: var(--text-muted);
  max-width: 520px; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  animation: hcFadeUp 1.1s var(--ease) 0.2s both;
}
.hero-orb {
  width: 380px; height: 380px; border-radius: 50%;
  box-shadow: 0 0 60px rgba(0,162,200,0.12);
  position: relative; overflow: hidden;
  animation: orbRotate 20s linear infinite;
}
/* HD page — keep orb static */
.page-hd .hero-orb { animation: none; }
@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   PILLAR CARDS — shared HD & Astrology
============================================================ */
.pillars-section-bg {
  background: linear-gradient(180deg, var(--bg3) 0%, rgba(0,162,200,0.06) 100%);
}
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 40px 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(0,162,200,0.4);
}
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,162,200,0.1); border: 2px solid rgba(0,162,200,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 24px; color: var(--miami);
}
.card-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--sunrise); margin-bottom: 8px; display: block;
}
.pillar-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px; letter-spacing: 0.04em;
  color: var(--text-primary); margin-bottom: 14px;
}
.pillar-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
}

/* ============================================================
   QUOTE / STATS SECTION
============================================================ */
.quote-section {
  background: var(--bg-alt); text-align: center;
  position: relative; overflow: hidden;
}
.quote-bg-mark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 300px; line-height: 1;
  color: var(--miami); opacity: 0.04;
  pointer-events: none; user-select: none;
}
.quote-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.0; letter-spacing: 0.04em;
  color: var(--text-primary); max-width: 860px; margin: 0 auto 20px;
}
.quote-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; line-height: 1.7;
  color: var(--text-muted); max-width: 580px; margin: 0 auto 64px;
}
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 700px; margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 60px); letter-spacing: 0.02em;
  color: var(--sunrise); line-height: 1; display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 6px; }

/* ============================================================
   SERVICES 2x2
============================================================ */
.services-bg { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 40px 36px;
  position: relative; overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,162,200,0.35);
}
.service-num {
  position: absolute; top: 16px; right: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 90px; line-height: 1;
  color: var(--num-color); opacity: var(--num-opacity);
  pointer-events: none; user-select: none;
}
.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px; letter-spacing: 0.04em;
  color: var(--text-primary); margin-bottom: 14px; line-height: 1.1;
}
.service-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--miami) 0%, var(--matt) 100%);
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: 0.03em; color: #fff; line-height: 1; margin-bottom: 20px;
}
.cta-banner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto 40px;
}
.cta-sub { display: block; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.7); }
.cta-banner .btn-primary {
  background: #fff; color: var(--miami) !important;
  margin: 0 auto; display: inline-flex;
}
.cta-banner .btn-primary:hover { box-shadow: 0 0 28px rgba(255,255,255,0.35); }

/* ============================================================
   HUB PHILOSOPHY STRIP
============================================================ */
.hub-philosophy {
  background: var(--dark);
  padding: 80px 48px; text-align: center; position: relative; overflow: hidden;
}
.hub-philosophy::before {
  content: '"'; position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 400px; line-height: 1;
  color: var(--miami); opacity: 0.04; pointer-events: none;
}
.hub-philosophy h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.0;
  letter-spacing: 0.03em; color: #fff;
  max-width: 900px; margin: 0 auto 20px;
}
.hub-philosophy h2 span { color: var(--miami); }
.hub-philosophy p {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 20px;
  color: rgba(255,255,255,0.55); max-width: 560px; margin: 0 auto 48px; line-height: 1.6;
}
.hub-stats-dark {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 800px; margin: 0 auto;
}
.hub-stat-dark { text-align: center; }
.hub-stat-num-dark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 60px); line-height: 1;
  color: var(--sunrise); display: block;
}
.hub-stat-label-dark {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 6px;
}

/* ============================================================
   HUB MORE TOPICS / COMING SOON
============================================================ */
.hub-more { background: var(--bg3); }
.hub-more-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hub-more-card {
  border: 1px dashed var(--border); border-radius: 14px; padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  opacity: 0.65;
}
.hub-more-icon {
  width: 46px; height: 46px; background: var(--bg2);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 22px;
}
.hub-more-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 0.04em; color: var(--text-primary);
}
.hub-more-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.coming-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--bg2); color: var(--text-muted);
  border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px;
}

/* ============================================================
   HUB CTA SECTION
============================================================ */
.hub-cta {
  background: linear-gradient(135deg, var(--miami) 0%, var(--matt) 100%);
  padding: 100px 48px; text-align: center;
}
.hub-cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: 0.03em; color: #fff; line-height: 1; margin-bottom: 16px;
}
.hub-cta p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 40px;
}
.hub-cta-btns {
  display: flex; align-items: center;
  justify-content: center; gap: 16px; flex-wrap: wrap;
}
.btn-white {
  display: inline-flex; align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: 0.08em;
  background: #fff; color: var(--miami);
  padding: 14px 40px; border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: scale(1.04); box-shadow: 0 0 28px rgba(255,255,255,0.35); }
.btn-ghost-white {
  display: inline-flex; align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: 0.08em;
  background: transparent; color: #fff;
  padding: 13px 40px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ============================================================
   UNLOCK PAGE — form + steps (HDI)
============================================================ */
.form-section { background: var(--bg); }
.form-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
}
.form-wrapper {
  max-width: 1200px;
}
.unlock-services {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.unlock-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px; position: relative; overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.unlock-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,162,200,0.35);
}
.unlock-card-num {
  position: absolute; top: 12px; right: 20px;
  font-family: 'Bebas Neue', sans-serif; font-size: 80px; line-height: 1;
  color: var(--num-color); opacity: var(--num-opacity);
  pointer-events: none; user-select: none;
}
.unlock-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 0.04em;
  color: var(--text-primary); margin-bottom: 12px; margin-top: 4px;
}
.unlock-card p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }

/* How steps */
.why-bg { background: var(--bg-alt); }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.how-steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 1px; border-top: 2px dashed rgba(0,162,200,0.3);
}
.how-step { padding: 0 24px; text-align: center; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,162,200,0.1); border: 2px solid rgba(0,162,200,0.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--miami);
}
.how-step h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 0.05em;
  color: var(--text-primary); margin-bottom: 12px;
}
.how-step p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-two-col {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 80px;
  align-items: start;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  text-align: center;
}
.founder-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,162,200,0.15), rgba(86,152,164,0.15));
  border: 3px solid rgba(0,162,200,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--miami);
  overflow: hidden;
}
.founder-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  display: block;
}
.founder-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 0.06em;
  color: var(--text-primary); margin-bottom: 4px;
}
.founder-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--miami); margin-bottom: 20px;
}
.founder-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; line-height: 1.8;
  color: var(--text-muted); text-align: left;
}

@media (max-width: 1024px) {
  .about-two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   PAGE HERO (About / Unlock)
============================================================ */
.about-hero { min-height: 60vh; padding-top: 72px; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 80px 48px; }
.page-hero-inner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95; letter-spacing: 0.02em;
  color: var(--text-primary); margin-bottom: 24px; max-width: 900px;
}

/* ============================================================
   FOOTER — always dark
============================================================ */
.hc-footer {
  background: #0d1117;
  border-top: 1px solid rgba(148,148,148,0.12);
  padding: 64px 48px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo-mark {
  width: 32px; height: 32px; background: var(--miami);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark span { font-family: 'Bebas Neue', sans-serif; font-size: 14px; color: #fff; }
.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 0.08em; color: #fff;
}
.footer-tagline {
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.38); max-width: 220px; margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.social-pill {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px; border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
}
.social-pill:hover { color: var(--miami); border-color: var(--miami); }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-dot { width: 6px; height: 6px; border-radius: 50%; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px; display: flex;
  align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-credit { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-credit a { color: var(--matt); transition: color 0.2s; }
.footer-credit a:hover { color: var(--miami); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 32px; }
  .hc-section, .wai-section, .hdi-section { padding: 80px 32px; }
  .hub-hero-inner { padding: 60px 32px; }
  .hub-verticals { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .unlock-services { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-steps::before { display: none; }
  .hub-more-grid { grid-template-columns: 1fr 1fr; }
  .hub-stats-dark { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-home .hero-inner { grid-template-columns: 1fr; padding: 60px 32px; }
  .hero-visual { display: none; }
  .page-hero-inner { padding: 60px 32px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; height: 64px; }
  .hc-nav.scrolled .nav-inner { height: 56px; }
  .nav-links { display: none; }
  .nav-theme-toggle { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer { top: 64px; }
  .hub-hero { padding-top: 64px; }
  .hub-hero-inner { padding: 48px 20px; }
  .hub-h1 { font-size: clamp(56px, 14vw, 88px); }
  .hc-section, .wai-section, .hdi-section { padding: 64px 20px; }
  .hub-philosophy, .hub-cta { padding: 64px 20px; }
  .hub-more-grid { grid-template-columns: 1fr; }
  .hub-stats-dark { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hc-footer { padding: 48px 20px 24px; }
  .hero-home .hero-inner { padding: 40px 20px; }
  .hero-content h1 { font-size: clamp(52px, 12vw, 80px); }
  .hero-buttons { flex-direction: column; }
  .hub-cta-btns { flex-direction: column; }
  .hub-stats { gap: 20px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-inner { padding: 40px 20px; }
}