/* ================================================================
   iAmProud Portfolio — style.css
   Dark & Bold | Side Nav Layout | Orange Accent
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --sidebar-w:    280px;
  --bg:           #111111;
  --bg-2:         #181818;
  --bg-card:      #1e1e1e;
  --sidebar-bg:   #0a0a0a;
  --text:         #f0f0f0;
  --text-muted:   #888888;
  --accent:       #f89009;
  --accent-alt:   #fe6d72;
  --gradient:     linear-gradient(135deg, #fe6d72, #f89009);
  --border:       rgba(255, 255, 255, 0.06);
  --radius:       10px;
  --ease:         0.3s ease;
  --font:         'Inter', system-ui, sans-serif;
  --pad:          80px 64px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Utility ────────────────────────────────────────────────────── */
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 56px; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  z-index: 100;
  overflow-y: auto;
  transition: transform var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 32px;
  min-height: 100%;
}

/* Profile */
.sidebar-profile {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid transparent;
  background: linear-gradient(var(--sidebar-bg), var(--sidebar-bg)) padding-box,
              var(--gradient) border-box;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.profile-role {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 5px;
  font-weight: 500;
}

/* Nav */
.sidebar-nav {
  width: 100%;
  padding: 28px 0;
  flex: 1;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--ease);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(248, 144, 9, 0.08);
}

.nav-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  min-width: 18px;
  font-variant-numeric: tabular-nums;
}

.nav-link.active .nav-num { opacity: 1; }

.nav-label { letter-spacing: 0.2px; }

/* Social */
.sidebar-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.sidebar-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--ease);
}

.sidebar-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(248, 144, 9, 0.1);
}

/* CV button */
.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--ease);
}

.cv-btn:hover {
  background: var(--accent);
  color: #000;
}

/* Copyright */
/* Available badge */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  color: #4ade80;
  font-weight: 500;
}

.available-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.sidebar-copyright {
  margin-top: auto;
  padding-top: 20px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.18);
  text-align: center;
  line-height: 1.5;
}

/* ── Mobile Toggle ──────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 90;
  backdrop-filter: blur(3px);
}

.sidebar-overlay.active { display: block; }

/* ================================================================
   MAIN CONTENT — multi-page switching
   ================================================================ */
.content {
  margin-left: var(--sidebar-w);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

/* ── Sections — hidden by default, shown via JS animation ────────── */
.section {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.section.active {
  opacity: 1;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.section.leaving {
  pointer-events: none;
  visibility: visible;
  transition: none;
}

/* Section canvas backgrounds — behind all content */
#aboutCanvas, #resumeCanvas, #portfolioCanvas, #venturesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* All direct section content above canvas */
.section > .section-header,
.section > .section-content {
  position: relative;
  z-index: 1;
}

/* Zoom transition keyframes */
@keyframes sectionZoomOut {
  from { opacity: 1; transform: scale(1);    filter: blur(0px); }
  to   { opacity: 0; transform: scale(0.88); filter: blur(5px); }
}

@keyframes sectionZoomIn {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1);    }
}

.section-header { margin-bottom: 52px; }

.section-title {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin-top: 18px;
}

.subsection-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.subsection-title span { color: var(--accent); }
.subsection { margin-top: 64px; }

/* ================================================================
   HOME — matrix background
   ================================================================ */
.section-home {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 64px;
}

/* Weather canvas */
#weatherCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Watermark */
.home-watermark {
  position: absolute;
  bottom: -60px;
  right: -20px;
  font-size: clamp(180px, 22vw, 280px);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  letter-spacing: -8px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

/* Text sits above canvas */
.home-text {
  position: relative;
  z-index: 1;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-greeting {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 14px;
}

.home-name {
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 22px;
}

/* Role rotation */
.home-tagline {
  position: relative;
  height: 32px;
  overflow: hidden;
  margin-bottom: 22px;
}

.role-item {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.role-item.active { opacity: 1; transform: translateY(0); }

.home-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 440px;
}

/* CTA Buttons */
.home-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  transition: all var(--ease);
  font-family: var(--font);
  cursor: pointer;
}

.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(248,144,9,0.28); }
.btn-outline  { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 22px; font-size: 12px; }

/* Quick stats row */
.home-quick-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.qs-item { display: flex; flex-direction: column; gap: 2px; }

.qs-num {
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.qs-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.qs-divider { width: 1px; height: 32px; background: var(--border); }

/* Contact canvas — constellation network */
#contactCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Contact canvas shares same general rule as other section canvases */

/* ================================================================
   ABOUT
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  align-items: start;
}

.about-bio p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.about-bio p:last-child { margin-bottom: 0; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }

.info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
}

.info-value { font-size: 13px; color: var(--text); }
.info-value.accent { color: var(--accent); font-weight: 600; }
.info-value a { transition: color var(--ease); }
.info-value a:hover { color: var(--accent); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--ease);
}

.service-card:hover {
  border-color: rgba(248, 144, 9, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(248, 144, 9, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Trusted By Marquee */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0.55);
  transition: filter var(--ease);
}

.marquee-logo:hover { filter: grayscale(0) brightness(1); }
.marquee-logo img { height: 32px; width: auto; object-fit: contain; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}

.stat-num {
  display: block;
  font-size: 38px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(248, 144, 9, 0.35);
  background: linear-gradient(160deg,
    rgba(254, 109, 114, 0.04) 0%,
    rgba(248, 144, 9, 0.04) 100%
  );
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-features li i { color: var(--accent); font-size: 11px; }

/* ================================================================
   RESUME
   ================================================================ */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 22px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -22px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: background var(--ease);
}

.timeline-item:hover .timeline-dot { background: var(--accent); }

.timeline-period {
  display: block;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.timeline-company {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}

/* Skills */
.skills { display: flex; flex-direction: column; gap: 18px; }

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name { font-size: 13px; color: var(--text); font-weight: 500; }
.skill-pct  { font-size: 12px; color: var(--accent); font-weight: 600; }

.skill-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  width: 0;
  transition: width 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Knowledge tags */
.knowledge-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.knowledge-tags span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-muted);
  transition: all var(--ease);
}

.knowledge-tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  transition: all var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portfolio-item { border-radius: var(--radius); overflow: hidden; }

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--ease);
}

.portfolio-thumb:hover img           { transform: scale(1.07); }
.portfolio-thumb:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay .lightbox-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  transition: all var(--ease);
}

.portfolio-overlay .lightbox-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.portfolio-overlay h4   { font-size: 15px; font-weight: 700; color: #fff; }
.portfolio-overlay span { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-intro {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

/* Channel cards grid */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--ease);
}

.channel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.channel-card:hover::before { opacity: 1; }

/* Per-brand accent colours */
.channel-whatsapp  { border-color: rgba(37, 211, 102, 0.2); }
.channel-whatsapp:hover  { border-color: rgba(37, 211, 102, 0.5); }
.channel-whatsapp .channel-icon  { background: rgba(37, 211, 102, 0.12); color: #25d366; }

.channel-email     { border-color: rgba(248, 144, 9, 0.2); }
.channel-email:hover     { border-color: rgba(248, 144, 9, 0.5); }
.channel-email .channel-icon     { background: rgba(248, 144, 9, 0.12); color: var(--accent); }

.channel-linkedin  { border-color: rgba(10, 102, 194, 0.2); }
.channel-linkedin:hover  { border-color: rgba(10, 102, 194, 0.5); }
.channel-linkedin .channel-icon  { background: rgba(10, 102, 194, 0.12); color: #0a66c2; }

.channel-instagram { border-color: rgba(228, 64, 95, 0.2); }
.channel-instagram:hover { border-color: rgba(228, 64, 95, 0.5); }
.channel-instagram .channel-icon { background: rgba(228, 64, 95, 0.12); color: #e4405f; }

.channel-facebook  { border-color: rgba(24, 119, 242, 0.2); }
.channel-facebook:hover  { border-color: rgba(24, 119, 242, 0.5); }
.channel-facebook .channel-icon  { background: rgba(24, 119, 242, 0.12); color: #1877f2; }

.channel-x         { border-color: rgba(255, 255, 255, 0.1); }
.channel-x:hover         { border-color: rgba(255, 255, 255, 0.25); }
.channel-x .channel-icon         { background: rgba(255, 255, 255, 0.06); color: #fff; }

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.channel-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.channel-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.channel-handle {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-cta {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--ease);
  display: flex;
  align-items: center;
  gap: 5px;
}

.channel-card:hover .channel-cta {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1100px) {
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ================================================================
   VENTURES
   ================================================================ */
.ventures-intro {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 540px;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.venture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--ease);
}

.venture-card:hover {
  border-color: rgba(248, 144, 9, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.venture-card--featured {
  border-color: rgba(248, 144, 9, 0.2);
  background: linear-gradient(160deg,
    rgba(254, 109, 114, 0.04) 0%,
    rgba(248, 144, 9, 0.04) 100%
  );
  position: relative;
  overflow: hidden;
}

.venture-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}

.venture-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.venture-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.venture-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.venture-logo--text {
  background: var(--gradient);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  padding: 0;
}

.venture-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.venture-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.venture-type {
  font-size: 12px;
  color: var(--text-muted);
}

.venture-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.venture-name small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 3px;
}

.venture-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.venture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.venture-tags span {
  background: rgba(248, 144, 9, 0.08);
  border: 1px solid rgba(248, 144, 9, 0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  transition: gap var(--ease);
}

.venture-link:hover { gap: 12px; }

.venture-link i { font-size: 11px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  :root { --pad: 64px 48px; }
  .about-grid         { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .resume-grid        { grid-template-columns: 1fr; gap: 40px; }
  .ventures-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-grid      { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --pad: 52px 24px; }

  .sidebar {
    transform: translateX(calc(-1 * var(--sidebar-w)));
    width: 280px;
    height: 100vh;
    height: 100dvh;
  }
  .sidebar.open  { transform: translateX(0); }
  .menu-toggle   { display: flex; }
  .content       { margin-left: 0; height: 100vh; height: 100dvh; }

  .section-title  { font-size: 34px; }
  .home-watermark { font-size: 120px; }
  .section-home   { padding: 72px 24px 40px; align-items: center; overflow-y: auto; }
  #weatherCanvas  { opacity: 0.7; }

  .stats-grid     { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .ventures-grid  { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }

  /* Touch targets */
  .nav-link       { padding: 13px 14px; }
  .btn            { touch-action: manipulation; }
}

@media (max-width: 480px) {
  :root { --pad: 40px 20px; }
  .home-name        { font-size: 42px; }
  .section-title    { font-size: 28px; letter-spacing: -0.5px; }
  .home-cta         { flex-direction: column; }
  .home-cta .btn    { width: 100%; justify-content: center; }
  .home-quick-stats { gap: 14px; }
  .qs-num           { font-size: 22px; }
  .stats-grid       { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: 1fr; }
  .resume-grid      { grid-template-columns: 1fr; gap: 32px; }
  .services-grid    { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .about-grid       { grid-template-columns: 1fr; }
  .ventures-grid    { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
}

/* ================================================================
   PRELOADER
   ================================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pre-logo {
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -3px;
  background: linear-gradient(90deg, #fff 0%, #fff 20%, #f89009 45%, #fe6d72 65%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: preShimmer 1.6s ease forwards;
}

@keyframes preShimmer {
  from { background-position: 120% center; }
  to   { background-position: -40% center; }
}

.pre-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.pre-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: preProgress 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preProgress {
  from { width: 0; }
  to   { width: 100%; }
}

.pre-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  animation: preFadeIn 0.6s 0.8s ease both;
}

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

/* ================================================================
   CUSTOM CURSOR  (desktop only)
   ================================================================ */
@media (hover: hover) and (pointer: fine) {
  body, a, button, [role="button"], input, label, select, textarea {
    cursor: none !important;
  }
}

#cursorDot,
#cursorRing {
  display: none;
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

@media (hover: hover) and (pointer: fine) {
  #cursorDot {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  }

  #cursorRing {
    display: block;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(248,144,9,0.55);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  }

  body.cursor-hover #cursorDot {
    width: 8px;
    height: 8px;
    background: #fff;
  }

  body.cursor-hover #cursorRing {
    width: 48px;
    height: 48px;
    border-color: rgba(248,144,9,0.3);
  }

  body.cursor-click #cursorRing {
    width: 22px;
    height: 22px;
    border-color: rgba(248,144,9,0.9);
  }
}

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--bg-card);
  border: 1px solid rgba(248,144,9,0.3);
  color: var(--text);
  padding: 11px 22px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}

#toast i { color: var(--accent); }

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ================================================================
   COPY BUTTON (contact cards)
   ================================================================ */
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--ease);
  font-family: var(--font);
}

.channel-card:hover .copy-btn { opacity: 1; }
.copy-btn:hover { background: rgba(248,144,9,0.12); border-color: var(--accent); color: var(--accent); }

/* ================================================================
   STAGGERED SECTION ANIMATIONS
   ================================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeSlideUp 0.52s ease both;
}

/* ================================================================
   KEYBOARD NAV HINT (bottom of sidebar)
   ================================================================ */
.key-hint {
  margin-top: 12px;
  font-size: 10px;
  color: rgba(255,255,255,0.14);
  text-align: center;
  letter-spacing: 0.3px;
}

/* ================================================================
   MOBILE PREV / NEXT NAV ARROWS
   ================================================================ */
.mobile-nav-arrows {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-arrows {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    z-index: 85;
    min-width: 190px;
    gap: 0;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(248, 144, 9, 0.08);
  }

  .mobile-nav-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--accent);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease), opacity var(--ease);
    touch-action: manipulation;
  }

  .mobile-nav-btn:not(:disabled):active {
    background: rgba(248, 144, 9, 0.18);
  }

  .mobile-nav-btn:disabled {
    opacity: 0.25;
    pointer-events: none;
  }

  .mobile-nav-label {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
  }

  /* Add bottom padding to sections so content doesn't hide behind arrow bar */
  .section { padding-bottom: 80px; }
}
