/* ═══════════════════════════════════════════════════
   ANJAN RIMAL — Portfolio v3
   Theme: Warm Cream / Off-White
   Fonts: Fraunces (serif display) · Plus Jakarta Sans · Fira Code
═══════════════════════════════════════════════════ */

:root {
  --cream:     #f5f0e8;
  --cream-2:   #ede7d9;
  --cream-3:   #e4ddd0;
  --white:     #fdfcfa;
  --ink:       #1a1714;
  --ink-2:     #3d3830;
  --ink-3:     #6b6358;
  --ink-4:     #9e9287;
  --accent:    #c84b2f;       /* warm terracotta — distinctive, warm */
  --accent-2:  #2563eb;       /* electric blue — secondary */
  --accent-g:  rgba(200,75,47,0.08);
  --border:    rgba(26,23,20,0.1);
  --border-2:  rgba(26,23,20,0.18);
  --shadow:    0 1px 3px rgba(26,23,20,0.06), 0 4px 16px rgba(26,23,20,0.06);
  --shadow-lg: 0 8px 40px rgba(26,23,20,0.12);
  --ff-serif:  'Fraunces', Georgia, serif;
  --ff-sans:   'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-mono:   'Fira Code', monospace;
  --nav-h:     68px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── CURSOR ── */
#cur-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s, opacity .2s;
  will-change: left, top;
}
#cur-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: transform .1s;
}
.cursor-hover #cur-ring {
  width: 56px; height: 56px;
  background: rgba(200,75,47,0.07);
  border-color: var(--accent);
}
.cursor-link #cur-ring {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.08);
  border-color: var(--accent-2);
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.ld-box { text-align: center; }
.ld-logo {
  width: 72px; height: 72px;
  font-family: var(--ff-serif);
  font-size: 26px;
  color: var(--ink);
  margin: 0 auto 28px;
  stroke: var(--ink);
  fill: none;
}
.ld-logo text { font-family: var(--ff-serif); font-weight: 800; letter-spacing: 2px; }
.ld-progress {
  width: 180px; height: 1px;
  background: var(--border-2);
  margin: 0 auto 14px;
  border-radius: 1px;
  overflow: hidden;
}
.ld-bar {
  height: 100%; width: 0%;
  background: var(--accent);
  animation: ldbar 1.8s var(--ease) forwards;
}
@keyframes ldbar { to { width: 100%; } }
.ld-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 800;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background .4s, box-shadow .4s, border .4s;
}
#nav.scrolled {
  background: rgba(253,252,250,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--border);
}
/* ── F6 LOGO: Seaweed — each letter sways independently ── */
.nav-brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.f6-logo {
  display: inline-flex;
  align-items: baseline;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  line-height: 1;
  white-space: nowrap;
}
.f6c {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: inline-block;
  float: none;
  animation: f6sway 3s ease-in-out infinite;
  transform-origin: bottom center;
}
.f6r {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
}
.f6sp {
  display: inline-block;
  width: 5px;
  flex-shrink: 0;
}

.f6c:nth-child(1)  { animation-delay: 0.00s; }
.f6c:nth-child(2)  { animation-delay: 0.10s; }
.f6c:nth-child(3)  { animation-delay: 0.20s; }
.f6c:nth-child(4)  { animation-delay: 0.30s; }
.f6c:nth-child(5)  { animation-delay: 0.40s; }
.f6c:nth-child(7)  { animation-delay: 0.55s; }
.f6c:nth-child(8)  { animation-delay: 0.65s; }
.f6c:nth-child(9)  { animation-delay: 0.75s; }
.f6c:nth-child(10) { animation-delay: 0.85s; }
.f6c:nth-child(11) { animation-delay: 0.95s; }

@keyframes f6sway {
  0%,100% { transform: translateY(0px)    rotateZ(0deg)    rotateY(0deg); }
  25%      { transform: translateY(-8px)   rotateZ(-2.5deg) rotateY(-6deg); }
  50%      { transform: translateY(-12px)  rotateZ(0deg)    rotateY(0deg); }
  75%      { transform: translateY(-6px)   rotateZ(2.5deg)  rotateY(6deg); }
}

.nav-brand:hover .f6c {
  animation-play-state: paused;
  color: var(--accent);
  transition: color 0.3s;
}
.nav-brand:hover .f6r {
  color: var(--ink);
  transition: color 0.3s;
}
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .2s;
  letter-spacing: 0.01em;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--ink); }
/* ── G1 BUTTON: ink fill sweep ── */
.nav-cta.gc-btn {
  position: relative;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  color: var(--ink) !important;
  background: transparent;
  transition: color 0.35s;
  display: inline-flex;
  align-items: center;
}
.nav-cta.gc-btn .gc-fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-102%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.nav-cta.gc-btn .gc-text {
  position: relative;
  z-index: 1;
  transition: color 0.35s;
}
.nav-cta.gc-btn:hover .gc-fill { transform: translateX(0); }
.nav-cta.gc-btn:hover .gc-text { color: var(--cream) !important; }
.nav-cta.gc-btn:hover { transform: translateY(-1px); }
.burger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: none; padding: 6px;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: all .3s;
}

/* MOBILE NAV */
#mob-nav {
  position: fixed; inset: 0; z-index: 700;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#mob-nav.open { opacity: 1; pointer-events: all; }
#mob-nav a {
  font-family: var(--ff-serif);
  font-size: 48px; font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
#mob-nav a:hover { color: var(--accent); }
.mob-cta {
  font-size: 20px !important;
  color: var(--accent) !important;
  font-family: var(--ff-sans) !important;
  font-weight: 700 !important;
  border: 2px solid var(--accent);
  padding: 10px 32px;
  border-radius: 6px;
}

/* ── SHARED UTILS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
section { padding: 130px 0; }
.sec-alt { background: var(--cream); }

.sec-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.sec-heading {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
}
.sec-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.body-p { font-size: 1rem; color: var(--ink-3); line-height: 1.85; max-width: 520px; }

/* REVEAL — always visible, animate when JS adds .in */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

/* ════════════════════ HERO ════════════════════ */
#hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}
.grain {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.6;
}
/* Big decorative letter behind */
#hero::before {
  content: 'AR';
  position: absolute;
  right: -2%;
  top: 8%;
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: clamp(200px, 24vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26,23,20,0.05);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-wrap {
  position: relative; z-index: 1;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

/* Photo column */
.hero-photo-col { position: relative; }
.photo-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-2);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform .1s;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease);
}
.photo-container:hover .hero-img { transform: scale(1.03); }
.photo-overlay-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(26,23,20,0.65));
  font-size: 11px;
  font-family: var(--ff-mono);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
}
.corner {
  position: absolute;
  width: 24px; height: 24px;
  z-index: 2;
}
.corner.tl { top: 12px; left: 12px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.tr { top: 12px; right: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.corner.bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

/* Floating badge cards */
.badge-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  z-index: 5;
}
.badge-float strong { display: block; font-size: 13px; color: var(--ink); }
.badge-float span { font-size: 11px; color: var(--ink-3); }
.bf-icon { font-size: 20px; line-height: 1; }
.bf-1 { top: 8%; right: -28px; animation: bfloat 5s ease-in-out infinite; }
.bf-2 { bottom: 22%; left: -32px; animation: bfloat 6s ease-in-out infinite reverse; }
.bf-3 { bottom: 6%; right: -20px; animation: bfloat 7s ease-in-out infinite; }
@keyframes bfloat {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Hero copy */
.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}
.avail-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-g 2s ease-in-out infinite;
}
@keyframes pulse-g { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,0)} }

.hero-h1 {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
  overflow: hidden;
}
.h1-line { display: block; overflow: hidden; }
.italic-serif { font-style: italic; font-weight: 300; color: var(--accent); }

.hero-roles {
  height: 28px;
  overflow: hidden;
  margin-bottom: 28px;
}
.role-track {
  display: flex; flex-direction: column;
  animation: roleY 7s ease-in-out infinite;
}
.role-track span {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  height: 28px;
  display: flex; align-items: center;
}
@keyframes roleY {
  0%,28%   { transform: translateY(0); }
  33%,61%  { transform: translateY(-28px); }
  66%,94%  { transform: translateY(-56px); }
  100%     { transform: translateY(0); }
}

.hero-desc {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 36px;
}

/* Metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metric { display: flex; flex-direction: column; }
.metric-n {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.metric-unit { font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.metric-l {
  font-size: 10px;
  color: var(--ink-4);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.metric-sep { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* Buttons */
.hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-fill {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.35s, transform 0.2s;
}
.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-102%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.btn-fill span { position: relative; z-index: 1; }
.btn-fill:hover::before { transform: translateX(0); }
.btn-fill:hover { color: var(--cream); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--ink); }
.btn-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-2);
  border-radius: 6px;
  color: var(--ink-3);
  transition: border-color .2s, color .2s, background .2s;
}
.btn-icon svg { width: 18px; height: 18px; }
.btn-icon:hover { border-color: var(--ink); color: var(--ink); background: var(--cream); }

/* Certs */
.cert-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-2);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 12px;
  letter-spacing: 0.03em;
}
.cert-pill svg { width: 13px; height: 13px; color: var(--accent); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 48px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  z-index: 1;
}
.scroll-mouse {
  width: 20px; height: 30px;
  border: 1.5px solid var(--ink-4);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollwheel 1.5s ease-in-out infinite;
}
@keyframes scrollwheel { 0%,100%{transform:translateY(0);opacity:1} 80%{transform:translateY(10px);opacity:0} }

/* ── TICKER ── */
.ticker {
  background: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-inner { overflow: hidden; }
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerRun 28s linear infinite;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerRun { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ════════════════════ ABOUT ════════════════════ */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-left .sec-heading { margin-bottom: 0; }
.about-p { color: var(--ink-3); font-size: 1rem; line-height: 1.85; margin-bottom: 20px; }
.about-social {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 32px;
}
.about-social a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.about-social a:hover { color: var(--accent); border-color: var(--accent); }

/* ════════════════════ EXPERIENCE ════════════════════ */
#experience { padding-bottom: 100px; }
.exp-grid { display: flex; flex-direction: column; gap: 32px; }
.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.exp-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.exp-company { font-size: 13px; color: var(--ink-3); }
.exp-company a { color: var(--accent); font-weight: 500; transition: opacity .2s; }
.exp-company a:hover { opacity: .75; }
.exp-location { color: var(--ink-4); }
.exp-date {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-top: 4px;
}

.exp-body { padding: 24px 32px 28px; }
.exp-achievement {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 10px;
}
.ach-stat {
  display: flex; flex-direction: column;
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ach-stat span {
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.exp-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.exp-list li {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}
.exp-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 2px;
}
.exp-list strong { color: var(--ink); font-weight: 600; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.exp-tags span {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 9px;
}

/* ════════════════════ PROJECTS ════════════════════ */
#projects { background: var(--white); }
.proj-list { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.proj-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
.proj-item:last-child { border-bottom: none; }
.proj-item:hover { background: var(--cream); }

.proj-meta {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-num {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--cream-3);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color .25s;
}
.proj-item:hover .proj-num { color: var(--accent); }
.proj-cat {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  margin-top: 6px;
}
.proj-body { padding: 36px 40px; }
.proj-body h3 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.proj-body > p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 700px;
}
.proj-details {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 18px;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 8px;
}
.proj-detail-item { display: flex; flex-direction: column; gap: 2px; }
.pd-label { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.08em; }
.pd-val { font-size: 13px; font-weight: 500; color: var(--ink); }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.proj-tags span {
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--accent);
  background: rgba(200,75,47,0.07);
  border: 1px solid rgba(200,75,47,0.2);
  border-radius: 4px; padding: 3px 8px;
}
.proj-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  margin-top: 14px;
  transition: gap .2s;
}
.proj-link:hover { gap: 10px; }

/* ════════════════════ SKILLS ════════════════════ */
#skills { background: var(--cream); }
.skills-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.skill-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow .3s;
}
.skill-category:hover { box-shadow: var(--shadow); }
.sk-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sk-icon { font-size: 22px; line-height: 1; }
.sk-header h3 {
  font-family: var(--ff-serif);
  font-weight: 600; font-size: 1rem;
  color: var(--ink); letter-spacing: -0.01em;
}
.sk-items { display: flex; flex-direction: column; gap: 11px; }
.sk-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
}
.sk-item > span:first-child { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.sk-bar {
  width: 80px; height: 3px;
  background: var(--cream-2);
  border-radius: 2px;
  overflow: hidden;
}
.sk-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #e8703a);
  border-radius: 2px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.sk-lvl {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  width: 64px;
  text-align: right;
}

/* ════════════════════ EDUCATION ════════════════════ */
#education { background: var(--white); }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.edu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .3s, transform .3s;
}
.edu-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.edu-badge {
  width: 52px; height: 52px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 800; font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.cert-b { background: rgba(200,75,47,0.08); border-color: rgba(200,75,47,0.2); }
.edu-date { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.08em; }
.edu-card h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.edu-school { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.edu-location { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-4); }
.edu-research, .edu-course {
  font-size: 13px; color: var(--ink-3); line-height: 1.7;
  padding: 12px; background: var(--cream); border-radius: 8px;
}
.edu-res-label { font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; font-size: 12px; }
.certs-list { display: flex; flex-direction: column; gap: 14px; }
.cert-item {
  display: flex; gap: 10px; align-items: flex-start;
}
.cert-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.cert-item div { display: flex; flex-direction: column; gap: 3px; }
.cert-item strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.cert-item span { font-size: 11px; color: var(--ink-3); }

/* ════════════════════ CONTACT ════════════════════ */
#contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-h { margin-bottom: 16px; }
.avail-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.06em;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 16px;
  margin-top: 20px;
}
.avail-dot-c {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: pulse-g 2s ease-in-out infinite;
}
.contact-right { display: flex; flex-direction: column; }
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .25s;
}
.contact-card:hover { padding-left: 8px; }
.contact-card:hover .cc-val { color: var(--ink); }
.contact-card:hover .cc-arr { color: var(--accent); transform: translate(4px,-4px); }
.cc-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--ff-mono);
  font-weight: 600;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.contact-card:hover .cc-icon { background: var(--accent); border-color: var(--accent); color: #fff; font-style: normal; }
.cc-label { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.1em; display: block; margin-bottom: 2px; }
.cc-val { font-size: 14px; color: var(--ink-3); transition: color .2s; }
.cc-arr { color: var(--ink-4); transition: color .2s, transform .25s; width: 20px; height: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--ff-serif); font-weight: 600; font-size: 1.1rem; color: var(--cream); }
.footer-sub { font-family: var(--ff-mono); font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; display: block; }
.footer-mid { display: flex; gap: 24px; }
.footer-mid a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color .2s; font-family: var(--ff-mono); letter-spacing: 0.04em; }
.footer-mid a:hover { color: var(--cream); }
.footer-right { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-wrap { grid-template-columns: 340px 1fr; gap: 56px; }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .skills-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .hero-photo-col { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-item { grid-template-columns: 1fr; }
  .proj-meta { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; padding: 20px 24px; }
  .proj-cat { writing-mode: horizontal-tb; transform: none; }
  .nav-menu, .nav-cta { display: none; }
  .burger { display: flex; }
  #nav { padding: 0 24px; }
  .container { padding: 0 24px; }
  section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .edu-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 18px; flex-wrap: wrap; }
  .metric-sep { display: none; }
  .bf-1,.bf-2,.bf-3 { display: none; }
  #hero::before { display: none; }
}
