/* Lenin S — dark theme + blue accent */
:root {
  --bg-page: #070b12;
  --surface: #0f1624;
  --surface-alt: #121b2c;
  --surface-hover: #162236;
  --heading: #f0f6fc;
  --text: #c8d4e4;
  --muted: #8b9cb3;
  --blue: #3d9ee8;
  --blue-bright: #5eb8ff;
  --blue-dark: #2b7fc4;
  --blue-soft: rgba(61, 158, 232, 0.14);
  --blue-glow: rgba(61, 158, 232, 0.22);
  --border: rgba(61, 158, 232, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 72px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 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;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(61, 158, 232, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(43, 127, 196, 0.08), transparent 50%),
    var(--bg-page);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 200;
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.3s ease,
    transform 0.45s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease, transform 0.35s var(--ease-spring);
}

.brand:hover {
  color: var(--blue-bright);
  transform: translateY(-1px);
}

.brand-dot {
  color: var(--blue);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: width 0.35s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--heading);
}

.nav a.is-active {
  color: var(--heading);
}

.nav a.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff !important;
  transition:
    background 0.3s ease,
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s ease !important;
}

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

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 158, 232, 0.35);
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-alt);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.25s, background 0.25s;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--heading);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(15, 22, 36, 0.97);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: panelIn 0.4s var(--ease) forwards;
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease), color 0.2s;
}

.mobile-nav a:hover {
  color: var(--blue-bright);
  padding-left: 0.5rem;
}

.mobile-nav a.is-active {
  color: var(--blue-bright);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) clamp(1rem, 3vw, 2.5rem) 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(87, 181, 255, 0.22), transparent 20%),
    radial-gradient(circle at 82% 28%, rgba(52, 152, 219, 0.24), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(32, 116, 193, 0.25), transparent 22%),
    linear-gradient(135deg, #07111f 0%, #0f2744 28%, #124877 62%, #0d2f52 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, black, transparent);
  animation: gridShift 30s linear infinite;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 62%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 18%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 40%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    linear-gradient(120deg, transparent 0 16%, rgba(126, 197, 255, 0.18) 16% 16.4%, transparent 16.4% 100%),
    linear-gradient(90deg, transparent 0 58%, rgba(126, 197, 255, 0.16) 58% 58.35%, transparent 58.35% 100%),
    linear-gradient(25deg, transparent 0 76%, rgba(126, 197, 255, 0.14) 76% 76.3%, transparent 76.3% 100%);
  opacity: 0.8;
  animation: techPulse 10s ease-in-out infinite alternate;
}

@keyframes gridShift {
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes techPulse {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 320px;
    gap: 3.5rem;
  }
}

.hero-copy {
  color: #ecf0f1;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin: 0 0 1rem;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-tagline {
  font-size: 1.1rem;
  max-width: 36rem;
  color: rgba(236, 240, 241, 0.88);
  margin: 0 0 1.5rem;
}

.hero-tagline em {
  color: #fff;
  font-style: italic;
}

.hero-contact {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.hero-contact a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease-spring);
}

.hero-contact a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.25s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 158, 232, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-photo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(157, 220, 255, 0.95), rgba(52, 152, 219, 0.9), rgba(10, 35, 66, 0.95));
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(5, 18, 35, 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(157, 220, 255, 0.35);
  opacity: 0.8;
}

.hero-photo-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(52, 152, 219, 0.35);
}

.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s var(--ease), filter 0.35s ease;
}

.hero-photo-frame:hover .hero-photo {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 220px;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(236, 240, 241, 0.75);
}

/* ——— Sections ——— */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.section-head.reveal.is-visible h2::after {
  transform: scaleX(1);
}

.section-lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About two-col */
.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  border: 1px solid var(--border);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(61, 158, 232, 0.22);
  box-shadow: 0 6px 24px var(--blue-glow);
}

.abstract-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.abstract-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.abstract-list li:last-child {
  border-bottom: none;
}

.abstract-list strong {
  color: var(--heading);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 0;
}

@media (min-width: 640px) {
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, var(--blue), rgba(61, 158, 232, 0.12));
    border-radius: 2px;
    transform-origin: top;
    animation: lineGrow 1.2s var(--ease) forwards;
    transform: scaleY(0);
  }
}

@keyframes lineGrow {
  to {
    transform: scaleY(1);
  }
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .timeline-item {
    grid-template-columns: 16px 1fr;
    gap: 1.25rem;
  }
}

.timeline-marker {
  display: none;
}

@media (min-width: 640px) {
  .timeline-marker {
    display: block;
    width: 16px;
    height: 16px;
    margin-top: 1.35rem;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 3px solid var(--blue);
    box-shadow: 0 0 0 4px var(--blue-soft);
    z-index: 1;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.35s ease;
  }
  .timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px var(--blue-soft), 0 4px 16px rgba(61, 158, 232, 0.35);
  }
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-color: rgba(61, 158, 232, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(61, 158, 232, 0.45);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1rem;
}

.timeline-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  width: 100%;
}

@media (min-width: 480px) {
  .timeline-head h3 {
    width: auto;
  }
}

.timeline-org {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline-dates,
.timeline-present {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blue);
  font-weight: 600;
}

.timeline-sep {
  color: var(--muted);
  font-style: normal;
}

.timeline-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.92rem;
}

.timeline-bullets li {
  margin-bottom: 0.5rem;
}

.timeline-bullets li::marker {
  color: var(--blue);
}

/* Achievements */
.achievement-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.achievement-card {
  background: var(--surface);
  border: 1px solid rgba(61, 158, 232, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--blue-bright), #0a1628);
  transition: height 0.5s var(--ease);
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(61, 158, 232, 0.4);
}

.achievement-card:hover::before {
  height: 100%;
}

.achievement-icon {
  display: block;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.achievement-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
}

.achievement-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid rgba(61, 158, 232, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(61, 158, 232, 0.3);
}

.accordion-item[open] {
  box-shadow: var(--shadow);
  border-color: rgba(61, 158, 232, 0.42);
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.25s ease;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.4s var(--ease);
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item summary:hover {
  background: var(--surface-hover);
}

.accordion-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  animation: fadeSlide 0.4s var(--ease);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Credentials */
.cred-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cred-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cred-block {
  background: var(--surface);
  border: 1px solid rgba(61, 158, 232, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.cred-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cred-block h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.cred-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.cred-list li:last-child {
  border-bottom: none;
}

.cred-link {
  color: var(--blue-bright);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 158, 232, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cred-link:hover,
.cred-link:focus-visible {
  color: #fff;
  border-bottom-color: var(--blue-bright);
}

.cred-link-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.35rem;
}

.cred-degree {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--heading);
}

.cred-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.section-contact {
  padding-bottom: 4rem;
}

.contact-panel {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(145deg, #0c2744 0%, #0a1628 45%, #061018 100%);
  border: 1px solid rgba(61, 158, 232, 0.25);
  border-radius: var(--radius-lg);
  color: #ecf0f1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(61, 158, 232, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.contact-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(61, 158, 232, 0.12);
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  color: #fff;
}

.contact-panel > p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.section-contact .btn-primary {
  background: var(--blue);
}

.section-contact .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.section-contact .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  color: rgba(200, 212, 228, 0.55);
  font-size: 0.8rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

