/* ═══════════════════════════════════════════
   THANISHQUE HARSHAA — PORTFOLIO STYLES
   Clean White + Blue · Minimal
═══════════════════════════════════════════ */

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

:root {
  --blue:        #1B5FA8;
  --blue-dark:   #0D1F3C;
  --blue-mid:    #2470BA;
  --blue-bright: #4A90D9;
  --blue-pale:   #EEF5FF;
  --bg:          #EEEBE5;
  --off-white:   #E4DFD8;
  --white:       #FFFFFF;
  --text-dark:   #0D1F3C;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ NAV ═══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.scrolled {
  background: rgba(238,235,229,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.9rem 5rem;
  box-shadow: 0 1px 0 rgba(27,95,168,0.07), 0 4px 24px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li { margin: 1.5rem 0; }
.mobile-nav ul a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav ul a:hover { color: var(--blue); }

/* ═══ HERO ═══ */
#hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(27,95,168,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(27,95,168,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-noise { display: none; }
.hero-glow  { display: none; }

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.8rem;
}
.eyebrow-line {
  display: block;
  width: 44px; height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-name {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.06;
  margin-bottom: 1.8rem;
}
.hero-name-intro {
  display: block;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0;
  margin-bottom: 0.05em;
}
.hero-name em {
  display: block;
  font-style: normal;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.04em;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 500px;
  letter-spacing: 0.01em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-meta span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.meta-dot { opacity: 0.35 !important; }

.hero-cta {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}

.cta-sep {
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.18);
  margin: 0 1.4rem;
  flex-shrink: 0;
}

.btn-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s;
}
.btn-cta-icon:hover { color: var(--blue); }

.btn-resume {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s;
  position: relative;
}
.btn-resume::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.25s;
}
.btn-resume:hover { color: var(--blue); }
.btn-resume:hover::after { opacity: 0.6; }
.btn-resume svg { flex-shrink: 0; }

.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s;
  position: relative;
}
.btn-primary::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.25s;
}
.btn-primary:hover { color: var(--blue); }
.btn-primary:hover::after { opacity: 0.6; }

.btn-ghost {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s;
}
.btn-ghost:hover { color: var(--blue); }
.btn-ghost svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Photo */
.hero-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.photo-frame {
  position: relative;
  width: 330px;
  height: 420px;
  flex-shrink: 0;
}

/* Blue accent block behind photo — offset bottom-right */
.photo-frame::before {
  content: '';
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 60%;
  height: 60%;
  background: var(--blue);
  opacity: 0.12;
  z-index: 0;
  border-radius: 2px;
}

/* Hide the old border element */
.photo-border { display: none; }

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  display: block;
  box-shadow: 0 24px 60px rgba(13,31,60,0.16);
}

.photo-initials {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

.photo-frame.photo-fallback .hero-photo { display: none; }
.photo-frame.photo-fallback .photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: var(--blue-pale);
  position: relative;
  z-index: 1;
}

/* No fade gradient — removed */
.photo-frame::after { display: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue-pale);
  border: 1px solid rgba(27,95,168,0.18);
  padding: 0.5rem 1.4rem;
}
.hero-badge span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.hero-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
}
.scroll-bar {
  width: 1px; height: 55px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  80%  { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; }
}

/* ═══ SECTIONS SHARED ═══ */
section { padding: 7rem 0; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.sec-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  flex-shrink: 0;
  opacity: 0.65;
}
.sec-num.gold { color: var(--blue); opacity: 0.65; }

.sec-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sec-title.light { color: var(--text-dark); }

.sec-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(27,95,168,0.14), transparent);
}
.sec-rule.gold-rule {
  background: linear-gradient(to right, rgba(27,95,168,0.14), transparent);
}

/* Section backgrounds */
.dark-section    { background: var(--bg); }
.mid-dark-section { background: var(--bg); }
.warm-section    { background: var(--bg); }

/* ═══ ABOUT ═══ */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 6rem;
  align-items: start;
}

.about-pull blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.55;
  padding-left: 1.5rem;
  border-left: 3px solid var(--blue);
}

.about-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

/* ═══ TIMELINE ═══ */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue) 0%, rgba(27,95,168,0.06) 100%);
}

.tl-item {
  position: relative;
  padding: 0 0 4rem 3.5rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-marker {
  position: absolute;
  left: -5px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,95,168,0.12), 0 0 14px rgba(27,95,168,0.2);
}

.tl-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

/* Logo row */
.tl-company-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
}

.tl-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  opacity: 0.92;
  filter: brightness(1.02);
}
.tl-logo-sq  { height: 36px; width: 56px; object-fit: cover; }
.tl-logo-wide { height: 32px; max-width: 140px; object-fit: contain; background: white; padding: 3px 6px; border-radius: 5px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.tl-company {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tl-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

.tl-bullets {
  list-style: none;
}
.tl-bullets li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.75;
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.tl-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.45;
}

/* ═══ PROJECTS ═══ */
#projects { background: var(--bg); }

.proj-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.proj-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.proj-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Filter tabs */
.proj-tabs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.proj-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1.1rem;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  transition: all 0.25s ease;
}
.proj-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.proj-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.proj-tab svg { flex-shrink: 0; }

/* Card grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.proj-card {
  background: var(--white);
  padding: 2rem 2.2rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
}

.proj-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.proj-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.proj-expand-icon {
  color: var(--text-muted);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.3s;
  line-height: 1;
}
.proj-card:hover .proj-expand-icon { opacity: 0.75; }

.proj-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.proj-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin-bottom: 1rem;
}

.proj-comp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.proj-comp svg {
  color: var(--blue);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Modal */
.proj-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.proj-modal.open {
  opacity: 1;
  pointer-events: all;
}

.proj-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,0.45);
  backdrop-filter: blur(4px);
}

.proj-modal-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 14px;
  padding: 3rem;
  max-width: 620px;
  width: 90%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
  transform: translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.proj-modal.open .proj-modal-content { transform: translateY(0); }

.proj-modal-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
  padding: 0;
}
.proj-modal-close:hover { color: var(--text-dark); }

.proj-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.proj-modal-comp {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.75;
  margin-bottom: 2rem;
}

.proj-modal-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.proj-modal-body p strong { font-weight: 700; color: var(--text-dark); }

/* Blog link on card */
.proj-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  width: fit-content;
}
.proj-blog-link:hover { opacity: 1; }

/* Blog link inside modal */
.proj-modal-blog {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.proj-modal-blog a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s;
}
.proj-modal-blog a:hover { opacity: 0.75; }

/* ═══ SKILLS ═══ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-card {
  background: var(--white);
  padding: 2.5rem 2.2rem;
  border-top: 3px solid var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(27,95,168,0.09);
}

.skill-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skill-chips span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--text-mid);
  background: var(--off-white);
  border: 1px solid rgba(27,95,168,0.1);
  padding: 0.35rem 0.85rem;
  transition: all 0.3s;
}
.skill-chips span:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ═══ LEADERSHIP ═══ */
.lead-section { background: var(--white); }

.lead-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.lead-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.lead-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.lead-heading span { color: var(--blue); }

.lead-hint { display: none; }

/* List */
.lead-list {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.lead-row {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.lead-row-top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 0;
  cursor: pointer;
  user-select: none;
}

.lead-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.lead-row-info { flex: 1; }

.lead-row-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  transition: color 0.3s;
}

.lead-row-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.lead-row-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.lead-row-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lead-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.16);
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.lead-row:hover .lead-row-name { color: var(--blue); }
.lead-row:hover .lead-plus {
  border-color: var(--blue);
  color: var(--blue);
}

.lead-row.open .lead-plus {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Expandable body */
.lead-row-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 0 0 2.2rem;
}

.lead-row.open .lead-row-body {
  max-height: 300px;
  padding: 0 0 2rem 2.2rem;
}

.lead-row-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 680px;
}

/* ═══ EDUCATION ═══ */
#education { background: var(--off-white); }

.edu-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  background: var(--white);
  padding: 4rem;
  border-top: 3px solid var(--blue);
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}

.edu-school {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.edu-degree {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.edu-dates {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue-mid);
  opacity: 0.8;
}

.awards-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.award-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.award-row:last-child { border-bottom: none; }

.award-glyph {
  color: var(--blue);
  font-size: 0.7rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.award-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.award-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}
.award-sub em { font-style: normal; font-weight: 600; color: var(--blue); }

/* ═══ EDU BIO ═══ */
.edu-bio {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ═══ AWARDS & RECOGNITION ═══ */
#recognition { background: var(--bg); }

.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.aw-tile {
  padding: 3rem 2.8rem;
  border-left: 1px solid rgba(0,0,0,0.1);
}
.aw-tile:first-child {
  border-left: none;
  padding-left: 0;
}

.aw-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.aw-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.aw-org {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.aw-org span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-mid);
}
.aw-org a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.aw-org a:hover { opacity: 1; text-decoration: underline; }

/* ═══ CONTACT ═══ */
#contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.contact-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.contact-heading em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue);
}

.contact-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-muted);
}

.clink {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  transition: padding-left 0.35s ease;
}
.clink:last-child { border-bottom: none; }
.clink:hover { padding-left: 0.6rem; }

.clink-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.clink:hover .clink-icon { background: var(--blue-dark); }
.clink-icon svg { width: 18px; height: 18px; fill: var(--white); }

.clink-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.clink-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--blue-dark);
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(27,95,168,0.12);
}

.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
}

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal        { transform: translateY(32px); }
.reveal-left   { transform: translateX(-32px); }
.reveal-right  { transform: translateX(32px); }

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }
.delay-5 { transition-delay: 0.56s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #navbar { padding: 1.1rem 2rem; }
  #navbar.scrolled { padding: 0.8rem 2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 5.5rem 2rem 4rem;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-photo-col { order: -1; }
  .photo-frame { width: 240px; height: 300px; }
  .hero-tagline { margin: 0 auto 2rem; }

  .section-inner { padding: 0 2rem; }

  .about-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .proj-top          { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .proj-tabs         { flex-wrap: wrap; }
  .projects-grid     { grid-template-columns: 1fr 1fr; }
  .aw-grid           { grid-template-columns: 1fr; }
  .aw-tile           { border-left: none; border-top: 1px solid rgba(0,0,0,0.1); padding: 2rem 0; }
  .aw-tile:first-child { border-top: none; }
  .contact-grid      { grid-template-columns: 1fr; gap: 3.5rem; }
  .photo-frame       { width: 260px; height: 330px; }

  footer { padding: 1.5rem 2rem; }
}

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