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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── Hero / Profile ── */
.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
  margin-bottom: 20px;
}

.hero blockquote {
  font-style: italic;
  color: #aaa;
  border-left: 3px solid #444;
  padding-left: 14px;
  margin: 16px auto;
  max-width: 380px;
  text-align: left;
  font-size: 0.95rem;
}

.hero blockquote cite {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #777;
}

/* ── Cards ── */
.card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 8px;
}

/* ── Info pills ── */
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.pill {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ── Tags / Interests ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.tag {
  background: #222;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: #ccc;
}

/* ── Contact & Social ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-grid ul {
  list-style: none;
}

.contact-grid li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  word-break: break-all;
}

.contact-grid a {
  color: #6bacde;
  text-decoration: none;
}

.contact-grid a:hover {
  text-decoration: underline;
}

/* ── Sub-pages grid ── */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.page-link {
  display: block;
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.page-link:hover {
  background: #2a2a2a;
  border-color: #555;
}

.page-link .icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.coming-soon {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}

/* ── Equipment ── */
.equipment-section h3 {
  font-size: 0.95rem;
  color: #aaa;
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.equipment-section h3:first-child {
  margin-top: 0;
}

.spec-list {
  list-style: none;
  font-size: 0.85rem;
  color: #bbb;
}

.spec-list li {
  padding: 4px 0;
  border-bottom: 1px solid #1f1f1f;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-label {
  color: #888;
  min-width: 110px;
  display: inline-block;
}

/* ── Bio ── */
.bio {
  font-size: 0.92rem;
  color: #aaa;
  line-height: 1.7;
}

/* ── Links section ── */
.links-list {
  list-style: none;
}

.links-list li {
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.links-list a {
  color: #6bacde;
  text-decoration: none;
}

.links-list a:hover {
  text-decoration: underline;
}

/* ── Inline style replacements ── */
.references-heading {
  margin-top: 20px;
}

.old-device {
  color: #555;
}

.social-extra {
  color: #666;
  font-size: 0.8rem;
}
