/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --obsidian:     #060912;
  --deep-navy:    #0A0E1A;
  --navy:         #0F1628;
  --navy-mid:     #141E35;
  --navy-light:   #1C2845;
  --gold:         #C9A84C;
  --gold-light:   #E2C16A;
  --gold-dim:     rgba(201,168,76,0.15);
  --gold-glow:    rgba(201,168,76,0.06);
  --gold-solid:   #C9A84C;
  --white:        #F8F6F0;
  --off-white:    #EDE9E0;
  --gray-300:     #D1CEC5;
  --gray-400:     #9A9890;
  --gray-600:     #5A5850;
  --glass-bg:     rgba(255,255,255,0.03);
  --glass-border: rgba(201,168,76,0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:        1200px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --transition:   0.45s var(--ease);
  --shadow-glass: 0 8px 48px rgba(0,0,0,0.35), 0 1px 0 rgba(201,168,76,0.08) inset;
  --shadow-gold:  0 0 60px rgba(201,168,76,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (pointer: fine) {
  body, a, button { cursor: none !important; }
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════ */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 99999;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: normal;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 99998;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
body.cursor-hover #cursor-dot { width: 12px; height: 12px; background: var(--gold-light); }
body.cursor-hover #cursor-ring {
  width: 64px; height: 64px;
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  backdrop-filter: blur(2px);
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  background: rgba(6,9,18,0);
  border-bottom: 1px solid rgba(201,168,76,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(6,9,18,0.88);
  border-bottom-color: rgba(201,168,76,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(248,246,240,0.9); text-decoration: none;
}
.nav-logo em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(248,246,240,0.5);
  text-decoration: none; position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 0.65rem !important; font-weight: 700 !important;
  letter-spacing: 0.18em !important; color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.4) !important;
  padding: 9px 22px; border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--obsidian) !important; border-color: var(--gold) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: rgba(6,9,18,0.97); backdrop-filter: blur(20px);
  padding: 32px 60px; flex-direction: column; gap: 20px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(248,246,240,0.5); text-decoration: none;
  padding: 8px 0; border-bottom: 1px solid rgba(248,246,240,0.05); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  background: var(--obsidian);
  position: relative; overflow: hidden;
}
/* Atmospheric mesh */
#hero::before {
  content: ''; position: absolute;
  top: -30%; left: -10%; width: 70%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute;
  bottom: -20%; right: 30%; width: 50%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(60,80,180,0.06) 0%, transparent 60%);
  pointer-events: none;
}
/* Gold left ticker line */
.hero-ticker {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 25%, var(--gold) 75%, transparent 100%);
  opacity: 0.25; z-index: 2;
}
/* Vertical divider */
.hero-divider-line {
  position: absolute; left: 55%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.2) 20%, rgba(201,168,76,0.2) 80%, transparent 100%);
  z-index: 2;
}

/* Hero Left */
.hero-left {
  padding: 140px 72px 80px 88px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 3;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 40px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-eyebrow-text {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.8vw, 6.4rem);
  font-weight: 700; line-height: 0.97;
  color: var(--white); letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(30px); animation: fadeUp 1s var(--ease) 0.5s forwards;
}
.hero-name-gold { color: var(--gold); }
.hero-role {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248,246,240,0.35); margin-bottom: 40px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}
.hero-role-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-accent-line { width: 60px; height: 2px; background: linear-gradient(to right, var(--gold), var(--gold-light)); margin-bottom: 44px; opacity: 0; animation: fadeUp 0.8s var(--ease) 0.8s forwards; }
.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 400; font-style: italic;
  color: rgba(248,246,240,0.5); line-height: 1.7; max-width: 440px; margin-bottom: 56px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

/* CTA Buttons */
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--obsidian);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 32px; text-decoration: none; border-radius: 2px;
  transition: background var(--transition), transform 0.15s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }
.btn-gold:hover::before { opacity: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: rgba(248,246,240,0.7);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 32px; text-decoration: none; border-radius: 2px;
  border: 1px solid rgba(248,246,240,0.12);
  transition: border-color 0.3s, color 0.3s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(201,168,76,0.4); color: var(--gold); transform: translateY(-2px); }

/* Stats Strip */
.hero-stats {
  display: flex; gap: 0; border-top: 1px solid rgba(248,246,240,0.06); padding-top: 36px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 1.3s forwards;
}
.hero-stat { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.hero-stat + .hero-stat {
  padding-left: 32px; margin-left: 32px;
  border-left: 1px solid rgba(248,246,240,0.06);
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248,246,240,0.3);
}

/* Hero Right */
.hero-right {
  position: relative; height: 100vh; overflow: hidden;
  background: linear-gradient(145deg, #0A0E1A 0%, #0F1628 100%);
}
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; filter: brightness(0.85);
  transition: transform 0.1s ease-out;
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,9,18,0.3) 0%, rgba(201,168,76,0.03) 100%);
}
/* Floating glass cards */
.hero-glass-card {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 18px 24px; border-radius: 4px;
  box-shadow: var(--shadow-glass);
}
.hero-glass-card:nth-child(3) { top: 18%; right: 44px; animation: float1 6s ease-in-out infinite; }
.hero-glass-card:nth-child(4) { bottom: 28%; right: 60px; animation: float2 7.5s ease-in-out infinite; }
.hero-glass-card:nth-child(5) { top: 48%; left: 28px; animation: float1 8s ease-in-out infinite 1.5s; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
.hgc-label { font-size: 0.54rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hgc-value { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: rgba(248,246,240,0.88); white-space: nowrap; }
.hgc-sub { font-size: 0.62rem; color: rgba(248,246,240,0.35); margin-top: 4px; white-space: nowrap; }

/* Bottom badge */
.hero-bottom-badge {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  padding: 36px 40px;
  background: linear-gradient(to top, rgba(6,9,18,0.9) 0%, transparent 100%);
}
.hbb-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(248,246,240,0.35); margin-bottom: 8px; }
.hbb-value {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--white);
  display: flex; align-items: center; gap: 14px;
}
.hbb-value::before { content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5;
  opacity: 0; animation: fadeIn 1s 2s forwards;
}
.scroll-hint-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-hint-text { font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(248,246,240,0.3); }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 0.7; transform: scaleY(1); } }

/* ═══════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════ */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════ */
.section-tag {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.section-tag-line { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-tag-text {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--white);
}
.section-heading.dark { color: var(--navy); }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about {
  padding: 140px 88px;
  max-width: calc(var(--max-w) + 176px);
  margin: 0 auto;
  position: relative;
}
/* Decorative monogram */
#about::before {
  content: 'S';
  position: absolute; top: 60px; right: 60px;
  font-family: var(--font-display); font-size: 28rem; font-weight: 700;
  color: rgba(201,168,76,0.03); line-height: 1; pointer-events: none; user-select: none;
  z-index: 0;
}
.about-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 110px; align-items: start;
  position: relative; z-index: 1;
}
.about-left { position: sticky; top: 104px; }
.about-left .section-heading { margin-top: 14px; margin-bottom: 32px; }
.about-tagline {
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(248,246,240,0.35); line-height: 1.8;
  font-family: var(--font-display); font-style: italic;
}
.about-body { font-size: 1.05rem; color: rgba(248,246,240,0.55); line-height: 1.9; margin-bottom: 52px; }
.about-body p + p { margin-top: 22px; }
.about-body strong { color: var(--white); font-weight: 600; }

/* Credentials */
.credentials {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(201,168,76,0.1); margin-bottom: 40px;
  background: var(--glass-bg);
}
.cred-cell {
  padding: 24px 28px;
  border-right: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: background 0.25s;
}
.cred-cell:hover { background: rgba(201,168,76,0.03); }
.cred-cell:nth-child(2n) { border-right: none; }
.cred-cell:nth-last-child(-n+2) { border-bottom: none; }
.cred-label {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.cred-value { font-size: 0.88rem; font-weight: 500; color: rgba(248,246,240,0.75); line-height: 1.45; }

/* Pillars */
.pillars { display: flex; border: 1px solid rgba(201,168,76,0.1); }
.pillar {
  flex: 1; padding: 22px 20px; border-right: 1px solid rgba(201,168,76,0.08);
  text-align: center; transition: background 0.2s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(201,168,76,0.04); }
.pillar-icon { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--gold); }
.pillar-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,246,240,0.6); line-height: 1.6; }

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
#portfolio {
  background: var(--deep-navy);
  padding: 140px 88px;
  position: relative; overflow: hidden;
}
#portfolio::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 80%; height: 140%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.portfolio-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.portfolio-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 80px;
}
.portfolio-intro { font-size: 0.92rem; color: rgba(248,246,240,0.35); line-height: 1.85; align-self: end; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

/* Glass cards */
.p-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 48px 44px;
  position: relative; overflow: hidden;
  transition: background 0.4s, border-color 0.4s, transform 0.3s var(--ease), box-shadow 0.4s;
  transform-style: preserve-3d;
}
.p-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
}
.p-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(201,168,76,0.25); box-shadow: var(--shadow-glass); }
.p-card:hover::before { transform: scaleX(1); }
/* Shimmer sweep on hover */
.p-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(201,168,76,0.04) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s var(--ease);
}
.p-card:hover::after { transform: translateX(100%); }

.p-card-accent {
  position: absolute; top: 0; left: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.p-card:hover .p-card-accent { transform: scaleY(1); }

.role-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px; margin-bottom: 36px;
}
.badge-founder { background: rgba(201,168,76,0.08); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.badge-investor { background: rgba(100,130,220,0.08); color: #8BAAE8; border: 1px solid rgba(100,130,220,0.2); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; animation: pulseDot 2s ease-in-out infinite; }
.badge-founder .badge-dot { background: var(--gold); }
.badge-investor .badge-dot { background: #8BAAE8; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Brand logo area */
.brand-logo-area {
  height: 68px; display: flex; align-items: center; margin-bottom: 30px;
  background: rgba(255,255,255,0.88); border-radius: 6px; padding: 8px 14px;
}
.brand-logo { max-height: 52px; max-width: 170px; width: auto; object-fit: contain; }

.card-name {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 600;
  color: var(--white); margin-bottom: 4px; letter-spacing: -0.01em;
}
.card-type {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(248,246,240,0.28); margin-bottom: 28px;
}
.card-hr { width: 32px; height: 1px; background: var(--gold); opacity: 0.3; margin-bottom: 28px; }
.card-focus { font-size: 0.88rem; color: rgba(248,246,240,0.5); line-height: 1.8; margin-bottom: 32px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(248,246,240,0.04); }
.card-tag {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; background: rgba(248,246,240,0.04); border: 1px solid rgba(248,246,240,0.07);
  color: rgba(248,246,240,0.35); border-radius: 1px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  transition: gap 0.25s;
}
.card-link:hover { gap: 12px; }
.card-link-icon { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════
   EDUCATION
═══════════════════════════════════════ */
#education {
  padding: 140px 88px;
  max-width: calc(var(--max-w) + 176px); margin: 0 auto;
}
.edu-grid { display: grid; grid-template-columns: 340px 1fr; gap: 110px; align-items: start; }
.edu-left { position: sticky; top: 104px; }
.edu-left .section-heading { margin-top: 14px; margin-bottom: 24px; }
.edu-sub { font-size: 0.88rem; color: rgba(248,246,240,0.35); line-height: 1.7; font-style: italic; font-family: var(--font-display); }

.edu-timeline { display: flex; flex-direction: column; }
.edu-item { display: grid; grid-template-columns: 1px 1fr; gap: 40px; }
.edu-track { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.edu-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--obsidian);
  box-shadow: 0 0 0 2px var(--gold), 0 0 20px rgba(201,168,76,0.4);
  flex-shrink: 0; margin-left: -5px;
}
.edu-line {
  width: 1px; flex: 1; min-height: 60px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
  margin-top: 10px; margin-left: -0.5px; opacity: 0.4;
}
.edu-item:last-child .edu-line { display: none; }
.edu-content { padding-bottom: 60px; }
.edu-item:last-child .edu-content { padding-bottom: 0; }
.edu-year { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.edu-degree {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  color: var(--white); line-height: 1.25; margin-bottom: 10px;
}
.edu-institution {
  font-size: 0.83rem; font-weight: 500; color: rgba(248,246,240,0.35); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.edu-institution::before { content: ''; width: 16px; height: 1px; background: rgba(248,246,240,0.15); flex-shrink: 0; }
.edu-note {
  font-size: 0.85rem; color: rgba(248,246,240,0.5); line-height: 1.75;
  padding: 18px 22px;
  background: rgba(201,168,76,0.04);
  border-left: 2px solid var(--gold);
  font-style: italic;
}

/* Edu highlight */
.edu-highlight {
  margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid rgba(201,168,76,0.1); grid-column: 1 / -1;
}
.edu-hi-item {
  padding: 32px 40px; border-right: 1px solid rgba(201,168,76,0.08);
  display: flex; align-items: flex-start; gap: 18px; transition: background 0.25s;
}
.edu-hi-item:hover { background: rgba(201,168,76,0.03); }
.edu-hi-item:last-child { border-right: none; }
.edu-hi-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0;
}
.edu-hi-title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.edu-hi-text { font-size: 0.88rem; color: rgba(248,246,240,0.5); line-height: 1.55; }

/* ═══════════════════════════════════════
   SKILLS
═══════════════════════════════════════ */
#skills {
  background: var(--navy);
  padding: 120px 88px;
  border-top: 1px solid rgba(201,168,76,0.07);
  border-bottom: 1px solid rgba(201,168,76,0.07);
}
.skills-inner { max-width: var(--max-w); margin: 0 auto; }
.skills-header { text-align: center; max-width: 560px; margin: 0 auto 80px; }
.skills-header .section-heading { margin-top: 14px; }
.skills-header-sub { margin-top: 18px; font-size: 0.92rem; color: rgba(248,246,240,0.35); line-height: 1.8; }

/* Bento grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 2px;
}
.skill-group {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.skill-group::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.skill-group:hover { background: rgba(255,255,255,0.04); border-color: rgba(201,168,76,0.2); box-shadow: var(--shadow-glass); }
.skill-group:hover::before { transform: scaleX(1); }
.skill-group-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.skill-group-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.15); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0;
}
.skill-group-title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(248,246,240,0.75); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(248,246,240,0.5); background: rgba(248,246,240,0.04);
  padding: 8px 16px; border: 1px solid rgba(248,246,240,0.07); border-radius: 1px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.skill-tag:hover { border-color: rgba(201,168,76,0.35); color: var(--gold); background: rgba(201,168,76,0.04); }

/* ═══════════════════════════════════════
   IMPACT
═══════════════════════════════════════ */
#impact { padding: 140px 88px; max-width: calc(var(--max-w) + 176px); margin: 0 auto; }
.impact-header { margin-bottom: 80px; }
.impact-header .section-heading { margin-top: 14px; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.impact-item {
  padding: 48px 52px; border: 1px solid rgba(201,168,76,0.1);
  margin: -1px 0 0 -1px; position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s; cursor: default;
}
.impact-item:hover { background: rgba(201,168,76,0.03); border-color: rgba(201,168,76,0.25); z-index: 1; }
.impact-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transition: height 0.5s var(--ease);
}
.impact-item:hover::before { height: 100%; }
/* Decorative large number */
.impact-item::after {
  content: attr(data-num); position: absolute; bottom: -10px; right: -10px;
  font-family: var(--font-display); font-size: 8rem; font-weight: 700; line-height: 1;
  color: rgba(201,168,76,0.04); pointer-events: none; user-select: none;
}
.impact-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 6px; opacity: 0.5;
}
.impact-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--white); line-height: 1.4; margin-bottom: 14px;
}
.impact-sub { font-size: 0.8rem; color: rgba(248,246,240,0.35); line-height: 1.7; letter-spacing: 0.02em; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact {
  background: var(--obsidian);
  padding: 140px 88px;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.08);
}
#contact::before {
  content: ''; position: absolute; top: -200px; right: -100px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2;
}
.contact-center { text-align: center; margin-bottom: 80px; }
.contact-heading {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em; margin: 20px 0 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-desc { font-size: 1rem; color: rgba(248,246,240,0.4); line-height: 1.85; max-width: 480px; margin: 0 auto; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.contact-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.1);
  padding: 48px 40px; text-align: center; text-decoration: none;
  position: relative; overflow: hidden;
  transition: background 0.35s, border-color 0.35s, transform 0.25s, box-shadow 0.35s;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.contact-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.contact-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(201,168,76,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glass); }
.contact-card:hover::before { opacity: 1; }
.cc-icon-wrap {
  width: 56px; height: 56px; border: 1px solid rgba(201,168,76,0.2); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.contact-card:hover .cc-icon-wrap { background: var(--gold); border-color: var(--gold); color: var(--obsidian); }
.cc-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(248,246,240,0.3); }
.cc-value { font-size: 0.95rem; font-weight: 500; color: rgba(248,246,240,0.75); letter-spacing: 0.02em; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: #030507; padding: 44px 88px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,0.08);
}
.footer-logo { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: rgba(248,246,240,0.3); text-decoration: none; }
.footer-logo em { font-style: normal; color: var(--gold); }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.1em; color: rgba(248,246,240,0.15); line-height: 1.6; }
.developer-link { color: var(--gold); text-decoration: none; font-weight: 700; transition: color 0.2s, opacity 0.2s; }
.developer-link:hover { color: var(--gold-light); opacity: 0.8; }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,246,240,0.2); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-grid, .edu-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-left, .edu-left { position: static; }
  .portfolio-grid, .contact-cards { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .portfolio-header { grid-template-columns: 1fr; gap: 24px; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { height: 60vw; min-height: 380px; }
  .hero-divider-line { display: none; }
  #navbar { padding: 0 32px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #about, #education, #impact, #contact { padding: 88px 44px; }
  #portfolio, #skills { padding: 88px 44px; }
  footer { padding: 36px 44px; }
}
@media (max-width: 768px) {
  .hero-left { padding: 120px 28px 60px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: none; margin-left: 0; }
  .credentials { grid-template-columns: 1fr; }
  .cred-cell { border-right: none !important; }
  .pillars { flex-direction: column; }
  .pillar { border-right: none !important; border-bottom: 1px solid rgba(201,168,76,0.08); }
  .pillar:last-child { border-bottom: none; }
  .edu-highlight { grid-template-columns: 1fr; }
  .edu-hi-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.08); }
  .skills-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 28px 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  #about, #education, #impact, #contact { padding: 72px 24px; }
  #portfolio, #skills { padding: 72px 24px; }
  #navbar { padding: 0 24px; }
  .mobile-menu { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-glass-card { animation: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
