/* ============================================================
   Andrew Burchett — Personal Developer Site
   style.css
   ============================================================ */

:root {
  --bg:           #08080e;
  --surface:      #10101a;
  --surface-2:    #18182a;
  --border:       #1e1e30;
  --accent:       #b02020;
  --accent-glow:  rgba(176, 32, 32, 0.18);
  --text:         #e2e2ee;
  --text-muted:   #7878a0;
  --text-dim:     #4a4a6a;
  --link:         #cf5050;
  --link-hover:   #e07070;
  --radius:       8px;
  --max-w:        760px;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:         'Consolas', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--link-hover); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / Hero ---- */
header {
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 24px;
  box-shadow: 0 0 24px var(--accent-glow);
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 8px;
}

header .title {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

header .bio {
  margin-top: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 0.975rem;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  text-align: left;
}

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

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ---- Project Cards ---- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.project-card.placeholder {
  opacity: 0.5;
  pointer-events: none;
}

.project-card .card-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.project-card .card-name a { color: inherit; }
.project-card .card-name a:hover { color: var(--link-hover); }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.coming-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ---- Links / Profiles ---- */
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.profile-link:hover {
  color: var(--text);
  border-color: var(--accent);
}
.profile-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- Contact ---- */
.contact-email {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: inline-block;
}

/* ---- Footer ---- */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--text-muted); }
footer .sep { margin: 0 10px; }

/* ---- Privacy page specific ---- */
.prose h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.prose .updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.prose h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}
.prose p, .prose li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.prose ul {
  padding-left: 20px;
  margin-top: 8px;
}
.prose li { margin-bottom: 4px; }
.prose .placeholder-note {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.back-link:hover { color: var(--text); }
