/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  /* Palette — updated to user's colour palette */
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --surface-2:   #FBF8FF;

  --text:        #1A1A1A;
  --text-2:      #4A4A4A;
  --text-3:      #8A8A8A;

  /* Pink */
  --rose:        #C42E5A;
  --rose-bg:     #FFB3C6;
  --rose-mid:    #FFCCD8;

  /* Forest green */
  --sage:        #2E4D1A;
  --sage-bg:     #C8DFBA;
  --sage-mid:    #7FAA60;

  /* Lavender */
  --lavender:    #6A58BE;
  --lavender-bg: #E9E1FF;
  --lavender-mid:#C4B8F8;

  /* Brown */
  --gold:        #4D2B0F;
  --gold-bg:     #EDD8BC;
  --gold-mid:    #A8744A;

  --border:      #EBEBEB;

  /* Shadows */
  --sh-sm: 0 2px 8px  rgba(70, 45, 35, 0.06);
  --sh-md: 0 4px 24px rgba(70, 45, 35, 0.10);
  --sh-lg: 0 12px 44px rgba(70, 45, 35, 0.13);

  /* Type */
  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body:    'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Radii */
  --r-s:  10px;
  --r-m:  18px;
  --r-l:  28px;
  --r-xl: 9999px;

  /* Layout */
  --nav-h:   72px;
  --max-w:   1120px;
  --pad:     clamp(20px, 5vw, 72px);
  --section: clamp(64px, 9vw, 120px);
}

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

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section); }
.section-tinted { background: var(--surface-2); }
.section-header { margin-bottom: clamp(36px, 5vw, 60px); }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--rose); }

/* ═══════════════════════════════════════════
   CHIPS / TAGS
═══════════════════════════════════════════ */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--r-xl);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.chip-rose     { background: var(--rose-bg);     color: #7A1830; }
.chip-sage     { background: var(--sage-bg);     color: #1A3A08; }
.chip-lavender { background: var(--lavender-bg); color: #3A2878; }
.chip-gold     { background: var(--gold-bg);     color: #3D1A00; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--r-xl);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #3A3430; transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
  padding: 11px 22px;
}
.btn-outline:hover { background: var(--text); color: #fff; }

.btn-text {
  background: transparent;
  color: var(--text-2);
  padding: 11px 14px;
  font-weight: 500;
}
.btn-text:hover { color: var(--text); }

.btn-nav {
  background: var(--rose-bg);
  color: var(--text);
  padding: 9px 18px;
  font-size: 0.82rem;
  border-radius: var(--r-xl);
}
.btn-nav:hover { background: var(--rose-mid); }

.btn-white {
  background: #fff;
  color: var(--text);
  padding: 16px 38px;
  font-size: 1rem;
  margin-bottom: 40px;
}
.btn-white:hover { background: var(--bg); transform: translateY(-2px); box-shadow: var(--sh-md); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  transition: transform .2s;
  flex-shrink: 0;
}
.logo-memoji {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.nav-logo:hover .logo-mark { transform: rotate(-4deg) scale(1.06); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-xl);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--surface-2);
}
.resume-arrow {
  display: inline-block;
  margin-left: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
  font-size: 0.8em;
}
.nav-link-resume:hover .resume-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s ease;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  padding: 8px var(--pad) 20px;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-link:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Blobs */
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.b1 { width: 480px; height: 480px; background: var(--rose-mid);    opacity: .28; top: -80px;  right: -60px; }
.b2 { width: 360px; height: 360px; background: var(--sage-mid);    opacity: .22; bottom: 0;   left: 8%; }
.b3 { width: 280px; height: 280px; background: var(--lavender-mid);opacity: .20; top: 45%;   right: 28%; }

/* Dot grid */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c8b8d8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .10;
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  box-shadow: var(--sh-sm);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #56C16A;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(86, 193, 106, .22);
}

.hero-name {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 18px;
}
.name-line { display: block; }
.italic { font-style: italic; color: var(--rose); }

.hero-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.82;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-card {
  position: relative;
  width: 270px; height: 270px;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--border);
}
.hero-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-bg), var(--lavender-bg));
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--sh-sm);
}
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding-inline: 20px; }

/* Memoji images inside avatar circles */
.hero-avatar-img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.profile-memoji {
  width: 115%;
  height: 115%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Floating dots on hero card */
.dot {
  position: absolute;
  border-radius: 50%;
}
.dot-r { width: 16px; height: 16px; background: var(--rose-mid);    top: 22px;    right: 22px; }
.dot-s { width: 11px; height: 11px; background: var(--sage-mid);    bottom: 28px; left: 26px;  }
.dot-l { width: 20px; height: 20px; background: var(--lavender-bg); bottom: 26px; right: 30px; }

.hero-prev-work { text-align: center; }
.prev-label {
  font-size: 0.73rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.prev-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.prev-pill {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-2);
  box-shadow: var(--sh-sm);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 1;
}
.scroll-arrow { animation: bounce 1.6s ease infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

/* Profile visual */
.profile-wrap {
  position: relative;
  width: 188px;
  height: 188px;
  margin: 0 auto 28px;
}
.profile-circle {
  position: relative;
  z-index: 2;
  width: 172px; height: 172px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-bg) 0%, var(--lavender-bg) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 8px auto 0;
  border: 3px solid #fff;
  box-shadow: var(--sh-md);
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed;
}
.ring-rose { border-color: var(--rose-mid); animation: spin 22s linear infinite; }
.ring-sage {
  inset: -10px;
  border-color: var(--sage-mid);
  animation: spin 32s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 14px 12px;
  text-align: center;
}
.stat-val {
  display: block;
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 0.68rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: .03em;
}

/* About text */
.about-body {
  font-size: 0.97rem;
  color: var(--text-2);
  line-height: 1.86;
  margin-bottom: 18px;
}
.about-body strong { color: var(--text); font-weight: 600; }

.skills-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 28px;
}
.skill-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.skill-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .09em;
  text-transform: uppercase;
  min-width: 60px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════ */

/* Adobe featured */
.exp-featured {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: linear-gradient(130deg, #FFF5F3 0%, #F8F4FF 100%);
  border: 1px solid var(--rose-mid);
  border-radius: var(--r-l);
  padding: 32px;
  margin-bottom: 20px;
}

.exp-feat-logo {
  width: 60px; height: 60px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 12px;
}
.exp-feat-logo svg { width: 100%; height: auto; }

.current-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: var(--r-xl);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.exp-feat-company {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.exp-feat-role {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 14px;
}
.exp-feat-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 20px;
}
.exp-feat-desc em { font-style: italic; color: var(--text); font-weight: 500; }

/* Metrics row inside Adobe featured card */
.exp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  margin-bottom: 18px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--rose);
  line-height: 1.1;
}
.metric-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-3);
}
@media (max-width: 640px) {
  .exp-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* Mini cards grid */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.exp-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 22px 20px;
}

.exp-mini-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.exp-mini-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.exp-mini-domain {
  font-size: 0.73rem;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════
   PROJECTS — Coming Soon
═══════════════════════════════════════════ */
.cs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.cs-card {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
/* Clickable variant (real case studies, not coming-soon) */
a.cs-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
a.cs-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--rose-mid);
}
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; margin-bottom: 14px; }
.cs-link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .15s;
}
a.cs-card-link:hover .cs-link-arrow { color: var(--text); }

/* Thumbnail area */
.cs-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.cs-thumb-recap    { background: linear-gradient(145deg, var(--rose-bg) 0%, var(--lavender-bg) 100%); }
.cs-thumb-autoopen { background: linear-gradient(145deg, var(--lavender-bg) 0%, var(--sage-bg) 100%); }

/* Real screenshot inside thumb */
.cs-thumb-img {
  max-height: 148px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.14));
}

/* CSS mock card for Recap thumbnail */
.thumb-mock {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  width: 170px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.thumb-mock-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2px;
}
.thumb-mock-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(to right, var(--rose-bg), var(--rose));
  border-radius: 2px;
}
.thumb-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.thumb-mock-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.thumb-mock-dot.rose     { background: var(--rose-bg); border: 1.5px solid var(--rose); }
.thumb-mock-dot.lavender { background: var(--lavender-bg); border: 1.5px solid var(--lavender); }
.thumb-mock-dot.sage     { background: var(--sage-bg); border: 1.5px solid var(--sage); }
.thumb-mock-line {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}
.thumb-mock-line.long  { width: 80px; }
.thumb-mock-line.med   { width: 60px; }
.thumb-mock-line.short { width: 45px; }
.thumb-mock-chip {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--rose-bg);
  color: var(--rose);
  border-radius: 20px;
  padding: 3px 10px;
  align-self: flex-start;
}

.cs-body {
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs-lock {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.75);
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  color: var(--text-2);
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.cs-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cs-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.cs-sub {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   PROJECTS — Grid
═══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  color: inherit;
}
.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.proj-img {
  height: 110px;
  background-color: var(--hue, var(--rose-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.proj-body { padding: 18px 18px 12px; flex: 1; }
.proj-tag  { margin-bottom: 10px; display: inline-block; }
.proj-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 7px;
  color: var(--text);
}
.proj-desc {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.72;
}

.proj-footer {
  padding: 13px 18px;
  border-top: 1px solid var(--border);
}
.proj-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
  transition: color .15s;
}
.proj-card:hover .proj-cta { color: var(--text); }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section {
  background: var(--text);
  position: relative;
  overflow: hidden;
  padding-block: var(--section);
}
.contact-blobs { position: absolute; inset: 0; pointer-events: none; }
.cb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .14;
}
.cb1 { width: 440px; height: 440px; background: var(--rose-mid);    top: -120px; right: -80px; }
.cb2 { width: 320px; height: 320px; background: var(--lavender-mid);bottom: -60px; left: 6%; }

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-tag { color: rgba(255,255,255,.45); }
.contact-heading {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.contact-heading em { font-style: italic; color: var(--rose-mid); }
.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.78;
}
.contact-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.clink {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  transition: color .15s;
}
.clink:hover { color: #fff; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  z-index: 100;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-top:hover { background: #3A3430; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: .12s; }
.fade-delay-2 { transition-delay: .24s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .exp-grid       { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: repeat(2, 1fr); }
}

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

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 32px 72px;
  }
  .hero-visual { display: none; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-wrap { width: 160px; height: 160px; }
  .profile-circle { width: 148px; height: 148px; }

  .exp-featured { flex-direction: column; gap: 20px; }
  .exp-grid     { grid-template-columns: repeat(2, 1fr); }

  .cs-row        { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .back-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .exp-grid    { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas   { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
}
