/* Inter font loaded via <link> in HTML for better performance */

:root {
  /* Backgrounds */
  --bg: #fdfdff;
  --bg-alt: #f2f2f7;
  --bg-card: rgba(255,255,255,0.72);
  --bg-overlay: rgba(255, 255, 255, 0.80);

  /* Liquid Glass Surface */
  --glass-bg:     rgba(255, 255, 255, 0.60);
  --glass-bg-alt: rgba(242, 242, 247, 0.65);
  --glass-blur:   blur(28px) saturate(200%);
  --glass-border: rgba(255, 255, 255, 0.70);
  --glass-border-outer: rgba(0, 0, 0, 0.07);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.85);
  --glass-shadow-hover: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  --glass-tint: rgba(0, 113, 227, 0.03);

  /* Borders */
  --border: rgba(0, 0, 0, 0.09);
  --border-subtle: rgba(0, 0, 0, 0.055);

  /* Typography */
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-label: #6e6e73;

  /* Brand */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-dark: #004c93;
  --accent-bg: rgba(0, 113, 227, 0.07);
  --accent-border: rgba(0, 113, 227, 0.18);
  --accent-glow: rgba(0, 113, 227, 0.25);

  /* Orb palette (background animation) */
  --orb-1: 207deg 92% 79%;   /* sky blue   */
  --orb-2: 280deg 65% 84%;   /* lavender   */
  --orb-3: 340deg 80% 88%;   /* rose/peach */
  --orb-4: 160deg 60% 82%;   /* mint       */

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.11), 0 4px 16px rgba(0,0,0,0.06);

  /* Radii */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions — spring physics */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fast: 0.18s;
  --med: 0.38s;
  --slow: 0.55s;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.58;
  position: relative;
}

/* ——————————————————————————————————————
   LIVING BACKGROUND — drifting colour orbs
   (CSS-only, no WebGL)
—————————————————————————————————————— */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.38;
}

body::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle,
    hsl(var(--orb-1)) 0%,
    hsl(var(--orb-2)) 50%,
    transparent 70%);
  top: -200px; left: -200px;
  transform: translate(60px, 60px);
}

body::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle,
    hsl(var(--orb-3)) 0%,
    hsl(var(--orb-4)) 55%,
    transparent 70%);
  bottom: -150px; right: -150px;
  transform: translate(-60px, -60px);
}

/* Two extra orbs via a wrapper — injected by JS */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.22;
}
.bg-orb-c {
  width: 500px; height: 500px;
  background: radial-gradient(circle,
    hsl(var(--orb-4)) 0%, transparent 70%);
  top: 40%; left: 55%;
  transform: translate(-30px, 30px);
}
.bg-orb-d {
  width: 400px; height: 400px;
  background: radial-gradient(circle,
    hsl(var(--orb-1)) 0%, transparent 70%);
  bottom: 30%; left: 10%;
  transform: translate(30px, -30px);
}

/* everything above the orbs must stack */
body > * { position: relative; z-index: 1; }

/* =========================================================
   NAVIGATION — Liquid Glass Bar
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(40px) saturate(220%);
  -webkit-backdrop-filter: blur(40px) saturate(220%);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 8px 32px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--fast) var(--ease);
  letter-spacing: -0.01em;
  padding: 6px 12px;
  border-radius: 99px;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.04);
}

.nav-links a.active {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--accent);
  border-radius: 99px;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--spring), box-shadow var(--fast) var(--ease);
  will-change: transform;
  box-shadow: 0 2px 8px rgba(0,113,227,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}
/* Always keep CTA blue — even when the contact section is active */
.nav-cta-link:hover,
.nav-cta-link.active,
.nav-cta-link:hover.active {
  background: var(--accent-hover) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,113,227,0.45), inset 0 1px 0 rgba(255,255,255,0.2) !important;
  transform: scale(1.04);
}
/* Reset: when active but not hovered, keep normal blue (not scaled) */
.nav-cta-link.active:not(:hover) {
  background: var(--accent) !important;
  color: #fff !important;
  transform: none;
  box-shadow: 0 2px 8px rgba(0,113,227,0.3), inset 0 1px 0 rgba(255,255,255,0.18) !important;
}


/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-secondary); border-radius: 99px;
  transition: all var(--fast) var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 110px 44px 96px;
  background: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 1000px; height: 700px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(0,113,227,0.06) 0%,
    rgba(160,100,255,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  animation: hero-hue-drift 14s ease-in-out infinite alternate;
}

@keyframes hero-hue-drift {
  0%   { opacity: 0.8; transform: translateX(-50%) scale(1); }
  100% { opacity: 1;   transform: translateX(-48%) scale(1.06); }
}

/* faint grid lines decoration */
.hero-orb, .hero-orb-1, .hero-orb-2, .hero-orb-3 { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px 6px 12px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(0,0,0,0.04);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  animation: fade-in-down 0.7s var(--ease-out) both;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on badge */
.hero-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255,255,255,0.5) 50%,
    transparent 60%);
  background-size: 200% 100%;
  animation: badge-shimmer 3.5s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: #34c759;
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.7); }
}

.hero-name {
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fade-in-up 0.8s 0.08s ease both;
}

.hero-name-first { color: var(--text-primary); }
.hero-name-last { color: var(--accent); }

.hero-title-wrapper {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: fade-in-up 0.8s 0.16s ease both;
}

.hero-title {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.hero-typewriter {
  color: var(--text-primary);
  font-weight: 500;
  border-right: 2px solid var(--accent);
  padding-right: 3px;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
  0%,100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}

.hero-description {
  max-width: 500px;
  margin: 0 auto 44px;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  animation: fade-in-up 0.8s 0.24s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s 0.32s ease both;
}

.btn-primary {
  padding: 14px 30px;
  background: var(--accent);
  border: none;
  border-radius: 99px;
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--spring), box-shadow var(--fast) var(--ease);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 12px rgba(0,113,227,0.36), 0 1px 2px rgba(0,113,227,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
  will-change: transform;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.045);
  box-shadow: 0 6px 24px rgba(0,113,227,0.48), 0 2px 6px rgba(0,113,227,0.25), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: scale(0.97); box-shadow: 0 1px 4px rgba(0,113,227,0.3); }

.btn-secondary {
  padding: 13px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  color: var(--accent);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 2;
  transition: all var(--fast) var(--spring);
  letter-spacing: -0.01em;
  box-shadow: var(--glass-shadow);
  will-change: transform;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.85);
  transform: scale(1.04);
  box-shadow: var(--glass-shadow-hover);
}
.btn-secondary:active { transform: scale(0.97); }

.btn-download {
  padding: 13px 22px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 7px;
  transition: all var(--fast) var(--spring);
  letter-spacing: -0.01em;
  box-shadow: var(--glass-shadow);
  will-change: transform;
}
.btn-download:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.9);
  color: var(--text-primary);
  transform: scale(1.04);
  box-shadow: var(--glass-shadow-hover);
}
.btn-download:active { transform: scale(0.97); }

.hero-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  animation: fade-in-up 0.8s 0.44s ease both;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 0 18px;
  letter-spacing: -0.01em;
}

.hero-meta-item svg { opacity: 0.6; flex-shrink: 0; }

.hero-meta-item--available {
  color: #1d7d3b;
  font-weight: 500;
}

.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero-meta-sep {
  color: var(--border);
  font-size: 18px;
  line-height: 1;
  user-select: none;
  font-weight: 300;
}


/* ---- HERO FEATURE STRIP ---- */
.hero-feature-strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  animation: fade-in-up 0.8s 0.44s ease both;
  flex-wrap: wrap;
  gap: 0;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 36px;
  gap: 8px;
  flex: 1;
  min-width: 160px;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,113,227,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-feature-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero-feature-sep {
  width: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
  flex-shrink: 0;
}

.hero-scroll { display: none; }

/* ---- BLOG CAROUSEL ---- */
.blog-carousel-wrap {
  padding: 8px 2px;
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}

.blog-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.blog-carousel-card {
  flex: 0 0 calc(50% - 12px);
  min-width: 0;
}

.blog-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.blog-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.blog-carousel-btn svg { width: 16px; height: 16px; }
.blog-carousel-btn:hover:not(:disabled) {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}
.blog-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

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

.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  padding: 0;
}
.blog-dot--active {
  background: var(--text-primary);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 680px) {
  .blog-carousel-card { flex: 0 0 calc(100% - 2px); }
  .hero-feature-sep { display: none; }
  .hero-feature { padding: 14px 20px; }
}


/* =========================================================
   SECTION BASE
   ========================================================= */
.section-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,113,227,0.12) 20%,
    rgba(160,100,255,0.1) 50%,
    rgba(0,113,227,0.12) 80%,
    transparent 100%);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

@keyframes divider-shimmer {
  0%   { background-position: 200% 0; opacity: 0.5; }
  50%  { opacity: 1; }
  100% { background-position: -200% 0; opacity: 0.5; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--spring);
}
.reveal.visible { opacity:1; transform:translateY(0) scale(1); }
.reveal-left {
  opacity:0; transform:translateX(-22px);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--spring);
}
.reveal-left.visible { opacity:1; transform:translateX(0); }

/* =========================================================
   ABOUT — #f5f5f7 section
   ========================================================= */
.about-section {
  padding: 85px 44px;
  background: var(--bg-alt);
}

.about-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-quote { position: relative; }

.about-quote-mark {
  font-size: 220px;
  font-weight: 900;
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0,0,0,0.06);
  font-family: 'Helvetica Neue', Georgia, serif;
  position: absolute;
  top: -32px; left: -28px;
  pointer-events: none;
  user-select: none;
}

.about-quote-text {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  padding-left: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.about-quote-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.about-detail-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius);
  padding: 20px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--glass-shadow);
  transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--spring);
  will-change: transform;
}
.about-detail-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-3px) scale(1.01);
}

.about-detail-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.about-detail-icon svg { width: 17px; height: 17px; }

.about-detail-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.about-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* =========================================================
   EXPERIENCE — white section
   ========================================================= */
.experience-section {
  padding: 85px 44px;
  background: var(--bg);
}

.experience-inner {
  max-width: 980px;
  margin: 0 auto;
}

.experience-header { margin-bottom: 60px; }

.timeline {
  position: relative;
  padding-left: 25px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(0,113,227,0.3) 70%, transparent 100%);
}

.timeline-item { position: relative; margin-bottom: 28px; }

.timeline-dot {
  position: absolute;
  left: -30px; top: 11px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.2);
}

.timeline-dot.current {
  animation: dot-pulse 2.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(0,113,227,0.2); }
  50% { box-shadow: 0 0 0 7px rgba(0,113,227,0.08); }
}

.job-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--glass-shadow);
  transition: box-shadow var(--med) var(--spring), transform var(--fast) var(--spring);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.job-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
  pointer-events: none;
}

.job-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px) scale(1.005);
}

.job-card:hover::after { opacity: 1; }

.job-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.job-company {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.job-role {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.job-period {
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-period.current {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

.job-role-block {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.job-role-block:last-child { margin-bottom: 0; }
.job-role-block--secondary { background: rgba(245,245,247,0.5); }

.job-role-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .job-role-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

.job-role-period {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 2px 9px;
}

.job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-bullets li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.58;
  padding-left: 16px;
  position: relative;
  letter-spacing: -0.005em;
}

.job-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* =========================================================
   PROJECTS — #f5f5f7 section
   ========================================================= */
.projects-section {
  padding: 85px 44px;
  background: var(--bg-alt);
}

.projects-inner {
  max-width: 980px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.proj.beyond-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--fast) var(--ease);
  position: relative;
}

.beyond-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* ---- INSTA STACK (3D Hover Effect) ---- */
.insta-stack {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 100px;
  height: 100px;
  perspective: 1200px;
  z-index: 10;
}
.insta-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform-style: preserve-3d;
  background: #fff;
  border: 4px solid #fff;
}
.insta-img-1 { transform: rotate(-8deg) translateZ(0px); z-index: 3; }
.insta-img-2 { transform: rotate(4deg) translateZ(-20px) scale(0.9); z-index: 2; opacity: 0.9; }
.insta-img-3 { transform: rotate(-4deg) translateZ(-40px) scale(0.8); z-index: 1; opacity: 0.7; }

.beyond-card:hover .insta-img-1 {
  transform: translateY(-15px) translateX(-35px) rotate(-14deg) scale(1.1);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.beyond-card:hover .insta-img-2 {
  transform: translateY(-5px) translateX(20px) rotate(8deg) scale(1.1);
  opacity: 1;
  z-index: 4;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.beyond-card:hover .insta-img-3 {
  transform: translateY(20px) translateX(-10px) rotate(-4deg) scale(1.1);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--glass-shadow);
  transition: box-shadow var(--med) var(--spring), transform var(--fast) var(--spring);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.project-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px);
}

.project-card--wip {
  cursor: default;
  background: rgba(245,245,247,0.6);
}
.project-card--wip:hover { transform: none; box-shadow: var(--shadow-sm); }

.project-logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 52px;
}

.project-logo {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

.project-logo--sm {
  max-height: 40px;
  max-width: 40px;
  border-radius: 8px;
}

.project-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.project-icon svg { width: 19px; height: 19px; }

.project-link-icon {
  color: var(--text-muted);
  transition: color var(--med) var(--ease), transform var(--med) var(--ease);
}
.project-link-icon svg { width: 14px; height: 14px; }
.project-card:hover .project-link-icon {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.project-wip-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  background: rgba(255,149,0,0.1);
  border: 1px solid rgba(255,149,0,0.22);
  border-radius: 99px;
  color: #c96a00;
}

.project-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project-tags span {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 9px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  color: var(--text-label);
}

/* =========================================================
   SKILLS — white section
   ========================================================= */
.skills-section {
  padding: 85px 44px;
  background: var(--bg);
}

.skills-inner {
  max-width: 980px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 60px;
}

.skill-category {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: box-shadow var(--fast) var(--spring), transform var(--fast) var(--spring);
  box-shadow: var(--glass-shadow);
  will-change: transform;
}
.skill-category:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.skill-category-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.skill-category-icon svg { width: 18px; height: 18px; }

.skill-category-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  padding: 5px 11px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--fast) var(--spring);
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}
.skill-tag:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,113,227,0.3);
  color: var(--accent);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,113,227,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* =========================================================
   WRITING / BLOG
   ========================================================= */
.writing-section {
  padding: 85px 44px;
  background: var(--bg);
}

.writing-inner {
  max-width: 980px;
  margin: 0 auto;
}

.writing-header { margin-bottom: 60px; }

.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.writing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--fast) var(--spring), transform var(--fast) var(--spring);
  will-change: transform;
}

.writing-card:not(.writing-card--placeholder):hover {
  transform: translateY(-5px) scale(1.01);
}

.writing-card--placeholder {
  background: rgba(245,245,247,0.5);
  border-style: dashed;
}

.writing-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.writing-card-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-transform: uppercase;
}

.writing-card-date {
  font-size: 11.5px;
  color: var(--text-muted);
}

.writing-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}

.writing-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  letter-spacing: -0.005em;
}

.writing-placeholder-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.writing-placeholder-icon svg { width: 20px; height: 20px; }

.writing-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-top: 4px;
  transition: gap var(--fast) var(--ease);
}
.writing-card-cta svg { width: 13px; height: 13px; transition: transform var(--fast) var(--ease); }
.writing-card:hover .writing-card-cta svg { transform: translateX(3px); }

.writing-card-img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  max-height: 250px;
  border: 1px solid var(--border-subtle);
  margin-top: 4px;
}

/* =========================================================
   BEYOND CODE (new section) — #f5f5f7
   ========================================================= */
.beyond-section {
  padding: 85px 44px;
  background: var(--bg-alt);
}

.beyond-inner {
  max-width: 980px;
  margin: 0 auto;
}

.beyond-header { margin-bottom: 60px; }

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.beyond-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--fast) var(--spring), transform var(--fast) var(--spring);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.beyond-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px) scale(1.008);
}

.beyond-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.beyond-card-icon--gold { background: rgba(255,149,0,0.1); color: #c96a00; }
.beyond-card-icon--blue { background: var(--accent-bg); color: var(--accent); }

.beyond-card-icon svg { width: 26px; height: 26px; }

.beyond-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  line-height: 1.1;
}

.beyond-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  letter-spacing: -0.01em;
}

.beyond-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: gap var(--fast) var(--ease);
}
.beyond-card-cta svg { width: 14px; height: 14px; transition: transform var(--fast) var(--ease); }
.beyond-card:hover .beyond-card-cta svg { transform: translateX(3px); }

/* ---- BEYOND PHOTOS ---- */
.beyond-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.beyond-photo-card {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform var(--fast) var(--ease-out);
  cursor: pointer;
}
.beyond-photo-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  z-index: 2;
}
.beyond-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease-out);
}
.beyond-photo-card:hover img {
  transform: scale(1.06);
}

@media (max-width: 860px) {
  .beyond-photos { grid-template-columns: repeat(3, 1fr); }
  .beyond-photo-card:nth-child(n+4) { display: none; }
}

/* =========================================================
   EDUCATION — white section
   ========================================================= */
.education-section {
  padding: 85px 44px;
  background: var(--bg);
}

.education-inner {
  max-width: 980px;
  margin: 0 auto;
}

.education-header { margin-bottom: 60px; }

.education-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}

.btn-resume-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  border: none;
  border-radius: 99px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-resume-download:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}

.edu-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow var(--fast) var(--spring), transform var(--fast) var(--spring);
  position: relative;
  padding-left: 40px;
  box-shadow: var(--glass-shadow);
  will-change: transform;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 28px; left: 0;
  width: 3px; height: 52px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  opacity: 0.55;
}

.edu-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px) scale(1.005);
}

.edu-year {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.edu-degree {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 8px;
}

.edu-institution {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.edu-college {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
  padding: 96px 44px 60px;
  background: #1d1d1f;
  text-align: center;
  position: relative;
}

.contact-orb { display: none; }

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-section .section-label {
  color: rgba(255,255,255,0.45);
  justify-content: center;
}

.contact-title {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: #f5f5f7;
  margin-bottom: 22px;
}

.contact-title span { color: #007aff; }

.contact-sub {
  font-size: 17px;
  color: rgba(245,245,247,0.6);
  margin-bottom: 44px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.contact-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px;
  color: rgba(245,245,247,0.75);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--fast) var(--spring);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
  will-change: transform;
}
.contact-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: #f5f5f7;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.contact-link:active { transform: scale(0.97); }
.contact-link svg { flex-shrink: 0; opacity: 0.8; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy { font-size: 12px; color: rgba(245,245,247,0.65); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-img {
  width: 22px; height: 22px;
  border-radius: 5px;
  opacity: 0.7;
  object-fit: contain;
}
.footer-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: rgba(245,245,247,0.5);
  letter-spacing: -0.02em;
}

.footer-location {
  font-size: 12px;
  color: rgba(245,245,247,0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes fade-in-up {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fade-in-down {
  from { opacity:0; transform:translateY(-12px); }
  to { opacity:1; transform:translateY(0); }
}

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

@media (max-width: 860px) {
  .hero-badge {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 32px;
    z-index: 800;
  }
  .nav-links.open a {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
  }
  .nav-links.open .nav-cta-link {
    font-size: 20px !important;
    padding: 12px 28px;
    margin-top: 10px;
  }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-quote-mark { font-size: 120px; }

  .beyond-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }

  .hero, .about-section, .experience-section, .projects-section,
  .skills-section, .beyond-section, .education-section, .contact-section {
    padding: 55px 24px;
  }

  .hero-stats { border-right: none; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border-subtle); padding: 24px 28px; }
  .hero-stat:last-child { border-bottom: none; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .hero-name { letter-spacing: -0.04em; }
  .job-card { padding: 22px 18px; }
  .edu-card { padding: 24px 24px 24px 30px; }
}

/* Cursor glow - disabled on light theme */
/* Cursor glow — removed (performance) */

/* =========================================================
   TOUCH DEVICE PERFORMANCE
   (hover: none) targets phones/tablets — disables GPU-heavy
   effects that cause scroll jank on iOS Safari.
   ========================================================= */
@media (hover: none) {
  /* Hide parallax orbs — JS-driven transforms jank scroll on iOS */
  .bg-orb { display: none; }
  body::before, body::after { display: none; }

  /* Replace backdrop-filter glass with solid backgrounds.
     Looks nearly identical, costs zero GPU compositing layers. */
  .nav.scrolled,
  .job-card,
  .project-card,
  .skill-category,
  .writing-card,
  .beyond-card,
  .edu-card,
  .stat-card,
  .hero-badge {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  /* Contact links on dark background */
  .contact-link {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Remove will-change — no hover on touch screens */
  .project-card, .skill-category, .writing-card,
  .beyond-card, .edu-card, .contact-link,
  .hero-badge, .nav {
    will-change: auto !important;
  }
}
