@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Lora:ital,wght@0,400;1,400;1,600&family=DM+Mono:wght@400;500&display=swap');

/* ── Design tokens ── */
:root {
  --primary:  #0F6E56;
  --dark:     #085041;
  --light:    #E1F5EE;
  --accent:   #1D9E75;
  --highlight:#9FE1CB;
  --hero-gradient: linear-gradient(135deg, #085041 0%, #0F6E56 55%, #1D9E75 100%);
  --text:     #1a1a1a;
  --muted:    #6b7280;
  --border:   #e5e7eb;
  --white:    #ffffff;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Sora', sans-serif; }

/* ── NAV ── */
#main-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#main-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.nav-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.25rem;
}

/* ── HERO ── */
.hero {
  background: var(--hero-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  color: var(--highlight);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(159,225,203,0.3);
  margin-bottom: 1.75rem;
}
.hero-tag .dot { animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.hero h1 span { color: var(--highlight); }

.hero-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
}
.scroll-bar {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:0.25} 50%{opacity:0.9} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  padding: 2.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item .value {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--highlight);
  line-height: 1;
}
.stat-item .label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* ── SECTION SHELL ── */
section { padding: 5.5rem 2rem; }
.section-inner { max-width: 900px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

/* ── ABOUT ── */
#about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}

.about-bio {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}
.about-bio p + p { margin-top: 1.1rem; }
.about-bio a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.about-bio a:hover { text-decoration: underline; }

.info-card {
  background: var(--light);
  border: 1px solid rgba(15,110,86,0.15);
  border-radius: 14px;
  padding: 1.5rem;
}
.info-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15,110,86,0.1);
  font-size: 0.875rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .key {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  min-width: 88px;
  padding-top: 2px;
  flex-shrink: 0;
}
.info-row .val { font-weight: 500; color: var(--text); }

.chip {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin: 0.15rem 0.1rem;
}

/* ── EXPERIENCE ── */
#experience { background: #f9fafb; }

.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--light) 100%);
}

.timeline-item { position: relative; margin-bottom: 2.75rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.18rem;
  top: 0.45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2.5px solid #f9fafb;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item.current::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.3), 0 0 0 6px rgba(29,158,117,0.1);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100%{ box-shadow: 0 0 0 3px rgba(29,158,117,0.3), 0 0 0 6px rgba(29,158,117,0.1); }
  50%    { box-shadow: 0 0 0 5px rgba(29,158,117,0.4), 0 0 0 10px rgba(29,158,117,0.08); }
}

.timeline-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.timeline-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.timeline-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.timeline-bullets { list-style: none; }
.timeline-bullets li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.1rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.65;
}
.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0; top: 0.32rem;
  color: var(--accent);
  font-size: 0.65rem;
}

/* ── SKILLS ── */
#skills { background: #fff; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.skill-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.skill-card::after {
  content: '';
  position: absolute;
  inset-block-start: 0; inset-inline: 0;
  height: 3px;
  background: var(--hero-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.skill-card:hover {
  border-color: rgba(15,110,86,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,110,86,0.1);
}
.skill-card:hover::after { transform: scaleX(1); }

.skill-icon { font-size: 1.75rem; margin-bottom: 0.9rem; }
.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag {
  background: var(--light);
  color: var(--primary);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  font-weight: 500;
}

/* ── PROJECTS ── */
#projects { background: #f9fafb; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,110,86,0.1);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
  width: fit-content;
}
.badge-live  { background: #dcfce7; color: #166534; }
.badge-dev   { background: #fef9c3; color: #854d0e; }
.badge-beta  { background: #dbeafe; color: #1e40af; }

.project-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.project-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-tag {
  background: var(--light);
  color: var(--primary);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ── CONNECT ── */
#connect { background: #fff; }

.connect-panel {
  background: var(--hero-gradient);
  border-radius: 18px;
  padding: 3.5rem 3rem;
  text-align: center;
  color: #fff;
}
.connect-panel h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.connect-panel p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  max-width: 500px;
  margin-inline: auto;
}
.connect-links { display: flex; justify-content: center; gap: 0.875rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 2.75rem 2rem;
  text-align: center;
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--highlight);
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--highlight); }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── PRIVATE PAGE ── */
#page-private { display: none; }

.private-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}
.login-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.75rem 2.5rem;
  width: min(380px, 92vw);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.login-card .lock-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.login-card h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.login-card > p { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.5rem; }

.login-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
}
.login-input:focus { border-color: var(--primary); }

.login-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover { background: var(--dark); }

.login-error {
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.6rem;
  display: none;
}

/* ── DASHBOARD ── */
.dashboard { display: none; min-height: 100vh; background: #f4f6f8; }

.dash-header {
  background: var(--dark);
  color: #fff;
  height: 56px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-header h1 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dash-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--highlight);
}

.dash-layout {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: calc(100vh - 56px);
}

.sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
}
.sidebar-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.9rem 1.25rem 0.35rem;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  user-select: none;
}
.sidebar-item:hover:not(.disabled) { background: var(--light); color: var(--primary); }
.sidebar-item.active { border-left-color: var(--primary); background: var(--light); color: var(--primary); }
.sidebar-item.disabled { opacity: 0.38; cursor: not-allowed; }
.sidebar-item .soon {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  opacity: 0.55;
}

.dash-main { padding: 1.25rem; overflow: auto; }

/* ── NOTES TOOL ── */
.notes-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  height: calc(100vh - 56px - 2.5rem);
}

.notes-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.notes-toolbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.notes-search {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}
.notes-search:focus { border-color: var(--primary); }

.btn-sm {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.18s;
}
.btn-sm-primary { background: var(--primary); color: #fff; }
.btn-sm-primary:hover { background: var(--dark); }
.btn-sm-ghost { background: #fff; color: var(--muted); border: 1.5px solid var(--border); }
.btn-sm-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm-danger { background: #fff; color: #dc2626; border: 1.5px solid #fecaca; }
.btn-sm-danger:hover { background: #fef2f2; border-color: #dc2626; }

.notes-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.notes-empty {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 1.5rem 0;
}

.note-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.18s;
}
.note-card:hover { border-color: rgba(15,110,86,0.4); }
.note-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(15,110,86,0.15);
}
.note-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
}
.note-preview {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.45rem;
}
.note-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: rgba(0,0,0,0.28);
}
.note-wc {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: var(--accent);
}

.note-editor {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.note-editor-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.editor-title {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
}
.editor-body {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.75;
  resize: none;
  color: var(--text);
  min-height: 200px;
}
.editor-footer {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.editor-status {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}
.editor-wc {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--primary);
}

.dash-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 320px;
  gap: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.dash-placeholder .ph-icon { font-size: 2.5rem; }
.dash-placeholder h3 { font-family: 'Sora', sans-serif; font-size: 1rem; color: var(--text); }
.dash-placeholder p { font-size: 0.85rem; max-width: 280px; }

/* ── Utility animations ── */
@keyframes spin        { to { transform: rotate(360deg); } }
@keyframes fadeInUp    { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes shake       {
  0%,100% { transform:translateX(0); }
  20%,60% { transform:translateX(-6px); }
  40%,80% { transform:translateX(6px); }
}
.shake { animation: shake 0.35s ease; }

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

@media (max-width: 768px) {
  .nav-links       { display: none; }
  .nav-toggle      { display: block; }
  .nav-links.open  {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    z-index: 99;
  }
  .stats-bar       { grid-template-columns: repeat(2, 1fr); }
  .skills-grid     { grid-template-columns: 1fr; }
  .projects-grid   { grid-template-columns: 1fr; }
  .connect-panel   { padding: 2.5rem 1.5rem; }
  .dash-layout     { grid-template-columns: 1fr; }
  .sidebar         { border-right: none; border-bottom: 1px solid var(--border); }
  .notes-layout    { grid-template-columns: 1fr; height: auto; }
}

@media (max-width: 480px) {
  .hero-ctas  { flex-direction: column; }
  .connect-links { flex-direction: column; align-items: center; }
}
