/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --cream:#f7f5f0;
  --white:#ffffff;
  --ink:#1a1a1a;
  --mid:#5a5a5a;
  --light:#9a9a9a;
  --accent:#2c5f4a;
  --accent-light:#e8f0ec;
  --border:#e2ddd7;
  --gold:#b8976a;
  --red:#e63329;
}

html{ scroll-behavior:smooth; }

body{
  font-family:'DM Sans', sans-serif;
  background:var(--cream);
  color:var(--ink);
  min-height:100vh;
}

/* ---------- TOPBAR ---------- */
.topbar{
  background:var(--accent);
  color:#fff;
  text-align:center;
  padding:10px 20px;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:500;
}

/* ---------- NAV ---------- */
nav{
  background:var(--white);
  border-bottom:1px solid var(--border);
  padding:14px 60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:10;
}

.nav-brand{
  text-decoration:none;
  font-family:'Cormorant Garamond', serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:1px;
}

.brand-n{ color:var(--red); }
.brand-t{ color:var(--accent); }

.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-link{
  text-decoration:none;
  color:var(--mid);
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:500;
  transition:color .2s;
}

.nav-link:hover{ color:var(--accent); }

.nav-cta{
  text-decoration:none;
  border:1.5px solid var(--accent);
  color:var(--accent);
  padding:10px 14px;
  border-radius:2px;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:500;
  transition:background .2s, transform .2s, color .2s;
}

.nav-cta:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-1px);
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo-icon{
  width:50px;
  height:35px;
  object-fit:contain;
}

.logo-wordmark{
  font-family:'Cormorant Garamond', serif;
  font-size:30px;
  font-weight:600;
  letter-spacing:1px;
}

.logo-red{ color:#e63329; }
.logo-green{ color:#2c5f4a; }

/* ---------- LAYOUT ---------- */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:38px 24px 60px;
}

.profile-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:6px;
  box-shadow:0 12px 44px rgba(0,0,0,.06);
  display:grid;
  grid-template-columns: 360px 1fr;
  overflow:hidden;
}

/* left panel */
.profile-left{
  background:linear-gradient(180deg, var(--accent-light), #ffffff);
  border-right:1px solid var(--border);
  padding:34px 28px;
}

.avatar {
  width: 92px;       /* same as initials version */
  height: 92px;      /* same as initials version */
  border-radius: 50%;
  border: 3px solid var(--border);
  overflow: hidden;  /* clips photo into circle */
  margin-bottom: 16px;
}

.emp-avatar-img {
  width: 100%;       /* fills the 92px container */
  height: 100%;      /* fills the 92px container */
  object-fit: cover; /* no stretching */
  border-radius: 50%;
}

.name{
  font-family:'Cormorant Garamond', serif;
  font-size:34px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:6px;
}

.role{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  font-weight:500;
  margin-bottom:18px;
}

.meta{
  border-top:1px solid var(--border);
  padding-top:18px;
  margin-top:8px;
}

.meta-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--mid);
  font-size:14px;
  line-height:1.6;
  margin-bottom:12px;
}

.dot{
  width:6px;
  height:6px;
  background:var(--gold);
  border-radius:50%;
  flex-shrink:0;
  margin-top:7px;
}

.quick-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  padding:12px 16px;
  border-radius:3px;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:500;
  transition:transform .2s, background .2s;
}

.btn:hover{
  background:#1e4434;
  transform:translateY(-2px);
}

.btn-outline{
  display:inline-block;
  border:1.5px solid var(--accent);
  color:var(--accent);
  text-decoration:none;
  padding:12px 16px;
  border-radius:3px;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:500;
  transition:transform .2s, background .2s, color .2s;
}

.btn-outline:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-2px);
}

/* right panel */
.profile-right{
  padding:34px 34px;
}

.section-head{
  margin-bottom:14px;
  margin-top:22px;
}

.section-head:first-child{ margin-top:0; }

.label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
  margin-bottom:10px;
}

.label::before{
  content:'';
  width:22px;
  height:1px;
  background:var(--gold);
}

.title{
  font-family:'Cormorant Garamond', serif;
  font-size:32px;
  font-weight:300;
  line-height:1.15;
}

.title strong{ font-weight:600; }

.para{
  color:var(--mid);
  font-size:15px;
  line-height:1.9;
}

.list{
  margin-top:10px;
  padding-left:18px;
  color:var(--mid);
  line-height:1.9;
  font-size:15px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:10px;
}

.contact-card{
  background:var(--cream);
  border:1px solid var(--border);
  border-radius:4px;
  padding:18px 16px;
  text-align:center;
}

.contact-card .icon{
  width:44px;
  height:44px;
  background:var(--accent-light);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
  font-size:18px;
}

.contact-card h4{
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--light);
  font-weight:500;
  margin-bottom:6px;
}

.contact-card p{
  font-size:14px;
  color:var(--ink);
  line-height:1.6;
}

.contact-card a{
  color:var(--accent);
  text-decoration:none;
}

.backline{
  margin-top:18px;
}

.backlink{
  color:var(--accent);
  text-decoration:none;
  font-weight:500;
}

/* ---------- FOOTER ---------- */
footer{
  text-align:center;
  padding:26px 14px;
  color:rgba(0,0,0,.45);
  font-size:13px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px){
  .profile-card{
    grid-template-columns:1fr;
  }
  .profile-left{
    border-right:none;
    border-bottom:1px solid var(--border);
  }
  .contact-grid{
    grid-template-columns:1fr;
  }
}