/* ================================================================
   nmbrguy-home — styles.css
   Mobile-first, no framework, no build step.
   ================================================================ */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:     #0d0d0d;
  --off-white: #f5f4f0;
  --accent:    #2563eb;
  --accent-dark: #1d4ed8;
  --muted:     #6b7280;
  --border:    #e5e7eb;

  --font-sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-w: 680px;
  --px:    1.25rem;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

/* ↗ icon on all links that open in a new tab */
a[target="_blank"]::after {
  content: "\00a0↗";
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: var(--off-white);
  padding: 1.75rem var(--px) 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ── Avatar ────────────────────────────────────────────────────── */
.avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  background: var(--border);   /* shows as a neutral circle if photo not yet added */
  margin-bottom: 0.375rem;
  flex-shrink: 0;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Handle & name ─────────────────────────────────────────────── */
.handle {
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--black);
}

.name {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── Bio & location ────────────────────────────────────────────── */
.bio {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  max-width: 520px;
  margin-top: 0.125rem;
}

.location {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Social nav ────────────────────────────────────────────────── */
.social-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}

.social-nav a {
  display: flex;
  align-items: center;
  transition: opacity 0.15s;
}

.social-nav a:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* Brand colors */
.sn-x         { color: #000000; }
.sn-instagram { color: #E4405F; }
.sn-youtube   { color: #FF0000; }
.sn-linkedin  { color: #0A66C2; }
.sn-medium    { color: #000000; }
.social-nav a[aria-label="Contact by email"] { color: var(--muted); }

/* suppress ↗ on icon-only links */
.social-nav a::after {
  content: none;
}

.social-nav svg {
  width: 22px;
  height: 22px;
}

/* ── Main content ──────────────────────────────────────────────── */
main {
  flex: 1 1 auto;
  padding: 0 var(--px) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-section {
  width: 100%;
  max-width: var(--max-w);
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-section h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
}

.content-section p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 0.125rem;
}

.section-link:hover {
  text-decoration: underline;
}

/* ── π symbol ──────────────────────────────────────────────────── */
.pi-sym {
  font-weight: 700;
  font-size: 1.15em;
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  padding: 1.5rem var(--px);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Tablet (≥ 640px) ──────────────────────────────────────────── */
@media (min-width: 640px) {
  .hero {
    padding: 2.25rem var(--px) 2rem;
  }

  .avatar-wrap {
    width: 112px;
    height: 112px;
  }

  .bio {
    font-size: 1.0625rem;
  }

  .content-section {
    padding: 1.75rem 0;
  }

  .content-section h2 {
    font-size: 1.125rem;
  }
}

/* ── Desktop (≥ 1024px) ────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root {
    --px: 2rem;
  }

  .hero {
    padding: 2.5rem var(--px) 2rem;
  }

  .avatar-wrap {
    width: 128px;
    height: 128px;
  }

  .handle {
    font-size: 1.75rem;
  }

  .bio {
    font-size: 1.125rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .content-section h2 {
    font-size: 1.25rem;
  }

  .content-section p,
  .section-link {
    font-size: 1rem;
  }
}

/* Last updated: 2026-Mar-24 17:18:06 IST */
