/* ==========================================================================
   Raheem Bakhsh — FinTech & Data Analytics Portfolio
   ========================================================================== */

:root{
  --bg: #070b14;
  --bg-alt: #0c1322;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.18);
  --text: #f3f4fa;
  --text-dim: #9aa1ba;
  --text-dimmer: #5d637c;
  --accent: #e8b64b;
  --accent-2: #21d4b4;
  --accent-3: #5b7fff;
  --accent-grad: linear-gradient(135deg, #e8b64b 0%, #21d4b4 100%);
  --radius: 20px;
  --ff-display: 'General Sans', 'Space Grotesk', sans-serif;
  --ff-body: 'General Sans', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}

:root[data-theme="light"]{
  --bg: #f7f6f1;
  --bg-alt: #efece2;
  --surface: rgba(10,12,8,0.035);
  --surface-strong: rgba(10,12,8,0.06);
  --border: rgba(10,12,8,0.1);
  --border-strong: rgba(10,12,8,0.18);
  --text: #101425;
  --text-dim: #4a4f63;
  --text-dimmer: #868c9c;
  --accent: #a8790a;
  --accent-2: #00897b;
  --accent-3: #3454c9;
  --accent-grad: linear-gradient(135deg, #a8790a 0%, #00897b 100%);
  color-scheme: light;
}

:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .skill-icon,
:root[data-theme="light"] .back-to-top:hover,
:root[data-theme="light"] .contact-socials a:hover,
:root[data-theme="light"] .filter-btn.active,
:root[data-theme="light"] .cursor-ring.hovered #cursorLabel,
:root[data-theme="light"] .cursor-ring.hovered{ color:#fff; }
:root[data-theme="light"] .noise-overlay{ opacity:.02; }
:root[data-theme="light"] .icon-sun{ display:none; }
:root[data-theme="light"] .icon-moon{ display:inline-block; }
.icon-moon{ display:none; }

*,*::before,*::after{ box-sizing: border-box; }
html{ background: var(--bg); scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; background:none; border:none; color:inherit; }
a:focus, button:focus{ outline:none; }
a:focus-visible, button:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

.container{ width:100%; max-width: 1280px; margin:0 auto; padding: 0 32px; }
::selection{ background: var(--accent); color:#070b14; }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--border-strong); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--accent); }

.noise-overlay{
  position: fixed; inset:0; z-index:3; pointer-events:none; opacity:.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Custom cursor ---------------- */
.cursor-dot, .cursor-ring{ position: fixed; top:0; left:0; pointer-events:none; z-index: 9999; border-radius:50%; transform: translate(-50%,-50%); }
.cursor-dot{ width:6px; height:6px; background: var(--accent); }
.cursor-ring{
  width:38px; height:38px; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.cursor-ring #cursorLabel{ font-family: var(--ff-mono); font-size:.62rem; text-transform:uppercase; letter-spacing:1px; color:#070b14; opacity:0; transition: opacity .2s ease; white-space:nowrap; }
.cursor-ring.hovered{ width:54px; height:54px; background: transparent; border-color: var(--accent); }
.cursor-ring.hovered #cursorLabel{ opacity:1; }
.cursor-ring.hovered ~ .cursor-dot, .cursor-dot.hidden{ opacity:0; }
@media (hover:none), (pointer:coarse){ .cursor-dot,.cursor-ring{ display:none; } }

/* ---------------- Preloader ---------------- */
.preloader{
  position: fixed; inset:0; z-index: 10000; background: var(--bg);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
.preloader-reveal{ overflow:hidden; }
.pr-text{
  display:block; font-family: var(--ff-display); font-weight:700; text-transform:uppercase;
  letter-spacing:-2px; font-size: clamp(1.6rem, 6vw, 4.6rem); line-height:1; color: var(--text);
  clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0);
}
.preloader-bottom{
  position:absolute; left:0; right:0; bottom: clamp(24px,5vw,50px); z-index:2;
  display:flex; align-items:flex-end; justify-content:space-between; padding: 0 clamp(20px,5vw,50px);
}
.preloader-label{ font-family: var(--ff-mono); font-size:.72rem; letter-spacing:2px; text-transform:uppercase; color: var(--text-dimmer); }
.preloader-count{ font-family: var(--ff-display); font-weight:700; font-size: clamp(1.1rem,2vw,1.5rem); color: var(--text); line-height:1; }
.preloader-count em{ font-style:normal; color: var(--accent); font-size:.75em; margin-left:2px; }
.preloader.exit{ transform: translateY(-100%); }
.preloader.done{ visibility:hidden; transition: visibility 0s 1s; }

.progress-indicator{ position: fixed; top:0; left:0; height:3px; width:0%; background: var(--accent); z-index: 999; }

/* ---------------- Header ---------------- */
.site-header{ position: fixed; top:0; left:0; right:0; z-index: 700; padding: 26px 0; }
.site-header::before{
  content:''; position:absolute; inset: -26px 0 auto 0; height: 140px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25) 60%, transparent);
  pointer-events:none;
}
.site-header .nav{ position:relative; }
.nav{ display:flex; align-items:center; justify-content:space-between; }
.logo{ font-family: var(--ff-display); font-weight:600; font-size:1.05rem; letter-spacing:-0.3px; color:#fff; }
.logo .dot{ color: var(--accent); }
.nav-right{ display:flex; align-items:center; gap:22px; }

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav-link{
  position:relative; font-family: var(--ff-mono); font-size:.78rem; letter-spacing:1px; text-transform:uppercase;
  font-weight:500; color: rgba(255,255,255,0.65); padding: 6px 0; transition: color .3s ease;
}
.main-nav-link::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background:#e8b64b;
  transition: right .35s var(--ease);
}
.main-nav-link:hover{ color:#fff; }
.main-nav-link:hover::after{ right:0; }
.main-nav-link.is-current{ color:#e8b64b; }
.main-nav-link.is-current::after{ right:0; }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding: 13px 24px; border-radius: 100px;
  font-size:.86rem; font-weight:600; border:1px solid transparent; transition: transform .3s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn i{ font-size:.75rem; }
.btn-primary{ background: var(--accent); color:#070b14; }
.btn-primary:hover{ background: var(--accent); filter: brightness(1.12); }
.btn-outline{ border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover{ background: var(--surface); border-color: var(--accent); }
.btn-ghost{ color:#fff; border-color: rgba(255,255,255,0.25); padding: 10px 18px; font-size:.8rem; }
.btn-ghost:hover{ border-color:#fff; }
.btn-lg{ padding: 16px 30px; font-size:1rem; }

.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.25); display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:.9rem; transition: border-color .25s ease;
  flex-shrink:0;
}
.theme-toggle:hover{ border-color:#fff; }

.menu-toggle{ display:none; align-items:center; gap:12px; color:#fff; font-size:.85rem; font-weight:600; }
.menu-toggle-icon{ display:flex; flex-direction:column; gap:5px; width:26px; }
.menu-toggle-icon i{ display:block; height:1.5px; background:#fff; border-radius:2px; transition: transform .35s var(--ease), opacity .3s ease; }
.menu-toggle-icon i:nth-child(2){ width:70%; }
.nav-overlay.open ~ .site-header .menu-toggle-icon i:nth-child(1){ transform: translateY(3.25px) rotate(45deg); }
.nav-overlay.open ~ .site-header .menu-toggle-icon i:nth-child(2){ transform: translateY(-3.25px) rotate(-45deg); width:100%; }
.nav-overlay.open ~ .site-header .menu-toggle-text::after{ content:'Close'; }
.nav-overlay.open ~ .site-header .menu-toggle-text{ font-size:0; }
.nav-overlay.open ~ .site-header .menu-toggle-text::after{ font-size:.85rem; }

/* ---------------- Fullscreen nav overlay ---------------- */
.nav-overlay{
  position: fixed; inset:0; z-index: 600; visibility:hidden; pointer-events:none;
}
.nav-overlay-bg{
  position:absolute; inset:0; background: #0c1322; clip-path: circle(0% at calc(100% - 50px) 50px);
  transition: clip-path .8s var(--ease);
}
.nav-overlay.open{ visibility:visible; pointer-events:auto; }
.nav-overlay.open .nav-overlay-bg{ clip-path: circle(150% at calc(100% - 50px) 50px); }
.nav-overlay-inner{
  position:relative; min-height:100%; max-height:100vh; overflow-y:auto;
  display:flex; flex-direction:column; justify-content:center; gap: 24px;
  padding-top: 110px; padding-bottom:50px;
}
.nav-overlay-links{ display:flex; flex-direction:column; gap:2px; }
.nav-overlay-links li{ display:flex; align-items:baseline; gap:24px; overflow:hidden; }
.ov-index{ font-family: var(--ff-mono); font-size:.8rem; color: var(--text-dimmer); }
.ov-link{
  font-family: var(--ff-display); font-weight:600; font-size: clamp(2rem, 5.5vw, 3.6rem); letter-spacing:-1.5px; color: var(--text-dimmer);
  transition: color .35s ease; transform: translateY(110%); display:inline-block; line-height:1.3;
}
.ov-link.is-current{ color: var(--accent); }
.nav-overlay.open .ov-link{ transform: translateY(0); transition: transform .7s var(--ease); }
.nav-overlay-links li:nth-child(1) .ov-link{ transition-delay: .05s; }
.nav-overlay-links li:nth-child(2) .ov-link{ transition-delay: .1s; }
.nav-overlay-links li:nth-child(3) .ov-link{ transition-delay: .15s; }
.nav-overlay-links li:nth-child(4) .ov-link{ transition-delay: .2s; }
.nav-overlay-links li:nth-child(5) .ov-link{ transition-delay: .25s; }
.nav-overlay-links li:nth-child(6) .ov-link{ transition-delay: .3s; }
.nav-overlay-links li:nth-child(7) .ov-link{ transition-delay: .35s; }
.ov-link:hover{ color: var(--accent); }
.nav-overlay-footer{ display:flex; gap:60px; margin-top: 60px; flex-wrap:wrap; opacity:0; transition: opacity .6s ease .4s; }
.nav-overlay.open .nav-overlay-footer{ opacity:1; }
.nov-col{ display:flex; flex-direction:column; gap:8px; }
.nov-label{ font-family: var(--ff-mono); font-size:.7rem; text-transform:uppercase; letter-spacing:2px; color: var(--text-dimmer); margin-bottom:4px; }
.nov-col a, .nov-col span{ color: var(--text-dim); font-size:.95rem; transition: color .25s ease; }
.nov-col a:hover{ color: var(--accent); }

/* ---------------- Hero ---------------- */
.hero{ position: relative; height: 100svh; min-height: 680px; overflow:hidden; background: #6e6e6e; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-size:.8rem; font-weight:500; color: var(--text-dim);
  border:1px solid var(--border); padding:8px 16px; border-radius:100px;
}
.pulse-dot{ width:7px; height:7px; border-radius:50%; background: var(--accent); box-shadow:0 0 0 0 rgba(232,182,75,.7); animation: pulse 2s infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(232,182,75,.5);} 70%{ box-shadow:0 0 0 10px rgba(232,182,75,0);} 100%{ box-shadow:0 0 0 0 rgba(232,182,75,0);} }

/* ---- full-bleed photo banner ---- */
.hero-backdrop{ position:absolute; inset:-10px; z-index:0; will-change: transform; }
.hero-photo-img{
  width:100%; height:100%; object-fit:cover; object-position:50% 20%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns{ from{ transform: scale(1); } to{ transform: scale(1.07); } }
.hero-photo-vignette{
  position:absolute; inset:0;
  background: radial-gradient(ellipse 80% 70% at 50% 35%, transparent 45%, rgba(0,0,0,0.35) 100%);
}
.hero-photo-fade{
  position:absolute; left:0; right:0; bottom:0; height:38%;
  background: linear-gradient(180deg, transparent, var(--bg) 96%);
}

/* ---- floating side chips (glass) ---- */
.hero-badge-float, .hero-exp-float{
  position:absolute; z-index:3; display:flex; align-items:center; gap:14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,0.14); border-radius:100px; padding: 10px 22px 10px 10px;
  box-shadow: 0 20px 45px -18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: chipFloat 5s ease-in-out infinite;
  animation-play-state: paused;
}
.hero-badge-float.floating, .hero-exp-float.floating{ animation-play-state: running; }
.hero-badge-float{ left: 4%; top: 30%; }
.hero-exp-float{ left: 4%; top: 55%; padding: 8px 24px 8px 8px; animation-delay: -2.3s; }
@keyframes chipFloat{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

.hero-badge-icon{
  width:38px; height:38px; border-radius:50%; flex-shrink:0; position:relative;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.28), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.3); box-shadow: 0 0 16px rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center; color:#e8b64b; font-size:.95rem;
}
.hero-badge-text, .hero-exp-label{ display:flex; flex-direction:column; gap:2px; font-size:.88rem; font-weight:600; color:#fff; line-height:1.3; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-badge-text small, .hero-exp-label small{
  font-family: var(--ff-mono); font-size:.62rem; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; color:#e8b64b;
}

.hero-exp-num{
  width:42px; height:42px; border-radius:50%; flex-shrink:0; color:#21d4b4;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.3); box-shadow: 0 0 16px rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center; font-family: var(--ff-display); font-weight:700; font-size:.85rem;
}

.hero-role-float{ position:absolute; right: 5%; top: 38%; z-index:3; text-align:right; max-width:280px; }
.hero-role-arrow{ display:block; font-size:1.6rem; color:#e8b64b; margin-bottom:10px; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-role-float p{ font-family: var(--ff-mono); font-size:1.02rem; color:#fff; margin:0; line-height:1.5; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-role-float #scrambleRole{ color:#e8b64b; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

.hero-kicker{
  position:absolute; left:0; right:0; bottom: 16vw; z-index:3; margin:0; text-align:center;
  font-family: var(--ff-mono); font-size:.78rem; letter-spacing:1.5px; text-transform:uppercase; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-kicker .hk-dot{ color:#e8b64b; margin: 0 10px; font-size:.65rem; }

/* ---- giant kinetic name ---- */
.hero-kinetic-full{
  position:absolute; left:0; right:0; bottom: 4vw; z-index:2; margin:0; text-align:center;
  font-family: var(--ff-display); font-weight:700; letter-spacing:-4px; line-height:1; white-space:nowrap; pointer-events:none;
}
.hero-kinetic-full .hk-line{ display:inline-block; font-size: clamp(2.6rem, 9.5vw, 8rem); overflow:hidden; vertical-align:bottom; }
.hero-kinetic-full .hk-line span{ display:inline-block; will-change: transform; }
.hero-kinetic-full .hk-outline{ -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.hk-dash{ display:inline-block; font-size: clamp(2.6rem, 9.5vw, 8rem); color: var(--accent); margin: 0 .15em; vertical-align:bottom; }

/* ---- intro strip (below hero) ---- */
.hero-intro{ padding: 60px 0; border-bottom:1px solid var(--border); }
.hero-intro-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.hero-desc{ max-width: 500px; color: var(--text-dim); font-size:1rem; margin:0; flex:1; min-width:260px; }
.hero-desc strong{ color: var(--text); font-weight:600; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-marquee{ position:relative; border-bottom:1px solid var(--border); padding: 20px 0; overflow:hidden; }
.hero-marquee-track{ display:flex; align-items:center; width:max-content; will-change: transform; }
.hero-marquee-track.animate{ animation: marquee linear infinite; animation-duration: var(--marquee-duration, 30s); }
.hm-set{ display:flex; align-items:center; gap:28px; padding-right:28px; flex-shrink:0; }
.hero-marquee-track span{ font-family: var(--ff-display); font-size:1.1rem; font-weight:500; color: var(--text-dimmer); white-space:nowrap; }
.hm-star{ color: var(--accent); font-size:.9rem; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(var(--marquee-distance, -50%));} }

.scroll-cue{
  position:absolute; top: 120px; right:5%; z-index:3;
  display:flex; align-items:center; gap:10px; color: rgba(255,255,255,0.75); font-size:.7rem; letter-spacing:2px; text-transform:uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.scroll-line{ width:1px; height:34px; background: rgba(255,255,255,0.3); position:relative; overflow:hidden; }
.scroll-line i{ position:absolute; top:-40px; left:0; width:100%; height:40%; background:#e8b64b; animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown{ 0%{ top:-40%; } 100%{ top:100%; } }

/* ---------------- Stats ---------------- */
.stats-section{ padding: 130px 0; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: var(--border); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.stat-card{ text-align:center; padding: 40px 16px; background: var(--bg); transition: background .3s ease; }
.stat-card:hover{ background: var(--surface); }
.stat-num{ font-family: var(--ff-display); font-size: clamp(2.2rem,4vw,3rem); font-weight:700; color: var(--accent); }
.stat-plus{ font-family: var(--ff-display); font-size: clamp(1.4rem,2.4vw,1.8rem); font-weight:700; color: var(--accent); vertical-align: top; }
.stat-card p{ margin:8px 0 0; color: var(--text-dim); font-size:.85rem; }

/* ---------------- Section generic ---------------- */
section{ padding: 130px 0; position:relative; }
.section-tag{
  font-family: var(--ff-mono); font-size:.8rem; color: var(--accent); letter-spacing:2px; text-transform:uppercase; margin-bottom:20px;
  display:flex; align-items:center; gap:10px;
}
.section-tag span{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; border:1px solid var(--border-strong); font-size:.7rem; color: var(--text-dim); }
.section-tag.center{ justify-content:center; }
.section-title{ font-family: var(--ff-display); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight:600; line-height:1.08; letter-spacing:-1.5px; margin: 0 0 20px; }
.section-title.center{ text-align:center; max-width: 780px; margin-left:auto; margin-right:auto; }
.section-sub{ color: var(--text-dim); max-width: 560px; margin: 0 0 50px; }
.section-sub.center{ margin: 20px auto 44px; text-align:center; }

.split-title .word{ display:inline-block; white-space:nowrap; }
.split-title .char{ display:inline-block; will-change: transform, opacity; }

/* ---------------- Quick about (home) ---------------- */
.quick-about-section{ padding: 90px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: var(--bg-alt); }
.quick-about-grid{ max-width: 820px; }
.quick-about-grid .section-title{ margin-bottom: 30px; }

.section-head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom: 10px; flex-wrap:wrap; }
.section-head-row .section-title{ margin-bottom:0; }

/* ---------------- About ---------------- */
.about-section{ background: var(--bg-alt); }
.about-grid{ display:grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items:center; }
.about-visual{ width:100%; }
.about-photo-frame{ position:relative; width:100%; max-width:360px; margin:0 auto; }
.about-photo-glow{ position:absolute; inset:-30px; background: var(--accent-grad); filter: blur(70px); opacity:.28; border-radius:40px; }
.about-photo{
  position:relative; width:100%; aspect-ratio: 4/5; border-radius: 20px; border:1px solid var(--border-strong);
  background: linear-gradient(160deg, #131a2b, #0a0e18); display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.about-photo-img{ width:100%; height:100%; object-fit:cover; object-position:50% 20%; }
.about-photo-ring{ position:absolute; inset:18px; border:1px solid var(--border-strong); border-radius:14px; pointer-events:none; }
.about-badge{
  position:absolute; bottom:-22px; right:-24px; background: rgba(12,19,34,0.95); border:1px solid var(--border-strong); border-radius:16px;
  padding:14px 16px; display:flex; align-items:center; gap:12px; max-width:230px;
}
.about-badge i{ font-size:1.5rem; color: var(--accent); }
.about-badge span{ font-size:.75rem; color: var(--text-dim); line-height:1.3; }

.about-text{ color: var(--text-dim); margin-bottom: 34px; font-size:1.02rem; }
.about-text strong{ color: var(--text); }
.about-highlights{ display:grid; grid-template-columns: 1fr 1fr; gap:22px; margin-bottom: 36px; }
.highlight-item{ display:flex; gap:14px; align-items:flex-start; }
.highlight-item i{ font-size:1.3rem; color: var(--accent); margin-top:3px; }
.highlight-item h4{ margin:0 0 4px; font-size:.98rem; font-family: var(--ff-display); font-weight:600; }
.highlight-item p{ margin:0; font-size:.85rem; color: var(--text-dimmer); }
.about-cta{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------------- Skills ---------------- */
.skills-section{ background: var(--bg); }
.skills-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skill-card{ padding: 30px 26px; border-radius: var(--radius); border:1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s; }
.skill-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
.skill-card.highlight-card{ border-color: rgba(232,182,75,0.4); background: linear-gradient(160deg, rgba(232,182,75,0.08), transparent); }
.skill-head{ display:flex; align-items:center; gap:14px; margin-bottom: 20px; }
.skill-icon{
  width:44px; height:44px; border-radius:14px; background: var(--accent); display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:#070b14; flex-shrink:0;
}
.skill-head h3{ font-family: var(--ff-display); font-weight:600; font-size:1.05rem; margin:0; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; }
.tag-list span{ font-size:.78rem; padding: 6px 13px; border-radius:100px; background: var(--surface-strong); border:1px solid var(--border); color: var(--text-dim); }

/* ---------------- Timeline ---------------- */
.timeline-section{ background: var(--bg-alt); }
.timeline{ position:relative; max-width: 820px; margin: 0 auto; }
.timeline-line{ position:absolute; left:20px; top:0; bottom:0; width:2px; background: var(--border); overflow:hidden; }
.timeline-line-fill{ position:absolute; inset:0; background: var(--accent); transform: scaleY(0); transform-origin:top; display:block; }
.timeline-item{ position:relative; padding-left: 60px; margin-bottom: 34px; }
.timeline-dot{
  position:absolute; left: 12px; top: 6px; width:18px; height:18px; border-radius:50%; background: var(--bg-alt);
  border:2px solid var(--accent); box-shadow: 0 0 0 5px rgba(232,182,75,0.12);
}
.timeline-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; transition: border-color .3s, transform .3s; }
.timeline-card:hover{ border-color: var(--border-strong); transform: translateX(4px); }
.timeline-date{ font-family: var(--ff-mono); font-size:.78rem; color: var(--accent); }
.timeline-card h3{ font-family: var(--ff-display); font-weight:600; margin: 8px 0 2px; font-size:1.2rem; }
.timeline-company{ color: var(--text-dimmer); font-size:.88rem; margin: 0 0 14px; }
.timeline-card ul{ display:flex; flex-direction:column; gap:8px; }
.timeline-card li{ position:relative; padding-left:18px; color: var(--text-dim); font-size:.92rem; }
.timeline-card li::before{ content:''; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background: var(--accent-2); }

/* ---------------- Work ---------------- */
.work-section{ background: var(--bg); }
.work-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.work-card{
  display:block; border-radius: var(--radius); border:1px solid var(--border); background: var(--surface);
  overflow:hidden; transition: transform .3s, border-color .3s; color: inherit;
}
.work-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
.work-thumb{ position:relative; aspect-ratio: 16/10; overflow:hidden; background: var(--bg); border-bottom:1px solid var(--border); }
.work-thumb img{ width:100%; height:100%; object-fit:cover; object-position: top center; transition: transform .5s var(--ease); }
.work-card:hover .work-thumb img{ transform: scale(1.05); }
.work-info{ padding: 20px 22px 24px; }
.work-info h3{ font-family: var(--ff-display); font-weight:600; font-size:1.1rem; margin:0 0 4px; }
.work-info p{ margin:0 0 14px; font-size:.85rem; color: var(--text-dimmer); }
.work-link{ display:inline-flex; align-items:center; gap:8px; font-size:.8rem; font-weight:600; color: var(--accent); }
.work-link i{ font-size:.7rem; }

/* ---------------- Awards ---------------- */
.awards-section{ background: var(--bg); }
.awards-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; margin-bottom: 40px; }
.award-card{ text-align:center; padding: 36px 20px; border-radius: var(--radius); border:1px solid var(--border); background: var(--surface); transition: transform .3s, border-color .3s; }
.award-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
.award-card.featured{ border-color: rgba(232,182,75,0.4); background: linear-gradient(160deg, rgba(232,182,75,0.08), transparent); }
.award-card i{ font-size:2rem; color: var(--accent); margin-bottom: 16px; }
.award-card h3{ font-family: var(--ff-display); font-weight:600; font-size:1rem; margin:0 0 6px; }
.award-card p{ margin:0; font-size:.82rem; color: var(--text-dimmer); }

.certs-strip{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.certs-strip span{ font-size:.8rem; color: var(--text-dim); border:1px solid var(--border); padding:10px 16px; border-radius:100px; display:flex; align-items:center; gap:8px; }
.certs-strip i{ color: var(--accent); }

/* ---------------- Contact ---------------- */
.contact-section{ text-align:center; }
.contact-kinetic{
  display:inline-block; font-family: var(--ff-display); font-weight:700; font-size: clamp(2.6rem, 9vw, 7rem); letter-spacing:-3px;
  line-height:1; margin: 10px 0 0; transition: color .3s ease;
}
.contact-kinetic:hover{ color: var(--accent); }
.contact-dot{ color: var(--accent); }
.contact-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:18px; margin: 50px 0 40px; }
.contact-item{
  display:flex; align-items:center; gap:10px; padding: 14px 22px; border-radius:100px; border:1px solid var(--border);
  font-size:.9rem; color: var(--text-dim); transition: all .25s ease;
}
a.contact-item:hover{ border-color: var(--accent); color: var(--text); }
.contact-item i{ color: var(--accent); }
.contact-socials{ display:flex; gap:16px; justify-content:center; }
.contact-socials a{
  width:48px; height:48px; border-radius:50%; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center;
  color: var(--text-dim); transition: all .25s ease; font-size:1.1rem;
}
.contact-socials a:hover{ background: var(--accent); color:#070b14; border-color:transparent; }

.contact-form{
  max-width:640px; margin: 60px auto 0; text-align:left; padding: 40px; border-radius: var(--radius);
  background: var(--surface); border:1px solid var(--border); box-sizing:border-box;
}
.form-row{ display:flex; gap:20px; }
.form-row .form-field{ flex:1; min-width:0; }
.form-field{ margin-bottom:22px; }
.form-field:last-of-type{ margin-bottom:28px; }
.form-field label{
  display:block; font-family: var(--ff-mono); font-size:.72rem; letter-spacing:1.5px; text-transform:uppercase;
  color: var(--text-dim); margin-bottom:10px;
}
.form-field input, .form-field textarea{
  display:block; width:100%; box-sizing:border-box; padding:14px 16px; border-radius:12px; border:1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size:.95rem; line-height:1.5;
  resize:vertical; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder{ color: var(--text-dimmer); }
.form-field input:focus, .form-field textarea:focus{
  outline:none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,182,75,0.15);
}
.form-field textarea{ min-height:140px; }
.form-honeypot{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none; }
.form-submit{ width:100%; justify-content:center; padding:15px 24px; font-size:.92rem; }
.form-submit:disabled{ opacity:.6; cursor:not-allowed; }
.form-status{ margin-top:16px; font-size:.85rem; min-height:1.2em; text-align:center; }
.form-status.is-success{ color: var(--accent-2); }
.form-status.is-error{ color:#e8574b; }
@media (max-width:600px){
  .contact-form{ padding: 28px 22px; }
  .form-row{ flex-direction:column; gap:0; }
}

/* ---------------- Footer ---------------- */
.site-footer{ border-top:1px solid var(--border); padding: 30px 0; }
.site-footer .logo{ color: var(--text); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; }
.footer-inner p{ color: var(--text-dimmer); font-size:.85rem; margin:0; }
.back-to-top{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border-strong); background: var(--surface); color: var(--text);
  display:flex; align-items:center; justify-content:center; transition: all .25s ease;
}
.back-to-top:hover{ background: var(--accent); color:#070b14; border-color:transparent; }

/* ---------------- Reveal helper (JS toggles .in-view) ---------------- */
.reveal-up{ opacity:0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.in-view{ opacity:1 !important; transform: none !important; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-visual{ order:-1; max-width: 340px; margin: 0 auto; }
  .skills-grid{ grid-template-columns: repeat(2,1fr); }
  .work-grid{ grid-template-columns: repeat(2,1fr); }
  .awards-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .hero-role-float{ max-width:220px; }
}

@media (max-width: 860px){
  .site-header{ mix-blend-mode: normal; background: var(--bg); opacity:.94; backdrop-filter: blur(14px); border-bottom:1px solid var(--border); }
  .main-nav{ display:none; }
  .menu-toggle{ display:flex; }
  .nav-right{ gap:14px; }
  .btn-ghost span{ display:none; }
  .section-head-row{ flex-direction:column; align-items:flex-start; }

  .hero{ display:flex; flex-direction:column; height:auto; min-height:unset; padding-top:110px; padding-bottom:60px; background: var(--bg); }
  .hero-backdrop{ position:relative; inset:auto; order:1; height:70vh; min-height:380px; border-radius:14px; overflow:hidden; }
  .hero-photo-img{ object-position: 50% 15%; }

  .hero-kinetic-full{
    position:relative; order:2; left:auto; right:auto; bottom:auto;
    margin-top: -44px; z-index:2; pointer-events:auto;
    letter-spacing:-2px; white-space:normal; padding: 0 16px;
  }
  .hero-kinetic-full .hk-line, .hk-dash{ font-size: clamp(2.4rem, 14vw, 4.6rem); }
  .hk-dash{ letter-spacing:normal; }

  .hero-badge-float{
    position:relative; order:3; left:auto; top:auto; right:auto;
    margin: 24px auto 0; font-size:.8rem; max-width: calc(100% - 32px);
  }
  .hero-role-float{
    position:relative; order:4; right:auto; top:auto; left:auto;
    margin: 16px auto 8px; max-width:none; text-align:center;
  }
  .hero-role-arrow{ margin-left:auto; margin-right:auto; }

  .hero-exp-float, .hero-kicker{ display:none; }
  .scroll-cue{ display:none; }
  .hero-intro-inner{ flex-direction:column; align-items:flex-start; text-align:left; }
  .hero-cta{ justify-content:flex-start; }
}

@media (max-width: 640px){
  section{ padding: 70px 0; }
  .container{ padding: 0 20px; }
  .skills-grid{ grid-template-columns: 1fr; }
  .work-grid{ grid-template-columns: 1fr; }
  .awards-grid{ grid-template-columns: 1fr 1fr; gap:14px; }
  .about-highlights{ grid-template-columns: 1fr; gap:18px; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-inner{ flex-direction:column; gap:16px; text-align:center; }
  .nav-overlay-footer{ gap:34px; }

  .about-grid{ gap:40px; }
  .about-photo-frame{ max-width:280px; }
  .about-text{ font-size:.96rem; }
  .about-cta{ flex-direction:column; align-items:stretch; }
  .about-cta .btn{ justify-content:center; }

  .timeline{ padding-left:0; }
  .timeline-item{ padding-left:48px; margin-bottom:24px; }
  .timeline-dot{ left:2px; }
  .timeline-line{ left:10px; }
  .timeline-card{ padding: 20px 18px; }
  .timeline-card h3{ font-size:1.05rem; }

  .skill-card{ padding: 22px 18px; }
  .award-card{ padding: 24px 12px; }
  .award-card i{ font-size:1.6rem; margin-bottom:10px; }
  .award-card h3{ font-size:.9rem; }

  .stat-card{ padding: 30px 14px; }
  .stat-num{ font-size: clamp(1.7rem,7vw,2.2rem); }

  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ justify-content:center; }
  .contact-grid{ flex-direction:column; align-items:stretch; }
  .contact-item{ justify-content:center; }
}

@media (max-width: 420px){
  .about-photo-frame{ max-width:230px; }
  .about-badge{ right:0; bottom:-18px; max-width:180px; padding:10px 12px; }
  .hero-kinetic-full{ letter-spacing:-1px; }
  .hero-kinetic-full .hk-line, .hk-dash{ font-size: clamp(2rem, 14vw, 3.4rem); }
  .hero-badge-float{ max-width: 200px; }
  .hero-badge-text{ font-size:.8rem; }
  .contact-kinetic{ font-size: clamp(2.2rem, 15vw, 3.6rem); }
}
