
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:       #b44fff;
  --accent-dim:   rgba(180, 79, 255, 0.35);
  --accent-glow:  rgba(180, 79, 255, 0.6);
  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0, 212, 255, 0.25);
  --text:         #f0eeff;
  --text-muted:   rgba(240, 238, 255, 0.7);
  --text-faint:   rgba(240, 238, 255, 0.30);
  --glass-bg:     rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-blur:   blur(5px);
  --glass-sat:    saturate(120%);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: #0a0010;
  background-image: url('../assets/bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { color: var(--cyan); text-decoration: none; }
/* img { display: block; width: 100%; height: auto; } */

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.4); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) -130%, var(--cyan));
  border-radius: 6px;
}

/* ── Selection ─────────────────────────────────────────── */
::selection {
  background: var(--accent-dim);
  color: #fff;
}

/* ════════════════════════════════════════════════════════
   GLASS UTILITY
   ════════════════════════════════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-sat);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-sat);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.glass-card:hover {
  border-color: rgba(180, 79, 255, 0.25);
  box-shadow: 0 8px 40px rgba(180, 79, 255, 0.15);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════ */

main {
  width: 100%;
  max-width: 1050px;
  margin: 1.5rem auto;
  padding: 0 0 3rem 0;
  flex: 1;
  display: grid;
  place-content: start center;
  max-height: 620px;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

main::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}


main .site-wrapper {
 
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}

/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  overflow: visible;
  margin: 4rem 0 2rem;
  transition: background 0.3s ease;
}

.site-header.is-sticky {
  background: var(--glass-bg);
  padding: 0.75rem 0;
  backdrop-filter: var(--glass-blur) ;
  -webkit-backdrop-filter: var(--glass-blur) ;
}

.header-inner {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  padding: 0 ;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

/* ════════════════════════════════════════════════════════
   LOGO
   ════════════════════════════════════════════════════════ */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--text);
  /* text-transform: uppercase; */
}

.logo-text a{
  color: var(--text)
}

.logo-text a:hover {
  color: var(--cyan);
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */
.site-nav {
  display: flex;
  align-items: stretch;
  height: 28px;
}

/* ── Masked slide container ─────────────────────────────── */
.nav-slide-container {
  overflow: hidden;
  height: 28px;
  display: flex;
  align-items: stretch;
}

.nav-slides {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.nav-slide-container:has(.has-dropdown:hover) .nav-slides,
.nav-slide-container:has(.dropdown-menu:hover) .nav-slides {
  transform: translateY(-24px);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 24px;
  flex-shrink: 0;
}

.nav-menu > li {
  position: static;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 0 0 2rem;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  /* letter-spacing: 0.06em; */
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after { display: none; }

.nav-link:hover,
.nav-link.active { color: var(--cyan); }

.nav-link--icon {
  color: var(--text);
  transition: color var(--transition);
}

.nav-link--icon:hover { color: var(--cyan); }

.nav-link--icon svg { display: block; }

/* Dropdown */
.dropdown-menu {
  display: flex;
  position: static;
  list-style: none;
  flex-direction: row;
  align-items: center;
  height: 24px;
  flex-shrink: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 0 0 2rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  /* letter-spacing: 0.08em; */
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
}

.dropdown-menu > li:last-child > a { border-right: none; }

.dropdown-menu > li > a:hover { color: var(--cyan); }

/* Search */
.nav-search {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.nav-search:focus-within {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(180, 79, 255, 0.1);
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
  width: 200px;
}

.search-input::placeholder { color: var(--text-faint); }

.search-btn {
  background: none;
  border: none;
  padding: 0.4rem 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.search-btn:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════
   BURGER BUTTON
   ════════════════════════════════════════════════════════ */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.burger-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-open span:nth-child(2) { opacity: 0; }
.burger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════
   MOBILE MENU
   ════════════════════════════════════════════════════════ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 199;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 400px;
  z-index: 200;
  background: rgba(8, 0, 20, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid rgba(180, 79, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-menu-header .logo {
  flex-direction: column;
  gap: 0.05rem;
}

.mobile-menu-header .logo-tagline {
  display: block;
  font-size: 0.62rem;
}

.mobile-close-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.mobile-close-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--text);
}

.mobile-search {
  display: flex;
  align-items: center;
  margin: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  overflow: hidden;
}

.mobile-search .search-input {
  flex: 1;
  width: auto;
}

.mobile-nav {
  list-style: none;
  padding: 0.5rem 0;
  flex: 1;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  border-left-color: var(--accent);
  background: rgba(180, 79, 255, 0.06);
  padding-left: 1.75rem;
}

/* ════════════════════════════════════════════════════════
   FEATURED POST / PROJECT CARD
   ════════════════════════════════════════════════════════ */
.featured-post {
  overflow: hidden;
  margin-bottom: 2rem;
  min-height: 500px;
}

.featured-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  transition: all var(--transition);

}

.featured-img-wrap:hover {
  transition: all var(--transition);

  height: 420px;
}

.featured-post:has(.featured-img-wrap:hover) .featured-body .proj-body-desc p,
.featured-post:has(.featured-img-wrap:hover) .featured-body .impact-panel {
  /* display: none; */
  visibility: 0;
  opacity: 0;
  height: 0
}
.featured-post:has(.featured-img-wrap:hover) .featured-body {

  flex-direction: row
}
.featured-post:has(.featured-img-wrap:hover) .proj-body-footer {
  flex: 0 0 auto;  /* Add this */
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-post:hover .featured-img { 
  /* transform: scale(1.1);  */
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 60%);
}

.featured-body {
  padding: 1rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Project body split ──────────────────────────────── */
.proj-body-lower {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 0;
  align-items: end;
}

.proj-body-desc {
  padding: 0.9rem 1.2rem 0.9rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%
}

.proj-body-desc h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.proj-body-desc p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.proj-body-footer {
  display: flex;
  justify-content: flex-end;
  align-self: stretch;
  padding: 0.65rem 0 0;
  margin-top: 0.4rem;
}

/* ── CTA Button ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--cyan-dim);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px var(--cyan);
}

button.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--cyan-dim);
  background: rgba(0, 0, 0, 0.1);
  border: none;
  font-family: 'Cairo', sans-serif;
}

/* ════════════════════════════════════════════════════════
   CHIPS & BADGES
   ════════════════════════════════════════════════════════ */

/* Chip list container */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

/* About page — brands logo grid */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 1.5rem 0;
  margin: 0.5rem 0 1.5rem;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.brand-item:hover {
  opacity: 1;
}

.brand-item img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
  transition: filter 0.2s ease;
}

.brand-item:hover img {
  filter: grayscale(0) brightness(1);
}

.brand-item svg {
  max-height: 32px;
  width: auto;
  opacity: 0.8;
}

/* About page — roles grid */
.role-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.role-list .impact-stat {
  background: rgba(255, 255, 255, 0.03);
  background: rgba(0, 0, 0, 0.03);

  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);

  
}

.role-list .impact-stat2 {
  background: rgba(0, 0, 0, 0.03);
  background: rgba(255, 255, 255, 0.03);

  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

.role-list .impact-stat3 {
  background: rgba(0, 0, 0, 0.03);
  /* background: rgba(255, 255, 255, 0.03); */

  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

 


.role-list .impact-stat .impact-stat__lbl {
  font-size: 0.7rem;
  /* color: var(--cyan); */
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  font-size: .85rem;
  color : var(--text-muted);
  letter-spacing: 0;

}

.role-list .impact-stat .impact-stat__title {
  font-size: 0.7rem;
  letter-spacing: 0;
}

.role-list .impact-stat2 .impact-stat__lbl {
  font-size: 0.7rem;
  /* color: var(--cyan); */
  letter-spacing: 0;

}

.role-list .impact-stat2 .impact-stat__title {
  font-size: 0.7rem;
  letter-spacing: 0;
}

.role-list .impact-stat3 .impact-stat__lbl {
  font-size: .9rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color : var(--cyan);
  letter-spacing: 0;
  margin: 0 0 .5rem 0

}

.role-list .impact-stat3 .impact-stat__title {
  font-size: 0.7rem;
  
  letter-spacing: 0;
}


.role-list .impact-stat3 .impact-stat__body a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.role-list .impact-stat3 .impact-stat__body a:hover {
  color: var(--text);
}

.role-list .impact-stat3 .impact-stat__body a:hover p {
  color: var(--text);
}

.role-list .impact-stat3 .impact-stat__body a:hover .impact-stat__lbl {
  color: var(--cyan);
}


.role-list .impact-stat3 a.impact-stat__body {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.role-list .impact-stat3:hover a.impact-stat__body .impact-stat__lbl {
    color: var(--cyan);
}

.role-list .impact-stat3:hover a.impact-stat__body p {
    color: var(--text);
}

.role-list .impact-stat3 p{
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-muted);
  font-weight: 400;
}



.role-list .impact-stat:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--cyan);
  
}

.role-list .impact-stat .impact-stat__lbl span {
  color: var(--cyan);

 
}
.role-list .impact-stat:hover .impact-stat__lbl {
  color: var(--cyan);

}

.role-list .impact-stat:hover .impact-stat__lbl span {
  /* color: var(--text); */

}


.role-list .impact-stat:hover .impact-stat__title {
  /* color: var(--cyan); */
}
 

.role-list .impact-stat2:hover,
.role-list .impact-stat3:hover {
background: rgba(255, 255, 255, 0.05);
  border-color: var(--cyan);
   transform: translateY(-2px);
  box-shadow: 0 0 18px var(--cyan-dim);
}

.role-list .impact-stat2:hover .impact-stat__lbl {
  color: var(--cyan);
}

.role-list .impact-stat2:hover .impact-stat__title {
  color: var(--text);
}

.role-list .impact-stat3:hover p {
  color: var(--text);
}

.role-list .impact-stat3 a {
  display: block;
  color: var(--text-muted);
  text-align: left;
  font-size: .75rem;
  font-weight: 900;
  margin:  0;
}

.role-list .impact-stat3 a:hover {
  color: var(--text);
}

#about-page article h3{
  margin: 2rem 0;
  text-align: center;
}

#about-page .featured-body {
  padding: 3rem;
}

#about-page .proj-body-lower {
  display: grid;
  grid-template-columns: 1fr 190px;}

#about-page .impact-panel {
  /* aligned to bottom of its container and separated from the content above by a margin of 1.5rem */
  margin-top: 1.5rem;
  align-self: end;
}

#about-page  .proj-body-desc{

 padding:  0.9rem 2rem 0.9rem 0
}

#about-page article p{
  line-height: 1.4;
}



article h3{
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

article h4{
  /* font-size: 1.15rem; */
  text-align: center;
  font-weight: 700;
  color: var(--text-faint);
  margin: 2rem auto;
}


hr {
  border: 1px solid var(--glass-border);
  display: block;
  width: 30%;
  margin: 6rem auto;
}
/* About page — positions list */
.positions-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.positions-list li {
  padding: 0.65rem 1rem;
  /* background: rgba(255, 255, 255, 0.03); */
  border: 1px solid var(--glass-border);
  /* border-radius: 8px; */
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  font-weight: bold;
}

.positions-list--cols {
  grid-template-columns: repeat(3, 1fr);
}

/* About page — 3-column sections row */
.about-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0.75rem 0 1.5rem;
}

.about-3col__section {
  display: flex;
  flex-direction: column;
}

.about-3col__section h3 {
  margin-top: 0;
  min-height: 3em;
  display: flex;
  align-items: flex-start;
}

/* Role chip */
.chip--role {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.9rem;
  background: rgba(180, 79, 255, 0.1);
  border: 1px solid rgba(180, 79, 255, 0.3);
  border-radius: 50px;
  font-size: 0.5rem;
  font-weight: 700;
  /* letter-spacing: 0.07em; */
  text-transform: uppercase;
  color: var(--accent);
}

/* AI badge */
.chip--ai {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  /* letter-spacing: 0.07em; */
  text-transform: uppercase;
  white-space: nowrap;
}

.chip--ai-no {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
}

.chip--ai-yes {
  color: var(--accent);
  background: rgba(180, 79, 255, 0.08);
  border: 1px solid rgba(180, 79, 255, 0.22);
}

/* Generic tool / tag chip */
.chip {
  padding: 0.2rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: default;
  user-select: none;
  text-transform: uppercase;
}

.chip:hover {
  background: rgba(180, 79, 255, 0.12);
  border-color: rgba(180, 79, 255, 0.35);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════
   LABELS & META
   ════════════════════════════════════════════════════════ */
.label {
  font-size: 0.72rem;
  font-weight: 700;
  /* letter-spacing: 0.09em; */
  text-transform: uppercase;
  color: var(--text-faint);
}

.label svg {
  opacity: 0.55;
  flex-shrink: 0;
}

.label--icon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.value {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════════
   INLINE IMPACT PANEL
   ════════════════════════════════════════════════════════ */
.impact-panel {
  border-left: 1px solid var(--glass-border);
  padding: 0.9rem 0 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.impact-panel__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.65rem;
}

.impact-panel__header svg {
  opacity: 0.55;
}

.impact-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.impact-stat:last-child {
  border-bottom: none;
}

.impact-stat__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.impact-stat__icon svg {
  opacity: 0.6;
}

.impact-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.impact-stat__num {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) -30%, var(--cyan) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-stat__title {
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.3;
}

.impact-stat__lbl {
  font-size: 0.7rem;
font-weight: 600;
color: rgba(255,255,255,.6);
line-height: 1.3;
}

#about-page .featured-body .impact-stat__lbl {
text-transform: uppercase;
color: var(--accent-glow);

}


/* ════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: .00001rem;
}

.widget { overflow: hidden; }

/* Widget header with icon */
.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  /* letter-spacing: 0.1em; */
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.65rem 1rem 0.55rem;
  border-bottom: 1px solid var(--glass-border);
}

.widget-header svg {
  opacity: 0.6;
}


/* ── Author Widget ─────────────────────────────────────── */
.widget-author {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.author-avatar-wrap {
  position: relative;
  display: inline-block;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-dim);
}

.author-online-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  background: #22d36a;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.6);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: .8;
}

.author-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  /* letter-spacing: 0.12em; */
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

.author-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.author-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
margin: 1rem 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--text);
  
  transform: translateY(-2px);
}

/* ── Tab Panel ─────────────────────────────────────────── */
.widget-tabs { padding: 0; }

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-faint);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -1px;
  text-transform: uppercase;
  /* letter-spacing: 0.06em; */
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-btn:hover:not(.active) { color: var(--text-muted); }

.tab-panel {
  display: none;
  padding: 0.75rem 0;
}

.tab-panel.active { display: block; }

.link-list {
  list-style: none;
}

.ext-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.ext-link:hover {
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
}

.ext-icon {
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.7;
}


/* ── Suggested Posts ──────────────────────────────────── */
.suggested-list {
  list-style: none;
  padding: 0.5rem 0;
}

.suggested-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.65rem 1.25rem;
  transition: background var(--transition);
}

.suggested-item:hover { background: rgba(255,255,255,0.03); }

.suggested-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.suggested-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}

.suggested-link:hover { 
    color: var(--accent); 
  color: var(--cyan);
}

.suggested-date {
  font-size: 0.73rem;
  color: var(--text-faint);
}

/* ── Popular Posts ──────────────────────────────────── */
.popular-list {
  list-style: none;
  padding: 0.5rem 0;
  counter-reset: popular;
}

.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.65rem 1.25rem;
  transition: background var(--transition);
}

.popular-item:hover { background: rgba(255,255,255,0.03); }

.popular-rank {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  letter-spacing: -1px;
  flex-shrink: 0;
  min-width: 28px;
  background: linear-gradient(135deg, var(--accent) -130%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popular-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
  margin-bottom: 0.2rem;
  transition: color var(--transition);
}

.popular-link:hover { color: var(--text); }

.popular-views {
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* ── Meta list ───────────────────────────────────────── */
.meta-list {
  list-style: none;
  padding: 0.4rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.meta-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ── Stats grid ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--glass-border);
}

.stats-grid__cell {
  padding: 1.1rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid__cell:nth-child(even) {
  border-right: none;
}

.stats-grid__number {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) -30%, var(--cyan) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-grid__label {
  font-size: 0.67rem;
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ── Bar chart ───────────────────────────────────────── */
.bar-list {
  list-style: none;
  padding: 0.5rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bar-list__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.3rem;
}

.bar-list__name {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-muted);
}

.bar-list__val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
}

.bar-track {
  height: 4px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--accent), var(--cyan) 45%);
}

.bar-fill--cyan  { background: linear-gradient(90deg, var(--cyan), #00ffcc); }
.bar-fill--warm  { background: linear-gradient(90deg, #ff7c32, #ffaa32); }

/* ── Tools cloud ─────────────────────────────────────── */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

 

/* Mobile / iPad */
@media (max-width: 1024px) {
  .site-nav  { display: none; }
  .burger-btn { display: flex !important; margin-left: auto; }
  .mobile-overlay { display: block; pointer-events: none; }
  .header-inner {
    max-width: 100%;
    padding: 0 1rem;
    height: 56px;
    position: relative;
  }

  main .site-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar { position: static; }

  .proj-body-lower {
    grid-template-columns: 1fr;
  }

  .impact-panel {
    border-left: none;
    border-top: 1px solid var(--glass-border);
    padding: 0.9rem 0 0;
  }
}

@media (max-width: 768px) {
  main{
    padding: 0 1rem;
  }
  .site-header {
    margin: 1.25rem 0 .5rem !important;
    
  }
  .featured-img-wrap { height: 220px; }
  .proj-body-desc h1 { font-size: 1.1rem; }
}

/* ── Next Project Bar ──────────────────────────────────────────────────────── */
.next-project-bar {
  display: flex;
  justify-content: flex-end;
  /* padding: 2rem 0 2.5rem; */
  margin-top: 1rem;
}

.next-project-card {
  display: flex;
  align-items: right;
  gap: 1rem;
  max-width: 360px;
  width: 100%;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.next-project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--cyan-dim);
}

.next-project-card__img-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.next-project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.next-project-card:hover .next-project-card__img {
  transform: scale(1.07);
}

.next-project-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.next-project-card__label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.next-project-card__label svg {
  flex-shrink: 0;
}

.next-project-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.next-project-card__desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .next-project-bar { justify-content: center; }
  .next-project-card { max-width: 100%; }
}
