:root {
  --primary:    #1e3a5f;
  --accent:     #3a7bd5;
  --text:       #2d2d2d;
  --text-muted: #666;
  --bg:         #ffffff;
  --bg-light:   #f5f7fa;
  --border:     #e0e4ea;
  --max-width:  960px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

/* ── Navigation ── */

header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover,
nav a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* ── Main layout ── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* ── About page ── */

.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  display: block;
}

.robster-logo {
  margin-top: 1rem;
  border-radius: 0;
  box-shadow: none;
}

.about-content h1 {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.about-content .tagline {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.2rem;
}

/* Interest cards */

.interests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.interest-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}

.interest-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.interest-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Contact page ── */

.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.page-header p {
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 12px rgba(58,123,213,0.15);
  transform: translateY(-1px);
}

.contact-icon {
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.contact-info .platform {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}

.contact-info .handle {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.contact-phone {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-phone .contact-icon { font-size: 1.4rem; }

.contact-phone strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-phone a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-phone a:hover { color: var(--accent); }

/* ── Footer ── */

footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.4rem 2rem;
  font-size: 0.82rem;
}

footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

footer a:hover { color: #fff; }

/* ── Responsive ── */

@media (max-width: 720px) {
  nav { padding: 0 1rem; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo img {
    max-width: 220px;
    margin: 0 auto;
  }

  .interests {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  main { padding: 2rem 1rem 3rem; }
}
