/* ============================================================
   Naim Lindsay — Portfolio · iOS 26 Liquid Glass
   ============================================================ */

:root {
  /* ── Canvas ── */
  --bg:           #f0f0f5;
  --bg2:          #ffffff;

  /* ── Glass surfaces (white frosted) ── */
  --glass-1:      rgba(255, 255, 255, 0.55);
  --glass-2:      rgba(255, 255, 255, 0.80);
  --glass-3:      rgba(255, 255, 255, 0.95);

  /* ── Borders ── */
  --border:       rgba(0, 0, 0, 0.07);
  --border2:      rgba(0, 0, 0, 0.11);

  /* ── Type ── */
  --text:         #1d1d1f;
  --muted:        #6e6e73;
  --muted2:       #aeaeb2;

  /* ── Brand colors ── */
  --accent:       #0071e3;
  --accent-glow:  rgba(0, 113, 227, 0.25);
  --green:        #28cd41;
  --green-glow:   rgba(40, 205, 65, 0.25);

  /* ── Misc ── */
  --radius:       16px;
  --blur-nav:     saturate(200%) blur(28px);
  --blur-card:    saturate(200%) blur(40px);
  --blur-pill:    blur(20px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 56px;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.nav--scrolled {
  background: rgba(245, 245, 247, 0.94);
  border-bottom-color: rgba(0,0,0,0.09);
  box-shadow: 0 0.5px 0 rgba(0,0,0,0.08);
}

/* ── NL App Icon Logo ───────────────────────────────────────── */
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-brand:hover .nav-logo {
  transform: scale(1.06) translateY(-1px);
  box-shadow:
    0 6px 20px rgba(10,132,255,0.45),
    0 2px 6px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Looks like a real iOS app icon: squircle + gradient fill */
.nav-logo {
  width: 38px;
  height: 38px;
  /* iOS squircle approximation */
  border-radius: 9px;
  background: linear-gradient(150deg, #1c2d5e 0%, #0a50c4 55%, #0a84ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow:
    0 3px 10px rgba(0,0,0,0.55),
    0 1px 3px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* Solid white letters — no gradients, no clip */
.nav-logo-n,
.nav-logo-l {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.nav-active { color: var(--text); position: relative; }
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-social { display: flex; gap: 4px; }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.icon-btn:hover { color: var(--text); background: rgba(0,0,0,0.05); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  /* Very subtle page-level gradient so glass orbs have depth to refract */
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(10,132,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 80% 60% at 85% 70%, rgba(191,90,242,0.04) 0%, transparent 50%),
              radial-gradient(ellipse 70% 50% at 10% 80%, rgba(52,199,89,0.03) 0%, transparent 50%),
              var(--bg);
}

/* Subtle dot grid — dark dots on light bg */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 0%, transparent 80%);
}

/* Floating glass orbs — give the backdrop-filter something to blur through */
.hero-glow {
  position: absolute;
  pointer-events: none;
}
.hero-glow--blue {
  top: 8%;
  left: 20%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,132,255,0.16) 0%, rgba(10,132,255,0.04) 45%, transparent 70%);
  animation: orb-drift 12s ease-in-out infinite alternate;
  filter: blur(40px);
}
.hero-glow--purple {
  bottom: 5%;
  right: 12%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,90,242,0.12) 0%, rgba(191,90,242,0.03) 45%, transparent 70%);
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
  filter: blur(50px);
}
.hero-glow--green {
  bottom: 20%;
  left: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,199,89,0.10) 0%, transparent 65%);
  animation: orb-drift 20s ease-in-out infinite alternate;
  filter: blur(45px);
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(22px, -18px) scale(1.08); }
}

.hero-inner {
  position: relative;
  max-width: 700px;
  text-align: center;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: var(--blur-pill);
  -webkit-backdrop-filter: var(--blur-pill);
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(52,199,89,0); }
}

/* ── H1 ── */
.hero-inner h1 {
  font-size: clamp(38px, 8.5vw, 92px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.05;
  margin-bottom: 16px;
  /* Dark-to-blue gradient — legible on white */
  background: linear-gradient(160deg, #1d1d1f 0%, #3a3a3c 50%, #0071e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.07);
  border: 0.5px solid rgba(0, 113, 227, 0.22);
  border-radius: 8px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 16px rgba(0,113,227,0.15); }
}

.hero-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ── Stats glass pill ── */
.hero-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.65);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 18px 36px;
  gap: 36px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.07),
    0 1px 4px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.stat-num {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.stat-label { font-size: 11px; color: var(--muted); font-weight: 500; white-space: nowrap; }

.stat-divider { width: 0.5px; height: 34px; background: var(--border2); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 980px;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(10,132,255,0.35);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(10,132,255,0.55);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 980px;
  border: 0.5px solid var(--border2);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  backdrop-filter: var(--blur-pill);
  -webkit-backdrop-filter: var(--blur-pill);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-outline:hover {
  border-color: rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.95);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 100px 24px;
  border-top: 0.5px solid var(--border);
}
.section-inner { max-width: 960px; margin: 0 auto; }
.section-inner--narrow { max-width: 640px; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 52px;
  line-height: 1.1;
  color: var(--text);
}

.section-sub { font-size: 16px; color: var(--muted); margin-bottom: 40px; line-height: 1.75; }
.section-sub a { color: var(--accent); }

/* ── About ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

/* AI callout */
.ai-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  background: rgba(0,113,227,0.05);
  border: 0.5px solid rgba(0,113,227,0.18);
  border-radius: 16px;
  padding: 16px 18px;
}
.ai-callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.ai-callout-title { font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 4px !important; }
.ai-callout-body { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0 !important; }

/* Skills */
.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-content: start;
}
.skill-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
}
.skill-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.skill-col li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
  transition: color 0.15s, padding-left 0.15s;
  cursor: default;
}
.skill-col li:hover { color: var(--text); padding-left: 16px; }
.skill-col li::before { content: '–'; position: absolute; left: 0; color: var(--muted2); transition: color 0.15s; }
.skill-col li:hover::before { color: var(--accent); }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 980px;
  background: rgba(0,0,0,0.05);
  color: var(--muted);
  border: 0.5px solid rgba(0,0,0,0.1);
}
.tag-live { background: rgba(40,205,65,0.1); color: #1a7a2e; border-color: rgba(40,205,65,0.25); }
.tag-soon { background: rgba(255,149,0,0.1); color: #944d00; border-color: rgba(255,149,0,0.25); }
.tag-here { background: rgba(255,149,0,0.1); color: #944d00; border-color: rgba(255,149,0,0.25); }
.tag-coming {
  background: rgba(40,205,65,0.1);
  color: #1a7a2e;
  border-color: rgba(40,205,65,0.25);
  animation: tag-pulse 2.5s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); }
  50%       { box-shadow: 0 0 10px rgba(52,199,89,0.4); }
}

/* ── Projects Stack ─────────────────────────────────────────── */
.projects-stack { display: flex; flex-direction: column; gap: 14px; }

.projects-note { margin: -4px 0 16px; color: var(--muted); font-size: 14px; }
.projects-note a { color: var(--text); font-weight: 600; text-decoration: none; }
.projects-note a:hover { color: var(--accent); }

.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.app-card {
  background: var(--glass-1);
  border: 0.5px solid var(--border2);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
}
.app-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.app-name { font-size: 16px; font-weight: 700; }
.app-desc { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.app-links { display: flex; gap: 12px; flex-wrap: wrap; }
.app-links a {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-decoration: none; padding: 6px 10px;
  border: 0.5px solid var(--border2); border-radius: 10px;
  background: var(--glass-2);
}
.app-links a:hover { border-color: var(--accent); }
.app-card--wide { grid-column: 1 / -1; }

/* ── Staggered card reveal ───────────────────────────────────── */
.proj-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s cubic-bezier(0.22,1,0.36,1),
    transform 0.55s cubic-bezier(0.22,1,0.36,1),
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.proj-card.card-visible { opacity: 1; transform: translateY(0); }
.proj-card--static.card-visible { opacity: 0.72; }

/* ── Project Cards — Frosted Glass ──────────────────────────── */
.proj-card {
  display: flex;
  align-items: center;
  /* Richer glass: more opacity contrast + strong top-edge highlight */
  background: rgba(255,255,255,0.72);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 0.5px solid rgba(255,255,255,0.85);
  border-bottom-color: rgba(0,0,0,0.07);
  border-right-color: rgba(0,0,0,0.05);
  border-radius: 22px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  text-decoration: none;
  color: inherit;
  /* Layered shadow: outer lift + colored accent glow + inner top-edge glass highlight */
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 8px 24px rgba(0,0,0,0.09),
    0 2px 6px rgba(0,0,0,0.05),
    0 0 0 0.5px rgba(0,0,0,0.06);
}
.proj-card:not(.proj-card--static):hover {
  border-color: rgba(255,255,255,1);
  background: rgba(255,255,255,0.90);
  transform: translateY(-4px);
  box-shadow:
    0 2px 0 rgba(255,255,255,1) inset,
    0 20px 50px rgba(0,0,0,0.13),
    0 6px 16px rgba(0,0,0,0.07),
    0 0 0 0.5px rgba(0,0,0,0.08);
  text-decoration: none;
}
.proj-card--static { cursor: default; }

.proj-accent-bar { width: 4px; align-self: stretch; background: var(--proj-accent, var(--accent)); flex-shrink: 0; }

.proj-icon {
  width: 64px; height: 64px; margin: 0 20px;
  border-radius: 14px; overflow: hidden; flex-shrink: 0;
  background: var(--proj-accent-bg, rgba(0,0,0,0.04));
  border: 0.5px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.proj-body { flex: 1; padding: 22px 20px 22px 0; min-width: 0; }

.proj-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }

.proj-date { font-size: 11px; color: var(--muted2); font-weight: 500; margin-left: auto; }

.proj-body h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 6px; color: var(--text); }

.proj-body p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; max-width: 620px; }

.proj-bullets { list-style: disc; margin: 0 0 12px 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.proj-bullets--tight { margin-bottom: 8px; }
.proj-note { font-size: 13px; font-weight: 600; color: var(--muted2); margin: 4px 0 6px; }

.proj-cta { font-size: 13px; font-weight: 600; color: var(--proj-accent, var(--accent)); }

/* ── Project screenshots ────────────────────────────────────── */
.proj-screens { display: flex; gap: 8px; padding: 16px 12px 16px 0; flex-shrink: 0; align-items: center; }
.proj-screen {
  width: 58px; height: 104px; border-radius: 10px; overflow: hidden;
  border: 0.5px solid rgba(0,0,0,0.08); flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.proj-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proj-screen--wide { width: 180px; height: 104px; }
@media (max-width: 860px) { .proj-screens { display: none; } }

.proj-arrow { padding: 0 24px; color: var(--muted2); flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.proj-card:not(.proj-card--static):hover .proj-arrow {
  color: var(--proj-accent, var(--text));
  transform: translate(3px, -3px);
}

/* ── Contact ────────────────────────────────────────────────── */
.section--contact {
  /* Subtle blue-purple mesh so glass form card pops */
  background:
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(191,90,242,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(10,132,255,0.06) 0%, transparent 50%),
    linear-gradient(to bottom, var(--bg), #e6e6ef);
}

/* Split layout: left info + right form */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

/* Left panel */
.contact-info { padding-top: 6px; }
.contact-info h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; color: var(--text); }
.contact-info p  { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }

.contact-chips { display: flex; flex-direction: column; gap: 10px; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255,255,255,0.9);
  border-bottom-color: rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  width: fit-content;
}
.contact-chip:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,1);
  text-decoration: none;
  color: var(--text);
}
.contact-chip-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

/* Right: form wrapped in glass card */
.contact-card {
  background: rgba(255,255,255,0.68);
  backdrop-filter: saturate(200%) blur(40px);
  -webkit-backdrop-filter: saturate(200%) blur(40px);
  border: 0.5px solid rgba(255,255,255,0.88);
  border-bottom-color: rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 36px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 12px 40px rgba(0,0,0,0.10),
    0 3px 8px rgba(0,0,0,0.05),
    0 0 0 0.5px rgba(0,0,0,0.06);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 11px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), inset 0 1px 2px rgba(0,0,0,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12), 0 1px 3px rgba(0,0,0,0.05);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23aeaeb2'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: rgba(255,255,255,0.80);
}
.form-group select option { background: #ffffff; color: var(--text); }

.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: #ffffff; font-size: 14px; font-weight: 700;
  padding: 14px 32px; border-radius: 980px; border: none; cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  box-shadow: 0 2px 14px rgba(10,132,255,0.40);
}
.form-submit:hover:not(:disabled) {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(10,132,255,0.55);
}
.form-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.submit-icon { font-style: normal; font-size: 16px; }

@media (max-width: 760px) {
  .contact-split { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { padding: 24px; }
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 0.5px solid rgba(0,0,0,0.08);
  padding: 32px 48px;
  background: rgba(245,245,247,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-name { font-size: 14px; font-weight: 700; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 12px; color: var(--muted2); }
.footer-capstone {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.15s;
}
.footer-capstone:hover { color: var(--text); text-decoration: none; }

/* ── Hamburger ───────────────────────────────────────────────── */
.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0.5px solid var(--border2);
  border-radius: 8px; cursor: pointer; padding: 8px 10px;
}
.hamburger-btn span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .hamburger-btn { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 56px; left: 0; right: 0; transform: none;
    background: rgba(240,240,245,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    padding: 20px 24px; gap: 20px; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-social { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .skills-list { grid-template-columns: 1fr 1fr; }
  .proj-arrow { display: none; }
  footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stats { padding: 14px 20px; gap: 20px; }
}
@media (max-width: 560px) {
  .proj-icon { width: 44px; height: 44px; margin: 0 12px; font-size: 18px; }
  .proj-body h3 { font-size: 16px; }
  .proj-body p { font-size: 13px; }
  .proj-card { padding: 16px 12px; }
}
@media (max-width: 520px) {
  .section { padding: 56px 16px; }
  .hero { padding: 48px 16px 64px; min-height: auto; }
  .hero-inner h1 {
    font-size: clamp(34px, 10.5vw, 54px);
    letter-spacing: -1.5px;
  }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    margin-bottom: 40px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .form-row { grid-template-columns: 1fr; }
  .skills-list { grid-template-columns: 1fr; }
  .hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
    width: 100%;
    max-width: 320px;
  }
  .stat-divider { width: 44px; height: 0.5px; }
  .contact-card { padding: 20px 16px; }
}
@media (max-width: 380px) {
  nav { padding: 0 14px; }
  .nav-logo { width: 34px; height: 34px; font-size: 12.5px; }
  .section-title { font-size: clamp(24px, 7.5vw, 32px); }
  .hero-title { font-size: 10px; letter-spacing: 1.5px; padding: 4px 10px; }
  .hero-inner h1 { font-size: clamp(30px, 10vw, 42px); letter-spacing: -1px; }
}

/* ── Scroll progress bar ─────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(to right, var(--accent), var(--green));
  z-index: 9999; border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* ── Typed cursor (hidden — static text is more Apple-style) ── */
.hero-role-cursor { display: none; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
