/* Public portfolio palette. Loaded only by the profile page. */
body.index-page {
  --background-color: #fffdf7;
  --default-color: #273247;
  --heading-color: #183781;
  --accent-color: #284cba;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #e3e9fc;
  --nav-hover-color: #f1cf79;
  --nav-mobile-background-color: #142c68;
}
.index-page .light-background { --background-color: #f7f4eb; --surface-color: #fffdf7; }
.index-page .dark-background { --background-color: #142c68; --heading-color: #ffffff; --default-color: #f5f7ff; --surface-color: #203e87; }
.index-page .header { background: linear-gradient(160deg, #2346a0, #12275d); border-right: 1px solid #d4ae5340; }
.index-page .header .profile-img img { border-color: #d4ae5370; }
.index-page .navmenu a:hover .navicon, .index-page .navmenu .active .navicon { color: #f1cf79; }
.index-page .header .social-links a:hover { background: #e5c16b; color: #152b61; }
.index-page .section-title h2::after { background: #b88a29; width: 64px; }
.index-page .hero { min-height: 88vh; padding: 100px 40px; }
.index-page .hero::before { background: linear-gradient(90deg, #080e1859 0%, #080e1826 55%, transparent 100%); }
.index-page .hero-introduction { max-width: 820px; text-shadow: 0 2px 5px #000c, 0 0 18px #0008; }
.index-page .hero-actions { text-shadow: none; }
.index-page .hero .hero-typing { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
.index-page .hero .hero-typing span { border-bottom: 0; letter-spacing: 0; }
.index-page .hero .hero-typing .typed { color: #f1cf79; border-bottom: 2px solid #e5c16b; padding-bottom: 5px; }
.index-page .hero .hero-eyebrow { color: #f1cf79; font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px; }
.index-page .hero h2 { font-size: clamp(2.6rem, 4.5vw, 4.5rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 24px; }
.index-page .hero .hero-role { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 600; line-height: 1.5; }
.index-page .hero .hero-institution { font-size: 1rem; color: #dfe7fb; margin-top: 8px; }
.index-page .hero .hero-summary { font-size: 1.1rem; line-height: 1.8; color: #edf1fc; max-width: 650px; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 21px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; }
.hero-button-gold { background: #e5c16b; color: #172a56; }
.hero-button-gold:hover { background: #f1d48e; color: #172a56; }
.hero-button-outline { color: #fff; border-color: #cfdbfa90; background: #ffffff08; }
.hero-button-outline:hover { color: #fff; background: #ffffff20; border-color: #f1cf79; }
.hero-contact { color: #f1cf79; font-weight: 700; padding: 14px 6px; }
.hero-contact:hover { color: #fff; }
.index-page :focus-visible { outline: 3px solid #b88a29; outline-offset: 4px; }
.index-page .nptel-section { --background-color: #f7f4eb; --default-color: #273247; --heading-color: #183781; --nptel-ink: #2346a0; --nptel-teal: #2346a0; --nptel-line: #ddd7c8; --accent-color: #b88a29; }
.index-page .nptel-overview { background: linear-gradient(115deg, #2346a0, #183781); box-shadow: 0 15px 40px #142c6815; }
.index-page .nptel-section-heading p, .index-page .nptel-domain-top, .index-page .nptel-domain-subtitle, .index-page .nptel-date, .index-page .nptel-timeline li div > p:last-child, .index-page .nptel-result-count { color: #45516a; }
.index-page .nptel-domain-top i { background: #eaf0ff; }
.index-page .nptel-domain-meta span { color: #344264; background: #f0eadc; }
.index-page .nptel-domain { border-top-color: #b88a29; }
.index-page .nptel-table thead { background: #eaf0ff; color: #233d78; }
.index-page .nptel-table tbody th, .index-page .nptel-filters label { color: #273247; }
.index-page .nptel-table tbody tr:hover { background: #f5f2e8; }
.index-page .nptel-filters input, .index-page .nptel-filters select { color: #273247; }
.index-page .nptel-filters button { background: #2346a0; color: #fff; border-color: #2346a0; }
.index-page .nptel-filters input::placeholder { color: #59637a; }
.index-page .nptel-badge-elite { background: #e7edff; color: #2346a0; }
.index-page .nptel-badge-silver { background: #e9edf3; color: #45516a; }
@media (max-width: 640px) {
  .index-page .hero { padding: 100px 12px 70px; min-height: 90svh; }
  .index-page .hero::before { background: linear-gradient(180deg, #080e181a, #080e184d); }
  .index-page .hero .hero-eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .hero-actions { gap: 12px; }
  .hero-button { padding: 12px 16px; font-size: .9rem; }
}
