/* ============================================
   NEIL DESHPANDE PORTFOLIO — SHARED STYLES
   Used by: index.html, about.html, and all case studies
   ============================================ */

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

:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --bg: #fafaf8;
  --surface: #ffffff;
  --border: #e8e6e0;
  --border-light: #f0ede6;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .logo {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }

/* LAYOUT */
.container { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.wide { max-width: 800px; margin: 0 auto; padding: 0 2rem; }

/* FOOTER */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
footer p { font-size: 13px; color: var(--text-muted); }

/* SECTIONS */
section { padding: 72px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  nav { gap: 1.25rem; }
  .container, .wide { padding: 0 1.25rem; }
}
