/* Minimal, readable, mobile-first */
:root{
  --bg:#0b0f17;
  --card:#111827;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --accent:#60a5fa;
  --border:#1f2937;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55
}

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

.container{max-width:980px;margin:0 auto;padding:24px}

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
  padding-bottom:14px;
  margin-bottom:22px
}
.nav .brand{font-weight:700;color:var(--text)}
.nav .links{display:flex;gap:14px;flex-wrap:wrap}

.badge{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  font-size:12px
}

/* HERO: equal-height cards + clean layout */
.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:stretch;   /* <- key for same-height cards */
}
@media (max-width:820px){
  .hero{grid-template-columns:1fr}
}

/* Base card */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px
}

/* Only hero cards become flex so we can push the photo down nicely */
.hero > .card{
  display:flex;
  flex-direction:column;
}

/* Typography */
.h1{font-size:30px;margin:0 0 10px}
.h2{font-size:18px;margin:0 0 10px}
.p{margin:0 0 10px;color:var(--muted)}
.small{font-size:13px;color:var(--muted)}

.list{
  margin:0;
  padding-left:18px;
  color:var(--muted)
}
.list li{margin:6px 0}

/* Grids inside pages */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media (max-width:820px){.grid{grid-template-columns:1fr}}

.footer{
  margin-top:34px;
  padding-top:16px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px
}

.kv{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
  align-items:center
}
.kv a{
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:12px;
  background:transparent;
  color:var(--text)
}
.kv a:hover{border-color:var(--accent);text-decoration:none}

hr{border:none;border-top:1px solid var(--border);margin:18px 0}

/* Profile photo: consistent size + stays aligned */
.profile-pic{
  display:block;
  width:min(250px, 100%);
  aspect-ratio:4 / 5;      /* keeps it “portrait” */
  object-fit:cover;        /* crops nicely if needed */
  border-radius:18px;
  border:1px solid var(--border);

  /* pushes photo toward the bottom so both hero cards look aligned */
  margin-top:auto;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:0;
}
