/* ==========================================================================
   TOKENS
   ========================================================================== */
:root{
  /* palette */
  --bg:            #0A0B0D;
  --bg-elevated:   #111318;
  --bg-card:       #14161C;
  --bg-card-hover: #181B22;
  --border:        #22252C;
  --border-soft:   #1A1C22;

  --text-primary:   #EDEDEF;
  --text-secondary: #9A9CA6;
  --text-muted:     #6A6C74;

  --accent:       #6366F1;
  --accent-soft:  rgba(99,102,241,0.10);
  --accent-line:  rgba(99,102,241,0.32);
  --accent-glow:  rgba(99,102,241,0.16);
  --accent-ink:   #FFFFFF;

  /* type */
  --font-display: 'Manrope', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* scale */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 12px 32px -12px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.55);
  --shadow-glow: 0 12px 32px -14px var(--accent-glow);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text-primary);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:500; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

::selection{ background:var(--accent-soft); color:var(--text-primary); }

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:4px;
}

.accent-text{ color:var(--accent); }

/* subtle grain / atmosphere overlay */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:2000;
  opacity:0.025;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.section{ padding:140px 32px; border-top:1px solid var(--border-soft); }
.section-inner{ max-width:var(--container); margin:0 auto; }
.section-contact{ text-align:center; }
.section-head{ margin-bottom:60px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 14px;
}
.section-title{
  font-size:clamp(28px, 3.4vw, 42px);
  color:var(--text-primary);
  margin-bottom:20px;
}

.section-heading{
    font-size:clamp(54px,5vw,64px);
    font-family:var(--font-display);
    font-weight:500;
    color:var(--accent);
    margin-bottom:52px;
}
.section-subtitle{
  color:var(--text-secondary);
  max-width:640px;
  font-size:16.5px;
  margin-bottom:52px;
}

/* mono badge used for all year / duration placeholders */
.badge-year{
  display:none;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.04em;
  color:var(--text-muted);
  background:var(--bg-elevated);
  border:1px solid var(--border);
  padding:4px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.badge-floating{
  position:absolute; top:14px; right:14px;
  background:rgba(10,11,13,0.75);
  backdrop-filter:blur(6px);
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  border-bottom:1px solid transparent;
  transition:background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled{
  background:rgba(10,11,13,0.82);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--border-soft);
}
.nav-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:18px 32px;
  display:flex;
  align-items:center;
  gap:32px;
}
.nav-brand{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:600;
  margin-right:auto;
}
.nav-brand-dot{ color:var(--accent); }

.nav-links{ display:flex; gap:28px; }
.nav-link{
  font-size:14px;
  color:var(--text-secondary);
  position:relative;
  padding:4px 0;
  transition:color 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active{ color:var(--text-primary); }
.nav-link.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-6px;
  height:1px; background:var(--accent);
}

.nav-social{
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-social a{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-secondary);
    font-size:16px;
    transition:0.25s;
}

.nav-social a:hover{
    color:var(--accent);
    transform:translateY(-2px);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px; height:32px;
  background:none; border:none;
}
.nav-toggle span{
  display:block; height:1px; width:100%;
  background:var(--text-primary);
  transition:transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:150px 32px 80px;
  overflow:hidden;
}

.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 75% 70% at 62% 45%, black 0%, transparent 78%);
  opacity:0.55;
}
.axis-tick{
  position:absolute;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
  opacity:0.55;
}
.axis-tick:nth-child(1){ top:16%; left:6%; }
.axis-tick:nth-child(2){ top:26%; right:8%; }
.axis-tick:nth-child(3){ bottom:20%; left:10%; }
.axis-tick:nth-child(4){ bottom:14%; right:6%; }

.hero-inner{
  position:relative;
  max-width:var(--container);
  width:100%;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  align-items:center;
  gap:48px;
  text-align:left;
  margin:0 auto;
}

.hero-copy{ max-width:560px; }

.hero-visual{ display:flex; justify-content:center; }

.hero-photo-ring{
  position:relative;
  width:260px; height:260px;
  border-radius:50%;
  padding:3px;
  background:conic-gradient(from 180deg, var(--accent-line), transparent 45%, var(--accent-line) 100%);
}
.hero-photo-ring::after{
  content:'';
  position:absolute;
  inset:-28px;
  border:1px solid var(--border-soft);
  border-radius:50%;
  pointer-events:none;
}


.hero-photo{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block;
}

.hero-title{
  font-size:clamp(38px, 5vw, 58px);
  line-height:1.1;
  margin-bottom:22px;
}
.hero-subtitle{
  font-size:clamp(16px, 1.6vw, 18.5px);
  color:var(--text-secondary);
  max-width:480px;
  margin:0 0 40px;
}

.hero-actions{
  display:flex; flex-wrap:wrap;
  gap:14px; justify-content:flex-start;
}
.contact-actions{ justify-content:center; }
.contact-inner .section-subtitle{ margin-left:auto; margin-right:auto; }

.btn{
  font-size:14px; font-weight:500;
  padding:13px 26px;
  border-radius:999px;
  transition:transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  border:1px solid transparent;
}
.btn-primary{
  background:var(--accent);
  color:var(--accent-ink);
}
.btn-primary:hover{ transform:translateY(-2px); }
.btn-ghost{
  border-color:var(--border);
  color:var(--text-primary);
}
.btn-ghost:hover{ border-color:var(--accent-line); color:var(--accent); transform:translateY(-2px); }
.btn-sm{ padding:9px 18px; font-size:13px; }

.scroll-cue{
  position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:0.12em;
  color:var(--text-muted);
  text-transform:uppercase;
}
.scroll-line{
  width:1px; height:32px;
  background:linear-gradient(var(--text-muted), transparent);
}

/* =========================
   ABOUT SECTION
========================= */

.about-grid{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) 420px;
    gap:72px;
    align-items:start;
}

.about-content{
    max-width:640px;
}

.about-title{
    margin-bottom:36px;
}

.about-body{
    color:var(--text-secondary);
    font-size:18px;
    line-height:1.9;
}

.about-body p{
    margin-bottom:30px;
}

.about-body strong{
    color:var(--text-primary);
    font-weight:600;
}

/* =========================
   CARD
========================= */

.info-card{
    background:#17191f;
    border:1px solid #2b2f37;
    border-radius:22px;
    padding:40px;
    width:100%;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.card-header{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:34px;
}

.card-header i{
    font-size:30px;
    color:var(--accent);
}

.card-header h3{
    margin:0;
    font-size:34px;
    font-weight:700;
    color:#fff;
}

/* =========================
   EDUCATION
========================= */

.education-item{
    margin-bottom:34px;
}

.education-item:last-of-type{
    margin-bottom:0;
}

.education-item h5{
    margin:0 0 12px;
    font-size:22px;
    font-weight:700;
    color:#fff;
    line-height:1.35;
}

.education-item .muted{
    margin:8px 0;
    font-size:17px;
    color:#9fa4b1;
}



/* =========================
   DIVIDER
========================= */

.info-card hr{
    margin:34px 0;
    border:none;
    border-top:1px solid #2d3139;
}

/* =========================
   CONTACT
========================= */

.contact-item{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.contact-item:last-child{
    margin-bottom:0;
}

.contact-item i{
    width:24px;
    text-align:center;
    font-size:20px;
    color:var(--accent);
}

.contact-item span{
    font-size:17px;
    color:#b4b8c4;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:980px){

    .about-grid{
        grid-template-columns:1fr;
        gap:48px;
    }

    .info-card{
        max-width:100%;
    }

}

/* ==========================================================================
   TOOLKIT
   ========================================================================== */
.toolkit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
    align-items:stretch;
}
.toolkit-group{
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:22px;
    padding:28px;
    display:flex;
    flex-direction:column;
    height:100%;
    transition:.3s;
}
.toolkit-group:hover{
  transform:translateY(-4px);
  border-color:var(--accent-line);
  box-shadow:var(--shadow-glow);
}
.toolkit-icon{
    width:42px;
    height:42px;
    border-radius:10px;
    background:var(--accent-soft);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex-shrink:0;
}

.toolkit-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
}

.toolkit-group-title{
    margin:0;
    font-family:var(--font-display);
    font-size:20px;
    font-weight:600;
    color:#fff;
    line-height:1.2;
}
.toolkit-desc{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.6;
  margin-bottom:22px;
}

.chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.chip-row-sm{ gap:8px; }
.chip{
  font-size:13px;
  padding:8px 16px;
  border-radius:999px;
  background:var(--bg-elevated);
  border:1px solid var(--border);
  color:var(--text-secondary);
  transition:border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover{ border-color:var(--accent-line); color:var(--accent); }
.chip-sm{ font-size:12px; padding:6px 12px; }

@media (max-width:1200px){
    .toolkit-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:768px){
    .toolkit-grid{
        grid-template-columns:1fr;
    }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.project-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.project-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover{
  border-color:var(--accent-line);
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg), var(--shadow-glow);
}
.project-image-wrap{ position:relative; }
.project-image-placeholder{
    aspect-ratio:16/9;
    overflow:hidden;
    border-bottom:1px solid var(--border);
    background:var(--bg-elevated);
}

.project-image-placeholder img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s var(--ease);
}

.project-card:hover .project-image-placeholder img{
    transform:scale(1.03);
}
.project-body{
  padding:26px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.project-title{ font-size:19px; margin-bottom:10px; }
.project-summary{
  font-size:14.5px;
  color:var(--text-secondary);
  margin-bottom:18px;
  flex:1;
}
.project-links{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--border-soft);
}
.link-arrow{
  font-size:13.5px; font-weight:500;
  color:var(--accent);
  transition:opacity 0.25s var(--ease);
}
.link-arrow:hover{ opacity:0.75; }
.link-icon{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-muted);
  border:1px solid var(--border);
  padding:5px 11px;
  border-radius:999px;
  transition:color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-icon:hover{ color:var(--text-primary); border-color:var(--accent-line); }

/* case study template (hidden, reusable structure) */
.case-study-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:32px;
}
.case-block h3{
  font-size:14px; font-family:var(--font-body); font-weight:600;
  color:var(--accent); margin-bottom:10px;
  text-transform:uppercase; letter-spacing:0.04em;
}
.case-block p{ color:var(--text-secondary); font-size:15px; }

/* ==========================================================================
   Insights
   ========================================================================== */
.pub-list{ display:flex; flex-direction:column; }
.pub-row{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:36px;
    align-items:start;
    padding:34px 8px;
    border-bottom:1px solid var(--border-soft);
    transition:transform .3s var(--ease);
}
.pub-row:first-child{ padding-top:0; }
.pub-row:last-child{ border-bottom:none; }
.pub-row:hover{ transform:translateX(4px); }
.pub-image-placeholder{
    width:240px;
    height:140px;
    overflow:hidden;
    border-radius:16px;
    border:1px solid var(--border);
    background:var(--bg-card);
    flex-shrink:0;
}

.pub-image-placeholder img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

.pub-body{
    display:flex;
    flex-direction:column;
    height:100%;
}
.pub-title{
    font-size:22px;
    line-height:1.35;
    margin-bottom:12px;
    color:var(--accent);
    transition:.25s;
}

.pub-row:hover .pub-title{
    color:#8a89ff;
}

.pub-summary{
    max-width:620px;
    font-size:15px;
    line-height:1.8;
    color:var(--text-secondary);
    margin-bottom:22px;
}
.pub-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
}

.pub-footer a{
    color:var(--accent);
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

.pub-footer a:hover{
    color:#8a89ff;
}
.pub-meta{
  display:flex; align-items:center; gap:8px;
  font-size:12.5px; color:var(--text-muted);
}
.dot-sep{ opacity:0.5; }

.insights-footer{
    display:flex;
    justify-content:center;
    margin-top:56px;
}

.insights-footer .btn-secondary{
    padding:16px 38px;
    font-size:16px;
    font-weight:600;
    color:#fff;
    background:var(--accent);
    border:1px solid var(--accent);
    border-radius:999px;
    transition:.3s;
}

.insights-footer .btn-secondary:hover{
    transform:translateY(-2px);
    background:#7b79ff;
}

/* ==========================================================================
   EXPERIENCE / COMMUNITY (shared card language)
   ========================================================================== */
.experience-list{ display:flex; flex-direction:column; gap:18px; }
.experience-card, .community-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:30px 32px;
  box-shadow:var(--shadow-sm);
  transition:border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.experience-card:hover{ border-color:var(--accent-line); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.experience-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}
.experience-head-left{ display:flex; align-items:center; gap:16px; }
.company-logo-placeholder{
  flex-shrink:0;
  width:48px; height:48px;
  border-radius:var(--radius-sm);
  background:var(--bg-elevated);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono);
  font-size:9.5px;
  color:var(--text-muted);
}
.experience-company{ font-size:19px; margin-bottom:5px; }
.experience-role{ font-size:13.5px; color:var(--accent); font-family:var(--font-mono); }
.experience-summary{ font-size:14.5px; color:var(--text-secondary); margin-bottom:18px; max-width:640px; }

.community-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:16px; }
.community-card{
  padding:24px 26px;
  box-shadow:none;
  background:transparent;
}
.community-card:hover{ border-color:var(--border); box-shadow:none; transform:none; background:var(--bg-card); }
.community-card .experience-summary{ margin-bottom:0; }

/* ==========================================================================
   Certifications
   ========================================================================== */

.cert-list{
    display:flex;
    flex-direction:column;
}

.cert-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:42px;
    align-items:center;
    padding:30px 8px;
    border-bottom:1px solid var(--border-soft);
    transition:transform .3s var(--ease);
}

.cert-row:first-child{
    padding-top:0;
}

.cert-row:last-child{
    border-bottom:none;
}

.cert-row:hover{
    transform:translateX(4px);
}

.cert-body{
    max-width:760px;
}

.cert-title{
    font-size:21px;
    font-weight:600;
    color:#fff;
    margin-bottom:10px;
    transition:.25s;
}

.cert-row:hover .cert-title{
    color:var(--accent);
}

.cert-provider{
    font-size:14px;
    color:var(--accent);
    margin-bottom:14px;
    font-family:var(--font-mono);
}

.cert-summary{
    font-size:15px;
    line-height:1.8;
    color:var(--text-secondary);
}

.cert-link{
    color:var(--accent);
    font-weight:600;
    text-decoration:none;
    white-space:nowrap;
    transition:.25s;
}

.cert-link:hover{
    opacity:.85;
}

@media (max-width:900px){

    .cert-row{
        grid-template-columns:1fr;
        gap:20px;
    }

    .cert-link{
        justify-self:start;
    }

}

/* ====================================================
CONNECT
====================================================*/
.connect-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    margin-top:60px;
}

.connect-card{
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:22px;
    padding:36px;
}

.connect-card h3{
    font-size:28px;
    margin-bottom:34px;
    color:#fff;
}

.contact-row{
    display:flex;
    gap:18px;
    align-items:flex-start;
    margin-bottom:28px;
}

.contact-row:last-child{
    margin-bottom:0;
}

.contact-row i{
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--accent-soft);
    color:var(--accent);
    font-size:22px;
    flex-shrink:0;
}

.contact-row span{
    display:block;
    font-size:15px;
    color:var(--text-muted);
    margin-bottom:6px;
}

.contact-row a{
    font-size:22px;
    font-weight:600;
    color:#fff;
    text-decoration:none;
}

.contact-row a:hover{
    color:var(--accent);
}

.social-grid{
    display:flex;
    gap:18px;
    margin-top:18px;
}

.social-circle{
    width:64px;
    height:64px;
    border-radius:50%;
    background:var(--accent-soft);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:28px;
    transition:.3s;
}

.social-circle:hover{
    transform:translateY(-4px);
    background:var(--accent);
    color:#fff;
}

@media(max-width:900px){

    .connect-grid{
        grid-template-columns:1fr;
    }

}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer{
    padding:40px 32px;
    border-top:1px solid var(--border-soft);
}

.footer-inner{
    max-width:var(--container);
    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    flex-wrap:wrap;
}

.footer-brand{
    font-family:var(--font-display);
    font-size:18px;
    font-weight:700;
    color:#fff;
}

.footer-nav{
    display:flex;
    align-items:center;
    gap:26px;
    flex-wrap:wrap;
}

.footer-nav a{
    font-size:13px;
    color:var(--text-secondary);
    transition:color .25s var(--ease);
}

.footer-nav a:hover{
    color:var(--accent);
}

.footer-note{
    font-size:13px;
    color:var(--text-muted);
}

@media (max-width:980px){

    .footer-inner{
        flex-direction:column;
        text-align:center;
    }

    .footer-nav{
        justify-content:center;
        gap:18px;
    }

}

@media (max-width:760px){

    .footer-nav{
        display:grid;
        grid-template-columns:repeat(2,max-content);
        justify-content:center;
        gap:14px 28px;
    }

}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top{
  position:fixed; right:24px; bottom:24px; z-index:900;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--bg-card);
  border:1px solid var(--border);
  color:var(--text-primary);
  font-size:16px;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transform:translateY(8px);
  transition:opacity 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.back-to-top.visible{ opacity:1; pointer-events:auto; transform:translateY(0); }
.back-to-top:hover{ border-color:var(--accent-line); color:var(--accent); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; text-align:center; gap:44px; }
  .hero-copy{ max-width:100%; margin:0 auto; }
  .hero-subtitle{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-visual{ order:-1; }
  .about-grid{ grid-template-columns:1fr; gap:40px; }
  .toolkit-grid{ grid-template-columns:1fr; }
  .project-grid{ grid-template-columns:repeat(2, 1fr); }
  .pub-row{ grid-template-columns:160px 1fr; gap:22px; }
  .cert-grid{ grid-template-columns:repeat(2, 1fr); }
  .community-grid{ grid-template-columns:1fr; }
  .case-study-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .nav-links{
    position:fixed; top:64px; left:0; right:0;
    background:rgba(10,11,13,0.98);
    backdrop-filter:blur(14px);
    flex-direction:column;
    gap:0;
    padding:8px 32px 24px;
    border-bottom:1px solid var(--border-soft);
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-links a{ padding:14px 0; border-bottom:1px solid var(--border-soft); }
  .nav-social{ display:none; }
  .nav-toggle{ display:flex; }

  .section{ padding:80px 20px; }
  .hero{ padding:120px 20px 60px; }

  .project-grid, .cert-grid{ grid-template-columns:1fr; }
  .pub-row{ grid-template-columns:1fr; }
  .pub-image-placeholder{ max-width:220px; }
  .experience-head{ flex-direction:column; }
  .info-row{ flex-direction:column; gap:6px; }
  .info-value{ text-align:left; }
}
