/* ============================================================
   EO-AI LABS — STAr IITK  |  Light Theme
   Aesthetic: Scientific-editorial, crisp white with deep navy
   Fonts: Playfair Display (headings) + IBM Plex Sans (body) + IBM Plex Mono (labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg:           #f7f8fc;
  --bg-card:      #ffffff;
  --bg-lift:      #f0f3fa;
  --bg-section:   #eef1f8;
  --border:       rgba(30,58,138,0.10);
  --border-lit:   rgba(14,116,144,0.35);
  --navy:         #0f2352;
  --teal:         #0b7285;
  --teal-light:   #e0f5f7;
  --teal-mid:     #b2e4eb;
  --amber:        #b45309;
  --amber-light:  #fef3c7;
  --crimson:      #be123c;
  --ice:          #0284c7;
  --text:         #0f172a;
  --text-dim:     #374151;
  --text-muted:   #9ca3af;
  --white:        #ffffff;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --radius:       8px;
  --shadow-sm:    0 1px 4px rgba(15,35,82,0.08), 0 2px 12px rgba(15,35,82,0.05);
  --shadow:       0 4px 24px rgba(15,35,82,0.10), 0 1px 4px rgba(15,35,82,0.06);
  --shadow-lg:    0 12px 48px rgba(15,35,82,0.14), 0 2px 8px rgba(15,35,82,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(15,35,82,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,35,82,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none; z-index: 0;
}

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247,248,252,0.93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px; background: var(--navy); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  color: #fff; letter-spacing: -0.02em; flex-shrink: 0; line-height: 1.2; text-align: center;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-primary { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); }
.nav-logo-secondary { font-family: var(--font-mono); font-size: 0.6rem; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.81rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--navy) !important; color: #fff !important; padding: 0.4rem 1rem; border-radius: var(--radius); transition: background 0.2s !important; }
.nav-cta:hover { background: var(--teal) !important; color: #fff !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dim); transition: all 0.3s; }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding: 0 2rem;
  background: linear-gradient(150deg, #f7f8fc 0%, #ecf0ff 45%, #e5f5f7 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(11,114,133,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(180,83,9,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-orbit {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; pointer-events: none; opacity: 0.5;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(11,114,133,0.18);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: orbit-spin linear infinite;
}
.orbit-ring:nth-child(1) { width: 180px; height: 180px; animation-duration: 20s; }
.orbit-ring:nth-child(2) { width: 310px; height: 310px; animation-duration: 35s; animation-direction: reverse; border-color: rgba(180,83,9,0.14); }
.orbit-ring:nth-child(3) { width: 440px; height: 440px; animation-duration: 50s; border-color: rgba(11,114,133,0.1); }
.orbit-ring:nth-child(4) { width: 545px; height: 545px; animation-duration: 70s; animation-direction: reverse; border-color: rgba(15,35,82,0.07); }
.orbit-dot {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); top: -3.5px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(11,114,133,0.4);
}
.orbit-ring:nth-child(2) .orbit-dot { background: var(--amber); box-shadow: 0 0 10px rgba(180,83,9,0.4); }
.orbit-ring:nth-child(3) .orbit-dot { background: var(--ice); box-shadow: 0 0 10px rgba(2,132,199,0.4); }
.orbit-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(11,114,133,0.07); border: 1.5px solid rgba(11,114,133,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.58rem; color: var(--teal); text-align: center; letter-spacing: 0.06em;
}
@keyframes orbit-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; padding-top: 80px; }
.hero-label { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.5rem; }
.hero-label::before { content: ''; width: 20px; height: 1px; background: var(--teal); }
.hero-title { font-family: var(--font-head); font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); max-width: 700px; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--teal); }
.hero-title .line-amber { color: var(--amber); font-style: normal; }
.hero-sub { font-size: 1.05rem; color: var(--text-dim); max-width: 520px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: all 0.22s; text-decoration: none; border: none; font-family: var(--font-body); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,114,133,0.25); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid rgba(15,35,82,0.25); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }

/* SECTIONS */
section { position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.section-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.section-label::before { content: '//'; opacity: 0.4; color: var(--text-muted); }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 1rem; }
.section-intro { font-size: 1rem; color: var(--text-dim); max-width: 600px; line-height: 1.8; }
.section-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* TICKER */
.ticker-wrap { background: var(--navy); overflow: hidden; padding: 0.8rem 0; }
.ticker { display: flex; gap: 4rem; animation: ticker-scroll 45s linear infinite; white-space: nowrap; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); flex-shrink: 0; }
.ticker-item span { color: rgba(255,255,255,0.85); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ABOUT */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--bg-card); padding: 1.5rem; transition: background 0.2s; }
.pillar:hover { background: var(--bg-lift); }
.pillar-icon { width: 36px; height: 36px; border-radius: 6px; background: var(--teal-light); border: 1px solid var(--teal-mid); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 0.75rem; }
.pillar-name { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.4rem; }
.pillar-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* RESEARCH */
#research { background: var(--bg-section); }
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.domain-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.domain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.domain-card:hover { border-color: rgba(11,114,133,0.22); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.domain-card:hover::before { transform: scaleX(1); }
.domain-num { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 1rem; }
.domain-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.domain-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.domain-desc { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 4px; background: var(--teal-light); border: 1px solid var(--teal-mid); color: var(--teal); }

/* CAPABILITIES */
#capabilities { background: var(--white); }
.cap-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.cap-tabs { display: flex; flex-direction: column; gap: 0.25rem; }
.cap-tab { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.1rem; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; border: 1px solid transparent; font-size: 0.84rem; color: var(--text-dim); background: none; text-align: left; width: 100%; font-family: var(--font-body); }
.cap-tab:hover { color: var(--navy); background: var(--bg-lift); }
.cap-tab.active { background: var(--teal-light); border-color: var(--teal-mid); color: var(--teal); font-weight: 500; }
.cap-tab-dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; border: 1.5px solid var(--text-muted); flex-shrink: 0; transition: all 0.2s; }
.cap-tab.active .cap-tab-dot { background: var(--teal); border-color: var(--teal); }
.cap-panel { display: none; }
.cap-panel.active { display: block; }
.cap-panel-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.cap-panel-desc { font-size: 0.9rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 2rem; }
.cap-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cap-item { background: var(--bg-lift); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color 0.2s, box-shadow 0.2s; }
.cap-item:hover { border-color: var(--teal-mid); box-shadow: var(--shadow-sm); }
.cap-item-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.07em; color: var(--teal); margin-bottom: 0.4rem; }
.cap-item-text { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* MATURITY */
#maturity { background: var(--bg-section); }
.maturity-levels { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.ml-row { display: grid; grid-template-columns: 100px 190px 1fr 1fr; background: var(--bg-card); transition: background 0.2s; }
.ml-row:hover { background: var(--bg-lift); }
.ml-cell { padding: 1.2rem 1.4rem; border-right: 1px solid var(--border); font-size: 0.83rem; color: var(--text-dim); }
.ml-cell:last-child { border-right: none; }
.ml-header { background: var(--navy); }
.ml-header .ml-cell { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); border-right-color: rgba(255,255,255,0.1); }
.ml-level { font-family: var(--font-mono); font-weight: 500; color: var(--teal); font-size: 0.9rem; }
.ml-name { font-weight: 600; color: var(--navy); font-size: 0.875rem; }
.ml-bar { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.ml-bar-track { flex: 1; height: 5px; background: var(--bg-section); border-radius: 3px; overflow: hidden; }
.ml-bar-fill { height: 100%; background: var(--teal); border-radius: 3px; transition: width 1.2s ease; }

/* ROADMAP */
#roadmap { background: var(--white); }
.roadmap-phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 3rem; }
.phase { background: var(--bg-card); padding: 1.75rem 1.5rem; }
.phase-num { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.4rem; }
.phase-label { font-size: 0.67rem; font-family: var(--font-mono); color: var(--teal); letter-spacing: 0.06em; background: var(--teal-light); border: 1px solid var(--teal-mid); padding: 0.2rem 0.5rem; border-radius: 4px; display: inline-block; margin-bottom: 0.9rem; }
.phase-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.phase-items { list-style: none; }
.phase-items li { font-size: 0.77rem; color: var(--text-dim); padding: 0.3rem 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.phase-items li:last-child { border-bottom: none; }
.phase-gate { margin-top: 1rem; padding: 0.7rem; background: var(--teal-light); border: 1px solid var(--teal-mid); border-radius: 4px; font-size: 0.7rem; color: var(--teal); font-family: var(--font-mono); line-height: 1.5; }

/* PUBLICATIONS */
#publications { background: var(--bg-section); }
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.pub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.pub-card:hover { border-color: rgba(11,114,133,0.28); transform: translateY(-3px); box-shadow: var(--shadow); }
.pub-header { padding: 1.5rem; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--bg-lift), var(--bg-card)); }
.pub-type { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.75rem; }
.pub-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.pub-body { padding: 1.5rem; flex: 1; }
.pub-desc { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; }
.pub-meta { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.pub-count { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.pub-link { font-size: 0.8rem; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 0.3rem; }
.pub-link:hover { color: var(--navy); }
.pub-link::after { content: '→'; }

/* TEAM */
#team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: border-color 0.3s, box-shadow 0.2s; }
.team-card:hover { border-color: rgba(11,114,133,0.22); box-shadow: var(--shadow); }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; border: 3px solid var(--teal-light); }
.team-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.team-role { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.25rem; }
.team-affil { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1rem; font-style: italic; }
.team-bio { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; }
.team-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.team-link { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--text-dim); padding: 0.25rem 0.65rem; border: 1px solid var(--border); border-radius: 4px; transition: all 0.2s; }
.team-link:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-light); }

/* COLLABORATE */
#collaborate { background: var(--bg-section); }
.collab-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.collab-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.collab-area { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.collab-area:hover { border-color: rgba(180,83,9,0.2); box-shadow: var(--shadow-sm); }
.collab-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.collab-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.4rem; }
.collab-text { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
.contact-card { background: var(--navy); border-radius: var(--radius); padding: 2rem; position: sticky; top: 80px; }
.contact-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.contact-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.contact-role { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.contact-links { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.contact-link-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); transition: all 0.2s; font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.contact-link-item:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); }
.contact-link-icon { width: 28px; height: 28px; border-radius: 4px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.contact-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.6; font-style: italic; }
.highlight-box { background: var(--teal-light); border: 1px solid var(--teal-mid); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.highlight-box p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.8; }

/* AGENDA PAGE HERO */
.agenda-hero { background: var(--navy); padding: 7rem 0 4rem; color: #fff; }
.agenda-hero-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.agenda-hero-label a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.agenda-hero-label a:hover { color: rgba(255,255,255,0.85); }
.agenda-hero-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 1rem; max-width: 820px; }
.agenda-hero-title em { color: #7dd3fc; font-style: italic; }
.agenda-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.68); max-width: 640px; line-height: 1.8; margin-bottom: 2rem; }
.agenda-meta-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.meta-pill { font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.85rem; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; color: rgba(255,255,255,0.8); }

/* AGENDA LAYOUT / TOC */
.agenda-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; padding: 4rem 0; }
.toc { position: sticky; top: 80px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.toc-title { font-family: var(--font-mono); font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 1rem; }
.toc-links { display: flex; flex-direction: column; gap: 0.1rem; }
.toc-link { font-size: 0.8rem; color: var(--text-dim); padding: 0.35rem 0.6rem; border-radius: 4px; transition: all 0.15s; display: flex; align-items: center; gap: 0.5rem; }
.toc-link:hover, .toc-link.active { color: var(--teal); background: var(--teal-light); }
.toc-link::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: 0.5; }
.toc-link.active::before { opacity: 1; }

/* TOPIC CARDS */
.category-block { margin-bottom: 4rem; }
.category-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--border); }
.category-icon { font-size: 1.75rem; line-height: 1; }
.category-name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.category-count { margin-left: auto; font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.1em; color: var(--text-muted); background: var(--bg-lift); border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 4px; }
.topic-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0.85rem; transition: border-color 0.2s, box-shadow 0.2s; }
.topic-card:hover { border-color: rgba(11,114,133,0.18); box-shadow: var(--shadow-sm); }
.topic-header { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; cursor: pointer; user-select: none; }
.topic-num { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); flex-shrink: 0; min-width: 26px; }
.topic-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--navy); flex: 1; line-height: 1.3; }
.topic-toggle { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-lift); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-muted); flex-shrink: 0; transition: all 0.25s; line-height: 1; }
.topic-card.open .topic-toggle { background: var(--teal); color: #fff; border-color: var(--teal); transform: rotate(45deg); }
.topic-body { display: none; border-top: 1px solid var(--border); }
.topic-card.open .topic-body { display: block; }
.topic-row { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--border); }
.topic-row:last-child { border-bottom: none; }
.topic-row-label { padding: 0.9rem 1rem 0.9rem 1.5rem; font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); font-weight: 500; line-height: 1.5; }
.topic-row-val { padding: 0.9rem 1.5rem; font-size: 0.855rem; color: var(--text-dim); line-height: 1.72; border-left: 1px solid var(--border); }
.topic-tags-row .topic-row-val { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.india-link-label { color: var(--amber) !important; }
.india-link-val { font-style: italic; }

/* ROADMAP PAGE */
.rm-section { padding: 3.5rem 0; }
.rm-section + .rm-section { padding-top: 0; }
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.arch-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: box-shadow 0.2s, border-color 0.2s; }
.arch-card:hover { box-shadow: var(--shadow-sm); border-color: var(--teal-mid); }
.arch-card-num { font-family: var(--font-mono); font-size: 0.62rem; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.arch-card-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.arch-card-desc { font-size: 0.84rem; color: var(--text-dim); line-height: 1.75; }
.schema-stack { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.schema-layer { display: grid; grid-template-columns: 160px 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.schema-layer:hover { box-shadow: var(--shadow-sm); }
.schema-label { padding: 1.1rem 1.2rem; background: var(--navy); color: rgba(255,255,255,0.9); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.5; }
.schema-desc { padding: 1.1rem 1.4rem; font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; }
.agent-patterns { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.pattern-card { display: grid; grid-template-columns: 200px 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pattern-label { padding: 1.1rem 1.2rem; background: var(--bg-lift); font-family: var(--font-mono); font-size: 0.7rem; color: var(--teal); letter-spacing: 0.06em; border-right: 1px solid var(--border); }
.pattern-desc { padding: 1.1rem 1.4rem; font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; }
.phase-rm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }
.phase-rm { background: var(--bg-card); padding: 1.5rem; }
.phase-rm-num { font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 0.3rem; }
.phase-rm-time { font-family: var(--font-mono); font-size: 0.65rem; color: var(--teal); background: var(--teal-light); border: 1px solid var(--teal-mid); border-radius: 4px; padding: 0.15rem 0.45rem; display: inline-block; margin-bottom: 0.7rem; }
.phase-rm-name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; }
.phase-rm ul { list-style: none; }
.phase-rm ul li { font-size: 0.76rem; color: var(--text-dim); padding: 0.25rem 0; border-bottom: 1px solid var(--border); line-height: 1.4; }
.phase-rm ul li:last-child { border-bottom: none; }
.phase-rm-gate { margin-top: 0.75rem; padding: 0.6rem; background: var(--teal-light); border: 1px solid var(--teal-mid); border-radius: 4px; font-size: 0.67rem; color: var(--teal); font-family: var(--font-mono); line-height: 1.5; }
.funding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.funding-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.funding-name { font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.3rem; }
.funding-amount { font-family: var(--font-mono); font-size: 0.7rem; color: var(--teal); margin-bottom: 0.5rem; }
.funding-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
.principle-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.principle-item { display: grid; grid-template-columns: 240px 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.principle-label { padding: 1rem 1.2rem; background: var(--bg-lift); font-family: var(--font-mono); font-size: 0.7rem; color: var(--navy); font-weight: 500; border-right: 1px solid var(--border); }
.principle-desc { padding: 1rem 1.4rem; font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; }

/* FOOTER */
footer { background: var(--navy); padding: 4rem 0 2rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.footer-brand-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-brand-desc { font-size: 0.82rem; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 300px; }
.footer-col-title { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.32); font-family: var(--font-mono); }
.footer-badges { display: flex; gap: 0.6rem; }
.footer-badge { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.07em; padding: 0.2rem 0.55rem; border-radius: 3px; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.38); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid, .agenda-layout, .cap-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-tabs { flex-direction: row; flex-wrap: wrap; }
  .roadmap-phases, .phase-rm-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .collab-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ml-row { grid-template-columns: 80px 160px 1fr; }
  .ml-row > .ml-cell:last-child { display: none; }
  .arch-grid { grid-template-columns: 1fr; }
  .funding-grid { grid-template-columns: repeat(2, 1fr); }
  .schema-layer, .pattern-card, .principle-item { grid-template-columns: 1fr; }
  .schema-label, .pattern-label, .principle-label { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(247,248,252,0.97); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); z-index: 999; box-shadow: var(--shadow); }
  .hamburger { display: flex; }
  .hero-orbit { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .domains-grid, .pub-grid, .team-grid { grid-template-columns: 1fr; }
  .about-pillars, .roadmap-phases, .phase-rm-grid, .cap-items, .collab-areas, .funding-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ml-row { grid-template-columns: 60px 1fr; }
  .ml-row > .ml-cell:nth-child(3), .ml-row > .ml-cell:last-child { display: none; }
  .topic-row { grid-template-columns: 1fr; }
  .topic-row-val { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── LOGOS ── */
.nav-logos {
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logos img {
  height: 32px; width: auto; display: block; object-fit: contain;
}
.nav-logos .logo-divider {
  width: 1px; height: 22px; background: var(--border);
}
.footer-logos {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.footer-logos img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.75; }
.footer-logos .logo-divider { width: 1px; height: 26px; background: rgba(255,255,255,0.15); }

/* ── TEAM CARD WITH PHOTO ── */
.team-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  margin-bottom: 1.25rem;
  border: 3px solid var(--teal-light);
  box-shadow: 0 2px 12px rgba(15,35,82,0.12);
  display: block;
}

/* ── PROFILE PAGE ── */
.profile-hero {
  background: linear-gradient(150deg, #f0f3ff 0%, #e5f5f7 100%);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0 4rem;
}
.profile-hero-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}
.profile-photo {
  width: 200px; height: 200px;
  border-radius: 12px;
  object-fit: cover; object-position: top center;
  box-shadow: 0 8px 32px rgba(15,35,82,0.15);
  border: 3px solid #fff;
  display: block;
}
.profile-breadcrumb {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.profile-breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.profile-breadcrumb a:hover { color: var(--teal); }
.profile-name {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--navy); line-height: 1.1;
  margin-bottom: 0.5rem;
}
.profile-title {
  font-size: 1rem; color: var(--teal); font-weight: 500; margin-bottom: 0.25rem;
}
.profile-affils {
  font-size: 0.875rem; color: var(--text-dim); margin-bottom: 1.5rem; line-height: 1.65;
}
.profile-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.profile-pill {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.8rem;
  background: var(--teal-light); border: 1px solid var(--teal-mid);
  border-radius: 100px; color: var(--teal);
}
.profile-pill.amber { background: #fef3c7; border-color: #fcd34d; color: var(--amber); }
.profile-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.profile-body { padding: 4rem 0; }
.profile-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 4rem; align-items: start;
}
.profile-section { margin-bottom: 3rem; }
.profile-section-title {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 0.6rem;
}
.profile-section-title::before {
  content: ''; width: 4px; height: 1.2em;
  background: var(--teal); border-radius: 2px;
  flex-shrink: 0;
}
.profile-text { font-size: 0.9rem; color: var(--text-dim); line-height: 1.85; }
.profile-text + .profile-text { margin-top: 0.85rem; }

.career-timeline { display: flex; flex-direction: column; gap: 0; }
.career-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 0; border-bottom: 1px solid var(--border);
}
.career-item:last-child { border-bottom: none; }
.career-year {
  padding: 1rem 1rem 1rem 0;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-muted); letter-spacing: 0.06em; line-height: 1.5;
}
.career-detail { padding: 1rem 0 1rem 1rem; border-left: 1px solid var(--border); }
.career-role { font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.career-org { font-size: 0.82rem; color: var(--teal); margin-bottom: 0.3rem; }
.career-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
.career-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.edu-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: border-color 0.2s;
}
.edu-card:hover { border-color: var(--teal-mid); }
.edu-degree { font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.2rem; }
.edu-inst { font-size: 0.8rem; color: var(--teal); margin-bottom: 0.2rem; }
.edu-meta { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }

.award-list { display: flex; flex-direction: column; gap: 0.6rem; }
.award-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.award-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.award-text { font-size: 0.83rem; color: var(--text-dim); line-height: 1.5; }
.award-text strong { color: var(--navy); font-weight: 600; }

.pub-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pub-item {
  padding: 0.85rem 1.1rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  border-left: 3px solid var(--teal-mid);
  font-size: 0.82rem; color: var(--text-dim); line-height: 1.6;
}
.pub-item em { color: var(--teal); font-style: normal; font-weight: 500; }

/* profile sidebar */
.profile-sidebar {}
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.sidebar-card-title {
  font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem;
}
.sidebar-stat {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
}
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-num {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
  color: var(--navy); line-height: 1; min-width: 60px;
}
.sidebar-stat-label { font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; }
.sidebar-link-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem; background: var(--bg-lift);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.82rem; color: var(--text-dim);
  transition: all 0.2s; margin-bottom: 0.5rem;
}
.sidebar-link-item:last-child { margin-bottom: 0; }
.sidebar-link-item:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.sidebar-link-icon { font-size: 0.9rem; flex-shrink: 0; }
.affil-list { display: flex; flex-direction: column; gap: 0.4rem; }
.affil-item {
  font-size: 0.8rem; color: var(--text-dim); padding: 0.4rem 0.6rem;
  background: var(--bg-lift); border-radius: 4px;
  border-left: 2px solid var(--teal-mid);
}

@media (max-width: 1024px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-hero-inner { grid-template-columns: 140px 1fr; gap: 2rem; }
  .profile-photo { width: 140px; height: 140px; }
}
@media (max-width: 768px) {
  .profile-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { width: 120px; height: 120px; margin: 0 auto; }
  .profile-pills, .profile-actions { justify-content: center; }
  .nav-logos img { height: 24px; }
  .edu-grid { grid-template-columns: 1fr; }
  .career-item { grid-template-columns: 1fr; }
  .career-year { padding-bottom: 0; border-bottom: none; }
  .career-detail { border-left: none; border-top: 1px solid var(--border); padding-top: 0.5rem; padding-left: 0; }
}
