/* CSS for jambuatchison.com */


  /* Default: dark mode */
  :root {
    --bg: #020617;            /* page background */
    --card-bg: #020617;       /* card background (slightly lifted by shadow) */
    --text: #e5e7eb;          /* primary text */
    --muted: #9ca3af;         /* secondary text */
    --accent: #60a5fa;        /* links / accents */
    --accent-soft: #0b1220;   /* soft accent background */
    --border: #1f2937;        /* card borders / dividers */
    --radius: 12px;
  }

  /* Light mode override if supported */
  @media (prefers-color-scheme: light) {
    :root {
      --bg: #f5f5f7;
      --card-bg: #ffffff;
      --text: #1f2933;
      --muted: #6b7280;
      --accent: #2563eb;
      --accent-soft: #dbeafe;
      --border: #e5e7eb;
    }
  }

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

  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      "Lucida Grande", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
  }

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

  a:hover {
    text-decoration: underline;
  }

  header {
    padding: 32px 16px 16px;
  }

  .container {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 16px 40px;
  }

  .hero {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
  }

  .hero-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .hero-meta {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 12px;
  }

  .hero-meta span + span::before {
    content: "·";
    margin: 0 6px;
    color: var(--border);
  }

  .hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .pill-link {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card-bg);
  }

  .pill-link.highlight {
    border-color: var(--accent-soft);
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 500;
  }

  .hero-blurb {
    font-size: 0.97rem;
    color: var(--text);
    margin-top: 4px;
  }

  main {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 20px;
  }

  @media (max-width: 800px) {
    main {
      grid-template-columns: 1fr;
    }
  }

  section {
    margin-bottom: 20px;
  }

  .card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
  }

  .section-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
  }

  .experience-item + .experience-item {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
  }

  .experience-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 4px;
  }

  .job-title {
    font-weight: 600;
    font-size: 0.98rem;
  }

  .job-meta {
    font-size: 0.85rem;
    color: var(--muted);
  }

  .company-line {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 4px;
  }

  .experience-item ul {
    list-style: disc;
    margin-left: 1.1rem;
    margin-top: 4px;
    font-size: 0.92rem;
  }

  .experience-item li + li {
    margin-top: 2px;
  }

  .tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tag {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--muted);
    background: var(--card-bg);
    white-space: nowrap;
  }

  .project-item + .project-item {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
  }

  .project-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .project-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .project-desc {
    font-size: 0.9rem;
  }

  .contact-card p {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .contact-card strong {
    font-weight: 600;
  }

  footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    padding: 12px 16px 24px;
  }
