/* =============================================
   RESET & VARIABLES
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #030303;
  --bg2: #080808;
  --card: #0d0d0d;
  --card2: #111;
  --text: #f5f5f7;
  --text2: #a1a1a6;
  --text3: #6e6e73;
  --blue: #2997ff;
  --purple: #bf5af2;
  --green: #30d158;
  --grad: linear-gradient(135deg, #2997ff, #bf5af2);
  --border: rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.13);
  --r: 16px;
  --r-sm: 10px;
  --r-pill: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --disp: 'Space Grotesk', 'Inter', sans-serif;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.16,1,.3,1);
  --w: 1240px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

.container { max-width: var(--w); margin: 0 auto; padding: 0 2rem; }

/* =============================================
   PRELOADER
   ============================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--disp); font-size: 3rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -.04em;
}
.preloader-bar-wrap {
  width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.preloader-bar {
  height: 100%; width: 0; background: var(--grad); border-radius: 2px;
  transition: width .05s linear;
}

/* =============================================
   CURSOR
   ============================================= */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: opacity .3s;
}
.cursor-dot { width: 8px; height: 8px; background: var(--blue); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(41,151,255,.5);
  transition: width .2s var(--spring), height .2s var(--spring), border-color .2s, opacity .3s;
}
.cursor-ring.hovered { width: 54px; height: 54px; border-color: var(--blue); }
body:not(.has-cursor) .cursor-dot,
body:not(.has-cursor) .cursor-ring { display: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(3,3,3,.75);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--disp); font-size: 1.3rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -.04em;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-link {
  font-size: .85rem; font-weight: 500; color: var(--text2);
  transition: color .25s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--grad);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { width: 22px; height: 1.5px; background: var(--text); display: block; transition: all .3s var(--ease); }
.nav-burger.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-7.5px) rotate(-45deg); }

.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(3,3,3,.97); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mob-menu.open { opacity: 1; pointer-events: all; }
.mob-link {
  font-family: var(--disp); font-size: 2.5rem; font-weight: 700; color: var(--text2);
  transition: color .2s; transform: translateY(20px); opacity: 0;
  transition: transform .4s var(--spring), opacity .4s, color .2s;
}
.mob-menu.open .mob-link { transform: translateY(0); opacity: 1; }
.mob-menu.open .mob-link:nth-child(1) { transition-delay: .05s; }
.mob-menu.open .mob-link:nth-child(2) { transition-delay: .1s; }
.mob-menu.open .mob-link:nth-child(3) { transition-delay: .15s; }
.mob-menu.open .mob-link:nth-child(4) { transition-delay: .2s; }
.mob-menu.open .mob-link:nth-child(5) { transition-delay: .25s; }
.mob-menu.open .mob-link:nth-child(6) { transition-delay: .3s; }
.mob-link:hover { color: var(--text); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 8rem 2rem 5rem;
}
/* Hero photo background */
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.08);
  animation: heroBgDrift 20s ease-in-out infinite alternate;
  filter: saturate(0.7);
}
@keyframes heroBgDrift {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.12) translateY(-20px); }
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(3,3,3,.75) 0%,
    rgba(3,3,3,.55) 40%,
    rgba(3,3,3,.75) 80%,
    rgba(3,3,3,.95) 100%
  );
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1000px; width: 100%; }


.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 500; color: var(--text3);
  letter-spacing: .05em; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp .8s var(--spring) .2s forwards;
}
.eye-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text3); }

.hero-name {
  font-family: var(--disp);
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.05em;
  margin-bottom: 1.75rem;
}
.hn-line { display: block; overflow: hidden; }
.hn-word { display: inline-block; }
.hl {
  display: inline-block;
  background: linear-gradient(160deg, #fff 30%, #666 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0; transform: translateY(110%);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text2);
  margin-bottom: 3rem; min-height: 1.8em;
  opacity: 0; animation: fadeUp .8s var(--spring) 1.2s forwards;
}
.typed-cur { animation: blink .7s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 3rem; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp .8s var(--spring) 1.4s forwards;
}
.hs-item { display: flex; flex-direction: column; align-items: center; }
.hs-num {
  font-family: var(--disp); font-size: 2.2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.hs-sub { font-size: .7rem; color: var(--text3); text-transform: uppercase; letter-spacing: .12em; margin-top: .2rem; }
.hs-sep { width: 1px; height: 40px; background: var(--border); }

.hero-btns {
  display: flex; gap: 1rem; justify-content: center;
  opacity: 0; animation: fadeUp .8s var(--spring) 1.6s forwards;
}
.hbtn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--spring), box-shadow .25s, background .25s;
  border: none; position: relative; overflow: hidden;
}
.hbtn-fill { background: var(--blue); color: #fff; }
.hbtn-fill:hover { background: #0a84ff; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(41,151,255,.35); }
.hbtn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border2); }
.hbtn-outline:hover { border-color: var(--text2); transform: translateY(-3px); }

.hero-scroll-ind {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  opacity: 0; animation: fadeUp .8s var(--spring) 2s forwards;
}
.hero-scroll-ind span { font-size: .7rem; color: var(--text3); letter-spacing: .15em; text-transform: uppercase; }
.scroll-line-anim {
  width: 1px; height: 50px; background: var(--border); position: relative; overflow: hidden;
}
.scroll-line-anim::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%;
  background: var(--blue); animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 150%; } }

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 1.1rem 0;
}
.marquee-rail { display: flex; }
.marquee-row {
  display: flex; align-items: center; gap: 1.5rem; white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: .85rem; font-weight: 500; color: var(--text2);
}
.marquee-row em { color: var(--text3); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 9rem 0; }
.sec-dark { background: var(--bg2); }

.sec-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; color: var(--blue); margin-bottom: 1.25rem;
}
.sec-title {
  font-family: var(--disp); font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 3.5rem;
}
.sec-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 5rem; align-items: start;
}
.photo-wrap {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border);
}
.profile-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; transition: transform .6s var(--ease); }
.photo-wrap:hover .profile-photo { transform: scale(1.04); }
.photo-grad {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(3,3,3,.8), transparent);
}
.photo-nums {
  display: flex; justify-content: space-between; margin-top: 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.25rem 1.5rem;
}
.pn-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.pn-val { font-family: var(--disp); font-size: 1.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pn-lbl { font-size: .7rem; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; }

.about-p { font-size: 1.05rem; color: var(--text2); line-height: 1.85; margin-bottom: 1.5rem; }
.about-p strong { color: var(--text); font-weight: 600; }
.about-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.chip-blue, .chip-purple, .chip-green {
  padding: .45rem 1rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600;
}
.chip-blue { background: rgba(41,151,255,.12); border: 1px solid rgba(41,151,255,.25); color: var(--blue); }
.chip-purple { background: rgba(191,90,242,.12); border: 1px solid rgba(191,90,242,.25); color: var(--purple); }
.chip-green { background: rgba(48,209,88,.12); border: 1px solid rgba(48,209,88,.25); color: var(--green); }

/* =============================================
   EXPERIENCE (ACCORDION)
   ============================================= */
.exp-list { display: flex; flex-direction: column; gap: 0; }
.exp-item {
  border-top: 1px solid var(--border);
  transition: background .3s;
}
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-item.open { background: rgba(255,255,255,.015); }
.exp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 0; cursor: pointer; gap: 2rem; user-select: none;
}
.eh-left { display: flex; align-items: center; gap: 1.75rem; }
.exp-idx {
  font-family: var(--disp); font-size: .75rem; font-weight: 700; color: var(--blue);
  letter-spacing: .12em; flex-shrink: 0; min-width: 24px;
}
.exp-role { font-family: var(--disp); font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.exp-co { font-size: .875rem; color: var(--text2); }
.eh-right { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.exp-dates {
  font-size: .78rem; color: var(--text3); padding: .3rem .8rem;
  background: rgba(255,255,255,.05); border-radius: var(--r-pill);
  white-space: nowrap;
}
.exp-chevron {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .35s var(--spring), border-color .2s, background .2s;
}
.exp-chevron svg { width: 15px; height: 15px; transition: transform .35s var(--spring); }
.exp-item.open .exp-chevron { border-color: var(--blue); background: rgba(41,151,255,.1); }
.exp-item.open .exp-chevron svg { transform: rotate(180deg); }

.exp-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--spring); }
.exp-body-inner { padding: 0 0 2rem 3.75rem; }
.exp-ul { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.exp-ul li {
  font-size: .9rem; color: var(--text2); line-height: 1.7;
  padding-left: 1.25rem; position: relative;
}
.exp-ul li::before {
  content: ''; position: absolute; left: 0; top: .65em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}
.exp-ul li strong { color: var(--text); font-weight: 600; }
.exp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.exp-tags span {
  padding: .3rem .75rem; background: rgba(255,255,255,.05);
  border-radius: var(--r-pill); font-size: .72rem; color: var(--text3); font-weight: 500;
}

/* =============================================
   PROJECTS — BENTO GRID
   ============================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}
.bc-wide { grid-column: span 2; }
.bc-mid  { grid-column: span 1; }
.bc-sm   { grid-column: span 1; }

.bc {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.25rem; cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--spring), box-shadow .3s;
}
.bc:hover { border-color: var(--border2); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.bc:active { transform: translateY(-2px) scale(.99); }

.bc-shine {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle 250px at var(--mx,50%) var(--my,50%), rgba(41,151,255,.08), transparent);
  transition: opacity .3s; pointer-events: none;
}
.bc:hover .bc-shine { opacity: 1; }

.bc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.bc:hover::before { opacity: 1; }

.bc-num { font-size: .72rem; font-weight: 700; color: var(--blue); letter-spacing: .12em; margin-bottom: 1rem; }
.bc-title { font-family: var(--disp); font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .875rem; }
.bc-wide .bc-title { font-size: 1.4rem; }
.bc-desc { font-size: .875rem; color: var(--text2); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.bc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.bc-tags span { padding: .25rem .65rem; background: rgba(255,255,255,.06); border-radius: var(--r-pill); font-size: .7rem; color: var(--text3); }
.bc-metric { display: flex; align-items: baseline; gap: .6rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.bcm-val { font-family: var(--disp); font-size: 1.8rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bcm-lbl { font-size: .75rem; color: var(--text3); }
.bc-hint { font-size: .72rem; color: var(--text3); margin-top: .75rem; opacity: 0; transition: opacity .3s; }
.bc:hover .bc-hint { opacity: 1; }

/* =============================================
   MODAL
   ============================================= */
.modal-bg {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.modal-bg.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--card2); border: 1px solid var(--border2); border-radius: 20px;
  max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 3rem; position: relative;
  transform: translateY(30px) scale(.97); transition: transform .4s var(--spring);
}
.modal-bg.open .modal-box { transform: translateY(0) scale(1); }
.modal-close-btn {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--card); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); transition: all .2s;
}
.modal-close-btn svg { width: 15px; height: 15px; }
.modal-close-btn:hover { border-color: var(--text2); color: var(--text); }
.modal-num { font-size: .75rem; font-weight: 700; color: var(--blue); letter-spacing: .12em; margin-bottom: 1rem; }
.modal-title { font-family: var(--disp); font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; line-height: 1.2; }
.modal-metric-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem;
  background: rgba(41,151,255,.12); border: 1px solid rgba(41,151,255,.25);
  border-radius: var(--r-pill); font-size: .8rem; color: var(--blue); font-weight: 600;
  margin-bottom: 1.5rem;
}
.modal-desc { font-size: .95rem; color: var(--text2); line-height: 1.8; margin-bottom: 2rem; }
.modal-hl-title { font-size: .75rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.modal-ul { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.modal-ul li { font-size: .88rem; color: var(--text2); padding-left: 1.25rem; position: relative; line-height: 1.6; }
.modal-ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.modal-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.modal-tags span { padding: .35rem .85rem; background: rgba(255,255,255,.06); border-radius: var(--r-pill); font-size: .78rem; color: var(--text2); }

/* =============================================
   GALLERY
   ============================================= */
.gallery-wrap {
  overflow: hidden; cursor: grab; position: relative;
  padding: 2rem 0 3rem;
}
.gallery-wrap:active { cursor: grabbing; }
.gallery-track {
  display: flex; gap: 1.25rem;
  padding: 0 2rem;
  width: max-content;
  user-select: none;
}
.gi {
  width: 340px; height: 460px; border-radius: var(--r); overflow: hidden;
  position: relative; flex-shrink: 0;
  cursor: pointer; border: 1px solid var(--border);
  transition: transform .3s var(--spring);
}
.gi:hover { transform: scale(1.02); }
.gi img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.gi:hover img { transform: scale(1.06); }
.gi-over {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
  opacity: 0; transition: opacity .3s;
}
.gi:hover .gi-over { opacity: 1; }
.gallery-hint {
  text-align: center; font-size: .78rem; color: var(--text3); letter-spacing: .1em;
  text-transform: uppercase; margin-top: 1rem;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lb-bg {
  position: fixed; inset: 0; z-index: 6000;
  background: rgba(0,0,0,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lb-bg.open { opacity: 1; pointer-events: all; }
.lb-bg img {
  max-width: 90vw; max-height: 90vh; border-radius: var(--r); object-fit: contain;
  transform: scale(.95); transition: transform .4s var(--spring);
}
.lb-bg.open img { transform: scale(1); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff;
  transition: all .2s; backdrop-filter: blur(10px);
}
.lb-btn svg { width: 18px; height: 18px; }
.lb-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* =============================================
   SKILLS
   ============================================= */
.sk-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem;
}
.sk-tab {
  padding: .6rem 1.4rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: transparent;
  font-size: .85rem; font-weight: 500; color: var(--text2); cursor: pointer;
  transition: all .25s var(--ease);
}
.sk-tab:hover { border-color: var(--border2); color: var(--text); }
.sk-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.sk-panels { position: relative; min-height: 320px; }
.sk-panel { display: none; flex-direction: column; gap: 1.25rem; }
.sk-panel.active { display: flex; }

.sb { display: flex; align-items: center; gap: 1.5rem; }
.sb-n { font-size: .9rem; font-weight: 500; min-width: 180px; flex-shrink: 0; }
.sb-t { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.sb-f { height: 100%; width: 0; border-radius: 3px; background: var(--grad); transition: width 1s var(--spring); }
.sb-p { font-size: .8rem; color: var(--text3); min-width: 38px; text-align: right; flex-shrink: 0; }

/* =============================================
   EDUCATION + ACTIVITIES
   ============================================= */
.edu-section {
  position: relative; overflow: hidden;
  background: var(--bg2);
}
.edu-horses-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.edu-horses-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: saturate(0.6) brightness(0.55);
}
.edu-horses-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(3,3,3,.82) 0%,
    rgba(3,3,3,.45) 50%,
    rgba(3,3,3,.82) 100%
  );
}
.edu-section .container { position: relative; z-index: 2; }

.edu-act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.edu-card {
  background: rgba(13,13,13,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border2); border-radius: var(--r); padding: 2.5rem;
  transition: border-color .3s;
}
.edu-card:hover { border-color: var(--border2); }
.edu-icon {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(41,151,255,.1);
  display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 1.5rem;
}
.edu-icon svg { width: 28px; height: 28px; }
.edu-univ { font-family: var(--disp); font-size: 1.4rem; font-weight: 700; margin-bottom: .3rem; }
.edu-school { font-size: .9rem; color: var(--text2); margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.edu-rows { display: flex; flex-direction: column; gap: 1rem; }
.edu-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.er-lbl { font-size: .78rem; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0; padding-top: .15rem; }
.er-val { font-size: .9rem; font-weight: 500; text-align: right; }
.gpa-hl { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1rem; font-weight: 800; }

.act-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.act-card { background: rgba(13,13,13,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border2); border-radius: var(--r); padding: 1.75rem; transition: border-color .3s; }
.act-card:hover { border-color: var(--border2); }
.act-h { font-family: var(--disp); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .875rem; }
.act-ul { display: flex; flex-direction: column; gap: .5rem; }
.act-ul li { font-size: .875rem; color: var(--text2); padding-left: 1.1rem; position: relative; }
.act-ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: var(--text3); }

/* =============================================
   CONTACT
   ============================================= */
.section-contact {
  padding: 10rem 0; position: relative; overflow: hidden;
  background: var(--bg2);
}
.ct-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.ct-orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(41,151,255,.12), transparent); top: -100px; left: -100px; }
.ct-orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(191,90,242,.1), transparent); bottom: -80px; right: -80px; }
.ct-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.ct-title { font-family: var(--disp); font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 1.5rem; }
.ct-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ct-sub { font-size: 1.1rem; color: var(--text2); margin-bottom: 3rem; line-height: 1.7; }
.ct-email {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--disp); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700; color: var(--text); margin-bottom: 3rem;
  padding: 1.25rem 2.5rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--border2);
  transition: all .3s var(--spring);
}
.ct-email svg { width: 22px; height: 22px; transition: transform .3s var(--spring); }
.ct-email:hover { border-color: var(--blue); background: rgba(41,151,255,.06); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(41,151,255,.2); }
.ct-email:hover svg { transform: translateX(5px); }
.ct-links { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.ct-link {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text2);
  padding: .65rem 1.4rem; border-radius: var(--r-pill); border: 1px solid var(--border);
  transition: all .25s;
}
.ct-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.ct-link:hover { color: var(--text); border-color: var(--border2); background: rgba(255,255,255,.04); transform: translateY(-2px); }

/* =============================================
   FOOTER
   ============================================= */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-row { display: flex; align-items: center; justify-content: space-between; }
.foot-logo { font-family: var(--disp); font-size: 1rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.foot-copy { font-size: .78rem; color: var(--text3); }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity .8s var(--spring), transform .8s var(--spring);
  transition-delay: var(--d, 0s);
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.vis, .reveal-left.vis, .reveal-right.vis { opacity: 1; transform: none; }

/* =============================================
   RIPPLE
   ============================================= */
.ripple {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9997;
  background: radial-gradient(circle, rgba(41,151,255,.25) 0%, transparent 70%);
  transform: scale(0); animation: rippleOut .6s var(--spring) forwards;
}
@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}

/* =============================================
   HERO LETTER ANIMATION
   ============================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bc-wide { grid-column: span 2; }
  .bc-mid { grid-column: span 1; }
  .about-grid { grid-template-columns: 280px 1fr; gap: 3rem; }
  .edu-act-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mob-menu { display: flex; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { gap: 1.75rem; }
  .hs-sep { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo-side { display: flex; flex-direction: column; align-items: center; }
  .photo-wrap { max-width: 300px; }

  .bento { grid-template-columns: 1fr; }
  .bc-wide, .bc-mid, .bc-sm { grid-column: span 1; }

  .section { padding: 6rem 0; }
  .section-contact { padding: 6rem 0; }

  .exp-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .eh-right { width: 100%; justify-content: space-between; }

  .edu-act-grid { grid-template-columns: 1fr; }
  .edu-row { flex-direction: column; gap: .2rem; }
  .er-val { text-align: left; }

  .lb-prev { left: .75rem; }
  .lb-next { right: .75rem; }

  .footer-row { flex-direction: column; gap: .75rem; text-align: center; }

  .sb-n { min-width: 130px; }
  .sk-tabs { gap: .4rem; }
  .sk-tab { padding: .5rem 1rem; font-size: .78rem; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .container { padding: 0 1.25rem; }
  .ct-email { font-size: 1rem; padding: 1rem 1.75rem; }
  .ct-links { flex-direction: column; gap: .75rem; }
  .sb { gap: 1rem; }
  .sb-n { min-width: 110px; font-size: .82rem; }
}
