
:root{
  --accent:#2a5d9f;
  --ink:#2b2b2b;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f7f8fb;
  --white:#fff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Helvetica, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

.wrapper{
  max-width:1024px;
  margin:0 auto;
  padding:32px 20px 56px;
}

.hero{
  display:grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap:28px;
  align-items:center;
  margin-bottom:28px;
}
@media (max-width: 820px){
  .hero{grid-template-columns: 1fr}
  .photo{justify-self:start}
}

.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

h1{
  font-size:40px;
  line-height:1.1;
  margin:0 0 12px 0;
}
.titles{
  margin: 10px 0 14px 0;
}
.titles p{
  margin: 8px 0 0 10px; /* slight indent and spacing */
  font-size:20px;       /* just smaller than name */
  font-weight:600;
  color:#424242;
}

.links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:10px;
}
.links a{
  display:inline-block;
  text-decoration:none;
  color:var(--white);
  background:var(--accent);
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  transition: all .15s ease;
}
.links a.secondary{
  background:transparent;
  color:var(--accent);
  border-color:var(--accent);
}
.links a:hover{
  transform: translateY(-1px);
  box-shadow:0 6px 12px rgba(42,93,159,0.18);
}

.photo{
  justify-self:end;
}
.photo img{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:50%;
  border:6px solid var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.content{
  margin-top:24px;
}
.content p{
  margin:0 0 16px 0;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.content p:last-child{
  border-bottom:none;
  padding-bottom:0;
}
a.inline{
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(42,93,159,0.25);
}
a.inline:hover{
  border-bottom-color: rgba(42,93,159,0.6);
}
