/* Base */
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height:1.7;
  color:#1a1a1a;
  background:#f4f5f7;
}

/* Layout */
.layout{
  display:flex;
  min-height:100vh;
}

/* Sidebar */
.sidebar{
  width:360px;
  flex-shrink:0;
  background:#1f2a30;
  color:#fff;
  padding:60px 40px;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
}

.profile-pic{
  width:170px;
  height:170px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:28px;
}

.name{
  margin:0 0 6px 0;
  font-size:34px;
}

.role{
  margin:0 0 18px 0;
  opacity:0.85;
}

.sidebar h4{
  margin:26px 0 10px 0;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.75;
}

.sidebar p{
  margin:0;
  opacity:.9;
}

.skills-list{
  list-style:none;
  padding:0;
  margin:0;
}

.skills-list li{
  margin:0 0 8px 0;
  font-size:14px;
  opacity:.85;
}

.email{
  margin-top:30px;
  font-size:14px;
  opacity:.8;
}

/* Right content */
.content{
  flex:1;
  padding:70px 70px 90px;
}

/* Work */
.work-title{
  font-size:28px;
  margin:0 0 40px 0;
}

/* CASE STUDY: 2-column grid */
.case{
  background:#fff;
  border-radius:14px;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 55px rgba(0,0,0,0.10);
  padding:38px;
  margin-bottom:34px;

  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:40px;
  align-items:center;
}

.case h3{
  margin:0 0 14px 0;
  font-size:22px;
}

.case p{
  margin:0 0 12px 0;
  color:#555;
}

.result{
  margin-top:16px;
}

.case img{
  width:100%;
  border-radius:12px;
  display:block;
  border:1px solid #e5e7eb;
}

/* Mobile */
@media (max-width: 980px){
  .layout{ flex-direction:column; }
  .sidebar{ position:relative; height:auto; width:auto; }
  .content{ padding:40px 22px 70px; }

  .case{
    grid-template-columns: 1fr;
    padding:24px;
  }
}/* Sidebar */
.sidebar{
  width:380px;
  flex-shrink:0;
  background:#1f2a30;
  color:#fff;
  padding:80px 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;   /* centers all text */
}

/* Bigger profile image */
.profile-pic{
  width:220px;
  height:220px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:30px;
}

/* Name */
.name{
  margin:0 0 10px 0;
  font-size:36px;
}

/* Role */
.role{
  margin:0 0 30px 0;
  opacity:0.85;
}

/* Section headers */
.sidebar h4{
  margin:30px 0 10px 0;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.7;
}

/* About paragraph */
.sidebar p{
  margin:0;
  opacity:.9;
  max-width:300px;
}

/* Skills list centered */
.skills-list{
  list-style:none;
  padding:0;
  margin:0;
}

.skills-list li{
  margin:0 0 8px 0;
  font-size:14px;
  opacity:.85;
}

/* Email */
.email{
  margin-top:30px;
  font-size:14px;
  opacity:.8;
}