:root{
  --green-main: #3d6939;     /* background green */
  --green-dark: #305b36;     /* dark outline */
  --green-pill: #4c9042;     /* pill fill */
  --panel: #fcfcf3;          /* off-white panel */
  --text: #0e1a10;
  --link: #1b57b8;
}

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--green-main);
  min-height: 100vh;
}

/* pseudo circuit pattern */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(circle at 12px 12px, rgba(255,255,255,0.10) 2px, transparent 3px) 0 0 / 48px 48px;
}

/* Optional left banner */
.left-banner{
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  background: rgba(25,55,28,0.55);
  border-right: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text{
  transform: rotate(-90deg);
  text-align: center;
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
  user-select: none;
}
.banner-big{ font-weight: 700; font-size: 34px; }
.banner-small{ font-size: 10px; margin-top: 6px; opacity: 0.9; }

/* Main centered panel */
.page{
  max-width: 860px;
  margin: 22px auto;
  padding: 16px 18px 28px;
  background: var(--panel);
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-radius: 4px;
  position: relative;
}

/* leave space for left banner */
@media (min-width: 900px){
  .page{ margin-left: 110px; }
}

/* Top nav split */
.top-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 14px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  margin-bottom: 18px;
}

.nav-left{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-right{
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* Pills */
.pill{
  display: inline-block;
  padding: 7px 14px;
  background: var(--green-pill);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--green-dark);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.pill:hover{ filter: brightness(0.95); }
.pill.active{
  background: #ffffff;
  color: #18401e;
}

/* Icon links (right side) */
.icon-link{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--green-dark);
  text-decoration: none;
}

.icon-link svg{
  width: 20px;
  height: 20px;
  fill: #18401e;
}

.icon-link:hover{
  filter: brightness(0.95);
}

/* Profile card */
.card{
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: rgba(255,255,255,0.55);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.photo-wrap{
  flex: 0 0 310px;
  max-width: 310px;
}
.photo{
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

.info h1{
  margin: 0 0 8px;
  font-size: 28px;
  color: #24562b;
}

.role{
  margin: 0 0 14px;
}

.meta{
  margin: 10px 0 14px;
}

.label{
  font-weight: 700;
}

a{ color: var(--link); }

/* Sections */
.section{
  margin-top: 26px;
}
.section h2{
  margin: 0 0 8px;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 760px){
  .left-banner{ display: none; }
  .page{ margin: 14px; }
  .card{ flex-direction: column; }
  .photo-wrap{ max-width: 100%; flex-basis: auto; }
}
