/* ══════════════════════════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg:        #0A0A0A;
  --bg2:       #111111;
  --bg3:       #1A1A1A;
  --accent:    #C8F135;
  /* --upwork:    #6FDA44; */
  --upwork:    #C8F135;
  --text1:     #F5F5F5;
  --text2:     #888888;
  --text3:     #444444;
  --border:    #222222;
  --nav-bg:    rgba(10,10,10,0.85);
  --font-h:    'Syne', sans-serif;
  --font-b:    'DM Sans', sans-serif;

  /* Design tokens */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 36px;
  --space-xl: 64px;

  --fs-body: 16px;
  --lh-body: 1.7;

  --max-text-width: 360px;
}

[data-theme="light"] {
  --bg: #F5F5F5;
  --bg2: #FFFFFF;
  --bg3: #E8E8ED;
  --text1: #111111;
  --text2: #555555;
  --text3: #AAAAAA;
  --border: #DDDDDD;
  --nav-bg: rgba(245,245,245,0.88);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text1);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ═════════ UTILITIES ═════════ */
.text-accent {
  color: var(--accent);
  font-style: normal;
}

.text-secondary {
  color: var(--text2);
}

.text-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.text-container {
  max-width: var(--max-text-width);
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.delay-1 { --d: .08s; }
.delay-2 { --d: .16s; }
.delay-3 { --d: .06s; }
.delay-4 { --d: .12s; }
.delay-5 { --d: .18s; }

/* ══════════════════════════════════════════════════════
   CURSOR
══════════════════════════════════════════════════════ */
#cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
  transition: width .18s, height .18s;
}

#cur-r {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200,241,53,.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
}

.cursor-big #cur { width: 22px; height: 22px; }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: padding .35s ease, border-color .35s ease;
}

nav.scrolled {
  padding: 14px 64px;
  border-color: var(--border);
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text1);
}

.nav-logo em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: .4px;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .25s;
}

.nav-links a:hover { color: var(--text1); }
.nav-links a:hover::after { width: 100%; }

.nav-r {
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-btn {
  width: 42px;
  height: 22px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: none;
  position: relative;
  flex-shrink: 0;
}

.theme-btn::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform .3s;
}

[data-theme="light"] .theme-btn::after { transform: translateX(20px); }

.nav-cta {
  padding: 9px 24px;
  background: var(--accent);
  color: #0A0A0A;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-b);
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(200,241,53,.4);
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .15;
  mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}

#hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,241,53,.065) 0%, transparent 68%);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left .9s cubic-bezier(.25,.46,.45,.94), top .9s cubic-bezier(.25,.46,.45,.94);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(200,241,53,.3);
  border-radius: 100px;
  background: rgba(200,241,53,.05);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  opacity: 0;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2.2s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: .2; }
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(48px,7.5vw,110px);
  font-weight: 800;
  letter-spacing: -3.5px;
  width: 100%;
  line-height: 1.0;
  color: var(--text1);
  max-width: 950px;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
}

.hero-title .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-title .acc { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text2);
  max-width: 500px;
  margin-top: 28px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}

.hero-ctas {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-prim {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 34px;
  background: var(--accent);
  color: #0A0A0A;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-b);
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform .2s, box-shadow .2s;
}

.btn-prim:hover {
  transform: scale(1.04);
  box-shadow: 0 0 36px rgba(200,241,53,.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 34px;
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-b);
  border-radius: 100px;
  text-decoration: none;
  cursor: none;
  transition: border-color .2s, color .2s;
}

.btn-ghost:hover {
  border-color: var(--text2);
  color: var(--text1);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  opacity: 0;
}

.scroll-bar {
  width: 40px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: sweep 2s infinite 1.2s;
}

@keyframes sweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-stats-row {
  position: absolute;
  bottom: 44px;
  right: 64px;
  display: flex;
  gap: 52px;
  opacity: 0;
}

.hstat-num {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.5px;
  line-height: 1;
}

.hstat-lbl {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 500;
  white-space: nowrap;
}

.m-dot {
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ══════════════════════════════════════════════════════
   PHILOSOPHY (PINNED / APPLE-STYLE)
══════════════════════════════════════════════════════ */
#philosophy-wrap { position: relative; }

#philosophy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.phil-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.phil-item.active {
  opacity: 1;
  pointer-events: auto;
}

.phil-number {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.phil-text {
  font-family: var(--font-h);
  font-size: clamp(36px,5.5vw,72px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.1;
  color: var(--text1);
  max-width: 820px;
  transform: translateY(40px);
  transition: transform .0s;
}

.phil-sub {
  font-size: 16px;
  color: var(--text2);
  margin-top: 20px;
  font-weight: 300;
  max-width: 480px;
  transform: translateY(20px);
}

.phil-progress {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.phil-dot {
  width: 24px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  transition: background .4s, width .4s;
}

.phil-dot.active {
  background: var(--accent);
  width: 40px;
}

/* ══════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════ */
.section { padding: 128px 64px; }

.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.s-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.s-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.s-heading {
  font-family: var(--font-h);
  font-size: clamp(38px,4.2vw,60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text1);
}

/* ══════════════════════════════════════════════════════
   WORK
══════════════════════════════════════════════════════ */
#work { background: var(--bg); }

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.filter-tabs { display: flex; gap: 8px; }

.f-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-b);
  border-radius: 100px;
  cursor: none;
  transition: all .2s;
}

.f-btn.on,
.f-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,241,53,.06);
}

.proj-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 500px;
  transition: border-color .35s;
}

.proj-feat:hover { border-color: rgba(200,241,53,.28); }

.proj-feat.rev { direction: rtl; }
.proj-feat.rev > * { direction: ltr; }

.proj-img {
  background: var(--bg3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-img-lbl {
  font-family: var(--font-h);
  font-size: 72px;
  font-weight: 800;
  color: rgba(200,241,53,.06);
  letter-spacing: -4px;
  user-select: none;
}

.proj-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,241,53,.03), transparent 60%);
}

.proj-info {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.p-name {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text1);
  line-height: 1.0;
  margin-bottom: 14px;
}

.p-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 360px;
}

.p-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text1);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  align-self: flex-start;
  transition: color .2s, gap .2s;
}

.p-link:hover {
  color: var(--accent);
  gap: 14px;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 0;
}

.p-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .35s;
  cursor: none;
}

.p-card:hover {
  border-color: rgba(200,241,53,.2);
  transform: translateY(-6px);
}

.p-card-img {
  height: 260px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-card-img-lbl {
  font-family: var(--font-h);
  font-size: 30px;
  text-align: center;
  font-weight: 800;
  color: rgba(200,241,53,.07);
  letter-spacing: -2px;
}

.p-card-body { padding: 24px; }

.p-card-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.p-card-name {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.6px;
  color: var(--text1);
  margin-bottom: 4px;
}

.p-card-year {
  font-size: 12px;
  color: var(--text2);
}

.work-foot {
  text-align: center;
  margin-top: 60px;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s, gap .2s;
}

.see-all:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 14px;
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
#about {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
}

.about-photo::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 8px 0 0;
  z-index: 2;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 100px;
  font-weight: 800;
  color: rgba(200,241,53,.06);
  letter-spacing: -5px;
}

.about-bio {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text1);
  margin: 24px 0 40px;
}

.about-bio strong {
  color: var(--accent);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-box {
  padding: 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stat-n {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-l {
  font-size: 12px;
  color: var(--text2);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 9px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text2);
  transition: border-color .2s, color .2s;
}

.pill:hover {
  border-color: rgba(200,241,53,.3);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════════════════════ */
#experience { background: var(--bg); }

.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.exp-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.t-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: .5;
  transition: opacity .4s;
}

.t-item:last-child { border-bottom: none; }
.t-item.in-view { opacity: 1; }

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  margin-top: 5px;
  flex-shrink: 0;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.t-item.current .t-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200,241,53,.5);
}

.t-body { flex: 1; }

.t-co {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--text1);
  margin-bottom: 4px;
}

.t-item.current .t-co { color: var(--accent); }

.t-role {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 6px;
}

.t-date {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: .5px;
}

.t-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(200,241,53,.1);
  border: 1px solid rgba(200,241,53,.2);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-left: 10px;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════════
   CONTACT / HIRE ME
══════════════════════════════════════════════════════ */
#contact {
  background: #0D0D0D;
  border-top: 2px solid var(--accent);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 148px 64px 120px;
}

#contact::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 500px;
  background: radial-gradient(ellipse,rgba(200,241,53,.055) 0%,transparent 70%);
  pointer-events: none;
}

.contact-hl {
  font-family: var(--font-h);
  font-size: clamp(44px,6.5vw,84px);
  font-weight: 800;
  letter-spacing: -3.5px;
  line-height: 1.02;
  color: var(--text1);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-hl .acc { color: var(--accent); }

.contact-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.contact-ctas {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.btn-upwork {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 36px;
  background: var(--upwork);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-b);
  border: none;
  border-radius: 100px;
  cursor: none;
  text-decoration: none;
  transition: filter .2s, transform .2s;
}

.btn-upwork:hover {
  filter: brightness(1.1);
  transform: scale(1.025);
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-b);
  border-radius: 100px;
  cursor: none;
  text-decoration: none;
  transition: background .2s;
}

.btn-email:hover {
  background: rgba(200,241,53,.08);
}

.trust-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text2);
  letter-spacing: .3px;
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.trust-div {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.soc-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.soc-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,241,53,.06);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  padding: 28px 64px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-copy,
.f-made {
  font-size: 12px;
  color: var(--text2);
}

.f-made span { color: var(--accent); }

/* ══════════════════════════════════════════════════════
   GSAP REVEAL HELPERS
══════════════════════════════════════════════════════ */
.g-fade   { opacity: 0; }
.g-up     { opacity: 0; transform: translateY(40px); }
.g-left   { opacity: 0; transform: translateX(-40px); }
.g-right  { opacity: 0; transform: translateX(40px); }
.g-scale  { opacity: 0; transform: scale(.92); }

.parallax-wrap { overflow: hidden; }

/* ══════════════════════════════════════════════════════
   PROJECT SKELETON LOADER
══════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.proj-skeleton {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

.t-skel {
  height: 72px;
  border-radius: 12px;
  margin-bottom: 1px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media(max-width:900px) {
  nav, footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  nav.scrolled {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section { padding: 80px 24px; }

  #hero,
  #contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-stats-row { display: none; }
  .hero-scroll-hint { left: 24px; }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 48px;
  }

  .filter-tabs { flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; }
  .exp-layout { grid-template-columns: 1fr; }
  .exp-left { position: static; }
  .proj-feat {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .proj-feat .proj-img {
    height: 280px;
    min-height: unset;
  }
  .proj-feat .proj-info {
    padding: 32px 28px;
  }
  .p-name { font-size: 32px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media(max-width:600px) {
  .proj-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn-prim,
  .hero-ctas .btn-ghost { justify-content: center; }
  .contact-ctas { flex-direction: column; align-items: stretch; }
  .contact-ctas .btn-upwork,
  .contact-ctas .btn-email { justify-content: center; }
}

/* Accessibility / mobile improvements */
@media (hover: none) {
  body { cursor: auto; }
  #cur, #cur-r { display: none !important; }
  .f-btn, .nav-cta, .btn-upwork, .btn-email, .p-card, .p-link, .see-all { cursor: pointer; }
}

/* ══════════════════════════════════════════════════════
   PROJECT CARD — CLICKABLE
══════════════════════════════════════════════════════ */
a.p-card { text-decoration: none; display: block; }

.proj-feat { cursor: pointer; }

.proj-feat:hover .proj-img {
  filter: brightness(1.06);
}

/* ══════════════════════════════════════════════════════
   ALL PROJECTS PAGE
══════════════════════════════════════════════════════ */
#all-projects {
  padding: 140px 64px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.ap-count {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}

#all-projects .proj-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  #all-projects { padding: 120px 24px 80px; }
  #all-projects .proj-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  #all-projects .proj-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   PROJECT DETAIL PAGE
══════════════════════════════════════════════════════ */

/* Loading */
#pd-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 180px 64px 80px;
  gap: 48px;
}

.pd-skel-title {
  height: 72px;
  width: 55%;
  border-radius: 12px;
}

.pd-skel-sub {
  height: 20px;
  width: 40%;
  border-radius: 8px;
}

.pd-skel-device {
  position: relative;
  overflow: hidden;
}

.pd-skel-device.mobile-skel {
  width: 284px;
  height: 608px;
  border-radius: 52px;
}

.pd-skel-device.desktop-skel {
  width: min(880px, 90vw);
  height: 544px;
  border-radius: 14px;
}

.pd-skel-chrome {
  height: 44px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

/* Error */
#pd-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  padding: 40px;
}

.pd-error-code {
  font-family: var(--font-h);
  font-size: 120px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}

.pd-error-msg {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 8px;
}

/* Hero */
.pd-hero {
  padding: 140px 64px 72px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 56px;
  letter-spacing: .3px;
  transition: color .2s, gap .2s;
}

.pd-back:hover { color: var(--accent); gap: 12px; }

.pd-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pd-tag-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  background: rgba(200,241,53,.08);
  border: 1px solid rgba(200,241,53,.2);
  border-radius: 100px;
}

.pd-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text3);
  flex-shrink: 0;
}

.pd-year-lbl {
  font-size: 13px;
  color: var(--text2);
}

.pd-title {
  font-family: var(--font-h);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--text1);
  margin-bottom: 28px;
  max-width: 900px;
}

.pd-desc {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 44px;
}

/* Slider section */
.pd-slider-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  overflow: hidden;
}

/* ── Mobile (iPhone) frame ── */
.pd-device.mobile {
  position: relative;
  width: 284px;
  background: #0d0d0d;
  border-radius: 52px;
  padding: 14px;
  box-shadow:
    0 0 0 1.5px #2a2a2a,
    0 0 0 5px #111,
    0 0 0 6.5px #2a2a2a,
    0 60px 120px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,255,255,.03);
}

/* Power button (right) */
.pd-device.mobile::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 108px;
  width: 3.5px;
  height: 64px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}

/* Volume buttons (left) */
.pd-device.mobile::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 84px;
  width: 3.5px;
  height: 38px;
  background: #2a2a2a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 54px 0 #2a2a2a, 0 98px 0 #2a2a2a;
}

.pd-device.mobile .pd-device-screen {
  width: 100%;
  height: 580px;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

/* Dynamic island */
.pd-device-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0d0d0d;
  border-radius: 0 0 20px 20px;
  z-index: 10;
  pointer-events: none;
}

/* ── Desktop / Browser frame ── */
.pd-device.desktop {
  width: min(880px, 90vw);
  background: #161616;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px #2a2a2a,
    0 60px 120px rgba(0,0,0,.65);
}

.pd-device-chrome {
  height: 44px;
  background: #222;
  border-bottom: 1px solid #2e2e2e;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 0;
  flex-shrink: 0;
}

.pd-chrome-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pd-chrome-dot:nth-child(1) { background: #ff5f57; }
.pd-chrome-dot:nth-child(2) { background: #ffbd2e; margin-left: 7px; }
.pd-chrome-dot:nth-child(3) { background: #28c840; margin-left: 7px; }

.pd-chrome-bar {
  flex: 1;
  height: 26px;
  background: #1a1a1a;
  border-radius: 7px;
  margin-left: 16px;
  border: 1px solid #2e2e2e;
}

.pd-device.desktop .pd-device-screen {
  height: 500px;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

/* Slides */
.pd-slides-track {
  display: flex;
  height: 100%;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.pd-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* Controls */
.pd-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pd-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  transition: border-color .2s, background .2s, color .2s;
}

.pd-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,241,53,.06);
}

.pd-arrow:disabled {
  opacity: .2;
  pointer-events: none;
}

.pd-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pd-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--text3);
  cursor: pointer;
  transition: background .25s, width .3s;
  flex-shrink: 0;
}

.pd-dot.active {
  background: var(--accent);
  width: 22px;
}

/* Info section */
.pd-info-section {
  padding: 80px 64px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}

.pd-info-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 10px;
}

.pd-info-val {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--text1);
  text-transform: capitalize;
}

/* Responsive */
@media (max-width: 900px) {
  .pd-hero { padding: 120px 24px 56px; }
  .pd-info-section { padding: 56px 24px; }
  .pd-info-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .pd-device.desktop { width: 100%; border-radius: 10px; }
  .pd-device.desktop .pd-device-screen { height: 340px; }
  #pd-loading { padding: 160px 24px 80px; }
}

@media (max-width: 600px) {
  .pd-device.mobile { width: 240px; }
  .pd-device.mobile .pd-device-screen { height: 490px; }
  .pd-title { letter-spacing: -2px; }
  .pd-skel-title { width: 85%; }
}

/* ══════════════════════════════════════════════════════
   REVIEWS
   Tokens: all from :root — no hardcoded values.
   Notion hooks: [data-review], [data-review-text],
   [data-review-name], [data-review-meta], [data-review-rating]
══════════════════════════════════════════════════════ */

/* ─── Grid ────────────────────────────────────────── */
.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* ─── Card ────────────────────────────────────────── */
.rv-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .35s;
}

/* Decorative quote mark — accent tint, not interactive */
.rv-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-h);
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}

/* Hover: same lift + border glow as .p-card */
.rv-card:hover {
  border-color: rgba(200,241,53,.2);
  transform: translateY(-6px);
}

/* ─── Stars ───────────────────────────────────────── */
.rv-stars {
  align-self: center;
  display: flex;
  gap: 3px;
  color: var(--accent);
}

/* ─── Quote text ──────────────────────────────────── */
.rv-text {
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text1);
  margin: 0;
  flex: 1;
}

/* ─── Footer ──────────────────────────────────────── */
.rv-footer {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.rv-name {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: var(--text1);
}

/* Same pattern as .p-card-tag / .p-tag */
.rv-meta {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .rv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .rv-grid { grid-template-columns: 1fr; }
}