:root{
  /* Theme direction inspired by pedronobre.co’s clean academic portfolio vibe:
     lots of whitespace, muted grays, crisp typography, restrained accent. */
  --bg: #0b0f0d;
  --paper: #ffffff;
  --ink: #0b0f0d;
  --muted: #5a6460;
  --soft: #f5f7f6;
  --card: #ffffff;
  --stroke: rgba(11,15,13,.10);

  /* Accent: “bio/green” with professional restraint */
  --accent: #1f589d;
  --accent-ink: #0b0f0d;
  --accent-soft: rgba(31,157,85,.10);

  --radius: 16px;
  --shadow: 0 18px 50px rgba(11,15,13,.08);
  --shadow-soft: 0 8px 24px rgba(11,15,13,.08);

  --container: 1100px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  width:auto;
  height:auto;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  z-index: 999;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-elevated{
  border-bottom-color: var(--stroke);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .2px;
}
.brand-mark{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
}
.brand-text .muted{ margin-left: 8px; color: var(--muted); font-weight: 600; }

.brand-mark.brand-logo{
  width: 34px;
  height: 34px;
  padding: 0;           /* critical: remove inner breathing room */
  overflow: hidden;     /* keeps rounded corners clean */
  background: transparent; /* optional: remove accent-soft background */
}

/* Make the image truly fill */
.brand-mark.brand-logo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;    /* fills the box; may crop edges */
}

.site-nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav-link{
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(11,15,13,.86);
  font-weight: 500;
}
.nav-link:hover{
  background: rgba(11,15,13,.04);
}
.nav-link.is-active{
  background: var(--accent-soft);
  color: var(--ink);
}
.nav-cta{
  background: var(--accent);
  color: white;
  padding: 10px 14px;
}
.nav-cta:hover{ filter: brightness(.98); }

.nav-toggle{
  display:none;
  border: 1px solid var(--stroke);
  background: var(--paper);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  box-shadow: none;
}
.nav-toggle-bars{
  width: 18px;
  height: 12px;
  display:block;
  margin: 0 auto;
  background:
    linear-gradient(var(--ink),var(--ink)) 0 0/100% 2px,
    linear-gradient(var(--ink),var(--ink)) 0 50%/100% 2px,
    linear-gradient(var(--ink),var(--ink)) 0 100%/100% 2px;
  background-repeat:no-repeat;
  opacity:.85;
}

@media (max-width: 860px){
  .nav-toggle{ display:inline-block; }
  .site-nav{
    position: absolute;
    right: 20px;
    top: 68px;
    width: min(320px, calc(100vw - 40px));
    padding: 12px;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    display:none;
  }
  .site-nav.is-open{ display:flex; }
}

/* Typography helpers */
.eyebrow{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
h1{ font-size: clamp(32px, 5vw, 46px); line-height: 1.08; margin: 10px 0 12px; }
h2{ font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
h3{ font-size: 18px; margin: 0 0 8px; }
.lead{ font-size: 17px; color: rgba(11,15,13,.82); max-width: 62ch; }
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip: rect(0,0,0,0);
  border:0;
}

/* Layout sections */
.section{
  padding: 56px 0;
}
.section-soft{
  background: var(--soft);
  border-top: 1px solid rgba(11,15,13,.04);
  border-bottom: 1px solid rgba(11,15,13,.04);
}
.section-head{
  margin-bottom: 18px;
}
.stack{ display: grid; gap: 18px; }

/* Hero */
.hero{
  padding: 54px 0 20px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-actions{
  display:flex;
  gap: 10px;
  margin: 18px 0 20px;
  flex-wrap: wrap;
}
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 700px){
  .hero-metrics{ grid-template-columns: 1fr; }
}
.metric{
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
}
.metric-value{ font-weight: 700; }
.metric-label{ color: var(--muted); font-size: 13px; }

/* Cards & grid */
.grid{ display:grid; gap: 14px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr);align-items: start; }
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
}
@media (max-width: 850px){
  .grid-2{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--stroke);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: none;
}
.card-glass{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.card-header{ padding: 18px 18px 0; }
.card-body{ padding: 18px; }
.card-title{ margin: 0 0 6px; }
.card-subtitle{ margin: 0; color: var(--muted); }

.divider{
  height: 1px;
  background: var(--stroke);
  margin: 14px 0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  cursor: pointer;
}
.btn-primary{
  background: var(--accent);
  color: white;
  border-color: transparent;
}
.btn-primary:hover{ filter: brightness(.98); }
.btn-ghost{
  background: transparent;
}
.btn-ghost:hover{ background: rgba(11,15,13,.04); }

/* Lists */
.checklist{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.checklist li{
  padding-left: 26px;
  position: relative;
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.pill-list{
  list-style:none;
  padding:0;
  margin: 0 0 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill{
  display:inline-flex;
  padding: 7px 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(31,157,85,.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.link-list{
  display:grid;
  gap: 8px;
}
.link{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.65);
}
.link:hover{
  background: rgba(11,15,13,.04);
}

/* Toolbars */
.toolbar{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  margin: 14px 0 18px;
  flex-wrap: wrap;
}
.search input, .select select{
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 10%;
  font: inherit;
  background: rgba(255,255,255,.85);
  min-width: 320px;
}
.select select{ min-width: 200px; }

/* Callout */
.callout{
  margin-top: 20px;
  border: 1px solid rgba(31,157,85,.22);
  background: rgba(31,157,85,.06);
  border-radius: var(--radius);
}
.callout-inner{
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Members */
.group-title{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--stroke);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.7);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}
.members-length {
  min-width: 100px;
}

/* Member card layout: give the photo real presence */
.person{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.person-meta{
  min-width: 0; /* critical: allows content to shrink/wrap properly */
}
/* Avatar container */
.avatar{
  width: 96px;
  height: 96px;
  border-radius: 18px;      /* change to 999px for a perfect circle */
  border: 1px solid var(--stroke);
  overflow: hidden;          /* required to clip image */
  background: linear-gradient(135deg, rgba(31,157,85,.18), rgba(11,15,13,.05));
  flex: 0 0 auto;
}
.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills and crops nicely */
  object-position: center;
  display: block;
} 
.avatar{
  width: 100%;
  height: 100%;           /* fill entire column */
  border-radius: 20px;    /* adjust shape */
  overflow: hidden;
  border: 1px solid var(--stroke);
}
.tags{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag{
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.7);
  color: rgba(11,15,13,.75);
  font-weight: 600;
}
.card-links{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.card-links a{
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}
.card-links a:hover{ text-decoration: underline; }

/* Footer */
.site-footer{
  padding: 26px 0;
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.75);
}
.footer-inner{
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-footer .brand-mark{
  width: 30px; height: 30px; border-radius: 11px;
}
.brand-logo img{
  width: 18px;
  height: 18px;
  display:block;
}
.hero-logo{
  width: 300px; 
  height: 100px;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  display:grid;
  place-items:center;
  margin-bottom: 10px;
}
.hero-logo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;    /* fills the box; may crop edges */
}

.brand-mark.brand-logo{
  width: 34px;
  height: 34px;
  padding: 0;           /* critical: remove inner breathing room */
  overflow: hidden;     /* keeps rounded corners clean */
  background: transparent; /* optional: remove accent-soft background */
}

/* Make the image truly fill */
.brand-mark.brand-logo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;    /* fills the box; may crop edges */
}