/* Modern, responsive portfolio UI
   - Dark/light theme via CSS variables
   - Minimal JS for active nav + mobile menu
*/

:root {
  --bg0: #070912;
  --bg1: rgba(255, 255, 255, 0.04);
  --bg2: rgba(255, 255, 255, 0.07);
  --card: rgba(255, 255, 255, 0.055);
  --card2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --muted2: rgba(255, 255, 255, 0.48);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow2: 0 10px 35px rgba(0, 0, 0, 0.35);
  --ring: rgba(132, 210, 255, 0.45);

  --brandA: #7c3aed;
  --brandB: #22d3ee;
  --brandC: #10b981;
  --brandD: #f59e0b;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --container: 1120px;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Light theme overrides (toggled by JS or prefers-color-scheme) */
html[data-theme="light"] {
  --bg0: #ffffff;
  --bg1: rgba(10, 20, 40, 0.03);
  --bg2: rgba(10, 20, 40, 0.06);
  --card: rgba(255, 255, 255, 0.86);
  --card2: rgba(255, 255, 255, 0.98);
  --border: rgba(10, 20, 40, 0.14);
  --text: rgba(10, 20, 40, 0.86);
  --muted: rgba(10, 20, 40, 0.60);
  --muted2: rgba(10, 20, 40, 0.44);
  --shadow: 0 18px 60px rgba(10, 20, 40, 0.12);
  --shadow2: 0 10px 35px rgba(10, 20, 40, 0.10);
  --ring: rgba(76, 155, 255, 0.28);
}

/* Higher-contrast borders/separators in light mode */
html[data-theme="light"] .site-header {
  border-bottom-color: var(--border);
}
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .btn,
html[data-theme="light"] .mobile-menu__link,
html[data-theme="light"] .nav__link.is-active,
html[data-theme="light"] .nav__link[aria-current="page"],
html[data-theme="light"] .meta-card,
html[data-theme="light"] .hero__panel,
html[data-theme="light"] .sparkline,
html[data-theme="light"] .kbd,
html[data-theme="light"] .timeline,
html[data-theme="light"] .timelineCard,
html[data-theme="light"] .eduCard,
html[data-theme="light"] .list,
html[data-theme="light"] .linkChip,
html[data-theme="light"] .projectCard,
html[data-theme="light"] .tag,
html[data-theme="light"] .ctaBanner,
html[data-theme="light"] .contactCard,
html[data-theme="light"] .footer__inner {
  border-color: var(--border) !important;
}
html[data-theme="light"] .pubItem,
html[data-theme="light"] .timelineItem + .timelineItem {
  border-top-color: var(--border) !important;
}
html[data-theme="light"] .projectCard__thumb {
  border-bottom-color: var(--border) !important;
}

/* Light-mode readability: keep backgrounds close to white */
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 720px at 15% 0%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(900px 620px at 80% 10%, rgba(34, 211, 238, 0.10), transparent 52%),
    radial-gradient(820px 620px at 70% 95%, rgba(16, 185, 129, 0.07), transparent 50%),
    linear-gradient(180deg, #ffffff, #ffffff);
}

html[data-theme="light"] .pill {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--border);
}

html[data-theme="light"] .meta-card,
html[data-theme="light"] .timeline,
html[data-theme="light"] .timelineCard,
html[data-theme="light"] .eduCard,
html[data-theme="light"] .list,
html[data-theme="light"] .projectCard,
html[data-theme="light"] .tag,
html[data-theme="light"] .ctaBanner,
html[data-theme="light"] .contactCard,
html[data-theme="light"] .linkChip {
  background: rgba(255, 255, 255, 0.86) !important;
}

html[data-theme="light"] .timelineCard:hover,
html[data-theme="light"] .projectCard:hover,
html[data-theme="light"] .meta-card:hover {
  background: rgba(255, 255, 255, 0.94) !important;
}

html[data-theme="light"] .btn {
  border-color: var(--border) !important;
}
html[data-theme="light"] .btn--ghost {
  background: rgba(10, 20, 40, 0.04);
  border-color: var(--border) !important;
}

html[data-theme="light"] .nav__link:hover {
  background: rgba(10, 20, 40, 0.04);
}

html[data-theme="light"] .nav__link[aria-current="page"],
html[data-theme="light"] .nav__link.is-active {
  background: rgba(10, 20, 40, 0.06);
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) {
    html[data-theme="auto"] {
      --bg0: #f7f9ff;
    }
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 520;
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(900px 600px at 80% 10%, rgba(34, 211, 238, 0.25), transparent 52%),
    radial-gradient(800px 600px at 70% 95%, rgba(16, 185, 129, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg0), var(--bg0));
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--card2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 18, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .site-header {
  background: rgba(247, 249, 255, 0.6);
  border-bottom: 1px solid rgba(20, 30, 60, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(135deg, var(--brandA), var(--brandB));
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav__links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav__link[aria-current="page"],
.nav__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.18);
}
.icon-btn__icon {
  font-size: 16px;
  transform: translateY(-1px);
}

.nav__menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0 14px;
}
.mobile-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-menu__link {
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
}
.mobile-menu__link:hover {
  background: rgba(255, 255, 255, 0.075);
}

@media (max-width: 920px) {
  .nav__links {
    display: none;
  }
  .nav__menu-btn {
    display: inline-flex;
  }
  .mobile-menu {
    display: block;
  }
}

.main {
  padding-bottom: 40px;
}

.section {
  padding: 72px 0;
}
.section--tight {
  padding: 48px 0;
}

.hero {
  padding-top: 36px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
}

.hero__copy {
  padding-top: 0;
}

.hero__avatarCol {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
}
.pill--soft {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.15));
}

.hero__title {
  margin: 14px 0 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
  text-align: justify;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(34, 211, 238, 0.85));
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.meta-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px 14px;
}
.meta-card__k {
  color: var(--muted2);
  font-weight: 640;
  font-size: 12px;
}
.meta-card__v {
  margin-top: 6px;
  font-weight: 720;
}

.hero__panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.hero__panelTop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 18px 0;
}

.panelStat__k {
  color: var(--muted2);
  font-weight: 640;
  font-size: 12px;
}
.panelStat__v {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.hero__panelMid {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sparkline {
  height: 120px;
  border-radius: 18px;
  background:
    radial-gradient(120px 70px at 20% 35%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(120px 70px at 70% 65%, rgba(34, 211, 238, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}
.sparkline::after {
  content: "";
  position: absolute;
  inset: -30px -20px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
  transform: rotate(14deg);
  animation: shimmer 2.8s var(--ease) infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-30%) rotate(14deg);
    opacity: 0.0;
  }
  20% {
    opacity: 0.65;
  }
  60% {
    opacity: 0.25;
  }
  100% {
    transform: translateX(35%) rotate(14deg);
    opacity: 0.0;
  }
}

.panelNote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero__avatarWrap {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(34, 211, 238, 0.85));
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.18);
}

.hero__avatarImg {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .hero__avatarImg {
  border-color: rgba(10, 20, 40, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .hero__avatarWrap {
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.12);
}

.kbd-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.sectionHead {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sectionTitle {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.sectionSub {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
  font-weight: 650;
}

.timeline {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timelineCard {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.timelineCard:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
}

.timelineCard__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  white-space: nowrap;
}

.timelineCard__line {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 780;
  letter-spacing: -0.01em;
}

.timelineCard__line span {
  font-weight: 780;
}

.timelineItem {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.timelineItem + .timelineItem {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timelineItem__date {
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 13px;
  padding-left: 12px;
}
.timelineItem__content {
  padding-right: 10px;
}
.timelineItem__title {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.timelineItem__org {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}
.timelineItem__desc {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.eduCard {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 18px;
}
.eduCard__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.eduCard__degree {
  font-weight: 820;
  letter-spacing: -0.02em;
  font-size: 16px;
}
.eduCard__where {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 680;
  line-height: 1.5;
}
.eduCard__dates {
  font-family: var(--mono);
  color: var(--muted2);
  font-size: 13px;
  white-space: nowrap;
}
.eduCard__desc {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.list {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.pubItem {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pubItem:first-child {
  border-top: none;
  padding-top: 0;
}
.pubItem:last-child {
  padding-bottom: 0;
}

.pubItem__year {
  font-family: var(--mono);
  color: var(--muted2);
  font-size: 13px;
}
.pubItem__titleRow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.pubItem__title {
  font-weight: 820;
  letter-spacing: -0.01em;
}
.pubItem__venue {
  color: var(--muted);
  font-weight: 680;
  margin-top: 6px;
  line-height: 1.5;
}
.pubItem__desc {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}
.pubLinks {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.linkChip {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.linkChip:hover {
  background: rgba(255, 255, 255, 0.075);
}

.projectGrid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.projectCard {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
  display: flex;
  flex-direction: column;
}
.projectCard:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
}
.projectCard__thumb {
  height: 168px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.projectCard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.projectCard__body {
  padding: 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.projectCard__name {
  font-weight: 820;
  letter-spacing: -0.02em;
}
.projectCard__desc {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
  font-size: 14px;
}
.projectCard__tags {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.ctaBanner {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(560px 240px at 90% 10%, rgba(34, 211, 238, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow2);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
}

.ctaBanner__title {
  margin: 12px 0 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.ctaBanner__lead {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}
.ctaBanner__actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contactCard {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}
.contactCard__k {
  color: var(--muted2);
  font-weight: 680;
}
.contactCard__v {
  margin-top: 8px;
  font-weight: 820;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.contactCard__hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  padding: 30px 0 50px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
}
.footerLink {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.0);
}
.footerLink:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.muted {
  color: var(--muted);
  font-weight: 620;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__avatarCol {
    order: -1;
    padding-top: 0;
  }
  .hero__copy {
    padding-top: 18px;
  }
  .hero__meta {
    grid-template-columns: 1fr;
  }
  .projectGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .ctaBanner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero__avatarWrap {
    width: 240px;
    height: 240px;
  }
  .timelineItem {
    grid-template-columns: 1fr;
  }
  .timelineItem__date {
    padding-left: 0;
    margin-bottom: 6px;
  }
  .pubItem {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .projectGrid {
    grid-template-columns: 1fr;
  }
}

