@charset "UTF-8";
* {
  box-sizing: border-box;
}

*::before, *::after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, p, ul, figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

html, body {
  height: 100%;
  overflow: hidden;
}
@media (max-width: 1200px) {
  html, body {
    height: auto;
    overflow-y: auto;
  }
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #ffffff;
  background: #0a0a0a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.2) transparent;
}

*::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 2px;
  transition: background 0.3s ease;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.4);
}
*::-webkit-scrollbar-thumb:active {
  background: rgba(16, 185, 129, 0.5);
}

.section {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.2) transparent;
}
.section::-webkit-scrollbar {
  width: 4px;
}
.section::-webkit-scrollbar-track {
  background: transparent;
  margin-top: 20%;
  margin-bottom: 20%;
}
.section::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 2px;
  min-height: 30px;
}
.section::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.4);
}
.section::-webkit-scrollbar-thumb:active {
  background: rgba(16, 185, 129, 0.5);
}

main {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
@media (max-width: 1200px) {
  main {
    height: auto;
    overflow: visible;
  }
}

.container {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
  padding: 0 16px;
  padding-left: 136px;
}
@media (max-width: 1200px) {
  .container {
    padding-left: 16px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }
}

.section {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 72px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}
.section.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}
.section.section--scrollable {
  align-items: flex-start;
  overflow-y: auto;
  padding-top: 132px;
  padding-bottom: 24px;
}
@media (max-width: 1200px) {
  .section.section--scrollable {
    padding-top: 24px;
  }
}
@media (max-width: 1200px) {
  .section.section--scrollable:first-of-type {
    padding-top: 84px;
  }
}
@media (max-width: 1200px) {
  .section {
    height: auto;
    min-height: auto;
    position: relative;
    opacity: 1;
    visibility: visible;
    overflow-y: visible;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .section:first-of-type {
    padding-top: 84px;
  }
}
@media (max-width: 900px) {
  .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .section:first-of-type {
    padding-top: 84px;
  }
}
@media (max-width: 640px) {
  .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .section:first-of-type {
    padding-top: 84px;
  }
}

.section--muted {
  background: #111111;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: #a3a3a3;
  margin-bottom: 12px;
}

.section__header {
  margin-bottom: 24px;
}
.section__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .section__header {
    margin-bottom: 20px;
  }
}

.section__lede {
  color: #a3a3a3;
  font-size: clamp(15px, 2vw, 17px);
}
.section__lede a {
  color: #10b981;
  text-decoration: underline;
}
.section__lede a:hover {
  color: #14b8a6;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.section__body p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.section__body p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  color: white;
  border: none;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #34d399, #10b981, #14b8a6);
}

.btn--ghost {
  background: #111111;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  box-shadow: none;
}
.btn--ghost:hover {
  background: #1a1a1a;
  border-color: #10b981;
}

.btn--small {
  padding: 8px 14px;
  font-size: 13px;
}

.card {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border-color: #10b981;
}
.card h2, .card h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.5vw, 24px);
  color: #ffffff;
}
.card p {
  margin-bottom: 16px;
  color: #a3a3a3;
}
.card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}
.card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #a3a3a3;
  line-height: 1.7;
}
.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.9);
  z-index: 100;
  border-bottom: 1px solid #2a2a2a;
}
@media (max-width: 1200px) {
  .nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
  padding: 16px;
  padding-left: 136px !important;
  padding-right: 16px !important;
}
@media (max-width: 1200px) {
  .nav__inner {
    padding-left: 16px !important;
  }
}
@media (max-width: 640px) {
  .nav__inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.nav__brand {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 18px);
  color: #ffffff;
  z-index: 101;
  position: relative;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 103;
  position: relative;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 200ms ease;
  border-radius: 2px;
}
.nav__toggle[aria-expanded=true] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav__toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded=true] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
@media (max-width: 1024px) {
  .nav__toggle {
    display: flex;
  }
}

.nav__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav__links a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 200ms ease, color 200ms ease;
}
.nav__links a:hover {
  background: #1a1a1a;
  color: #10b981;
}
@media (max-width: 1024px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    max-width: 80vw;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 8px;
    transition: right 0.3s ease;
    border-left: 1px solid #2a2a2a;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 102;
  }
  .nav__links.active {
    right: 0;
  }
  .nav__links a {
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
    text-align: left;
    border-radius: 8px;
  }
  .nav__links a:hover {
    background: #1a1a1a;
    color: #10b981;
  }
}

@media (max-width: 640px) {
  .nav__links {
    gap: 8px;
    font-size: 13px;
  }
  .nav__links a {
    padding: 6px 8px;
  }
}
@media (max-width: 640px) and (max-width: 1024px) {
  .nav__links a {
    padding: 12px 16px;
    font-size: 16px;
  }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__content h1 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 12px 0 16px;
  line-height: 1.2;
  font-weight: 700;
}
.hero__content .lead {
  color: #a3a3a3;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero__image {
    display: none;
  }
}

.hero__blob {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.3), rgba(20, 184, 166, 0.2));
  border-radius: 28% 72% 60% 40%/36% 30% 70% 64%;
  filter: drop-shadow(0 20px 50px rgba(16, 185, 129, 0.2));
  animation: blob 8s ease-in-out infinite;
}

@keyframes blob {
  0%, 100% {
    border-radius: 28% 72% 60% 40%/36% 30% 70% 64%;
  }
  50% {
    border-radius: 60% 40% 30% 70%/50% 60% 40% 50%;
  }
}
.neural-network {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .neural-network {
    display: none;
  }
}

.neural-line {
  stroke: url(#lineGradient);
  stroke-width: 1.5;
  opacity: 0.4;
  animation: line-pulse 3s ease-in-out infinite;
}
.neural-line--1 {
  animation-delay: 0.12s;
}
.neural-line--2 {
  animation-delay: 0.24s;
}
.neural-line--3 {
  animation-delay: 0.36s;
}
.neural-line--4 {
  animation-delay: 0.48s;
}
.neural-line--5 {
  animation-delay: 0.6s;
}
.neural-line--6 {
  animation-delay: 0.72s;
}
.neural-line--7 {
  animation-delay: 0.84s;
}
.neural-line--8 {
  animation-delay: 0.96s;
}
.neural-line--9 {
  animation-delay: 1.08s;
}
.neural-line--10 {
  animation-delay: 1.2s;
}
.neural-line--11 {
  animation-delay: 1.32s;
}
.neural-line--12 {
  animation-delay: 1.44s;
}
.neural-line--13 {
  animation-delay: 1.56s;
}
.neural-line--14 {
  animation-delay: 1.68s;
}
.neural-line--15 {
  animation-delay: 1.8s;
}
.neural-line--16 {
  animation-delay: 1.92s;
}
.neural-line--17 {
  animation-delay: 2.04s;
}
.neural-line--18 {
  animation-delay: 2.16s;
}
.neural-line--19 {
  animation-delay: 2.28s;
}
.neural-line--20 {
  animation-delay: 2.4s;
}
.neural-line--21 {
  animation-delay: 2.52s;
}
.neural-line--22 {
  animation-delay: 2.64s;
}
.neural-line--23 {
  animation-delay: 2.76s;
}
.neural-line--24 {
  animation-delay: 2.88s;
}
.neural-line--25 {
  animation-delay: 3s;
}

@keyframes line-pulse {
  0%, 100% {
    opacity: 0.2;
    stroke-width: 1;
  }
  50% {
    opacity: 0.6;
    stroke-width: 2;
  }
}
.neural-node {
  fill: url(#nodeGradient);
  opacity: 0.9;
  animation: node-glow 2s ease-in-out infinite;
}
.neural-node--1 {
  animation-delay: 0.15s;
}
.neural-node--2 {
  animation-delay: 0.3s;
}
.neural-node--3 {
  animation-delay: 0.45s;
}
.neural-node--4 {
  animation-delay: 0.6s;
}
.neural-node--5 {
  animation-delay: 0.75s;
}
.neural-node--6 {
  animation-delay: 0.9s;
}
.neural-node--7 {
  animation-delay: 1.05s;
}
.neural-node--8 {
  animation-delay: 1.2s;
}
.neural-node--9 {
  animation-delay: 1.35s;
}
.neural-node--10 {
  animation-delay: 1.5s;
}
.neural-node--11 {
  animation-delay: 1.65s;
}
.neural-node--12 {
  animation-delay: 1.8s;
}

@keyframes node-glow {
  0%, 100% {
    opacity: 0.6;
    r: 6;
  }
  50% {
    opacity: 1;
    r: 10;
  }
}
.neural-pulse {
  fill: #14b8a6;
  opacity: 0.9;
  filter: url(#glow);
}
.neural-pulse--1 {
  fill: #10b981;
}
.neural-pulse--2 {
  fill: #14b8a6;
}
.neural-pulse--3 {
  fill: #10b981;
}
.neural-pulse--4 {
  fill: #8b5cf6;
}

@media (max-width: 900px) {
  .section.hero {
    align-items: flex-start;
    overflow-y: auto;
  }
}
.section.hero .hero__content h1 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 12px 0 16px;
  line-height: 1.2;
  font-weight: 700;
}
.section.hero .hero__content .lead {
  color: #a3a3a3;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
}

#about .section__body {
  display: grid;
  gap: 16px;
  color: #a3a3a3;
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .skills__grid {
    grid-template-columns: 1fr;
  }
}

.skills__grid h2,
.skills__grid h3 {
  margin-bottom: 12px;
}

.skills__grid p {
  color: #a3a3a3;
  margin-bottom: 16px;
}

.skill-card {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  overflow: visible;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
  display: flex;
  flex-direction: column;
  min-height: fit-content;
}
.skill-card:hover:not([aria-expanded=true]) {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: #10b981;
}
.skill-card[aria-expanded=true] {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2), 0 15px 40px rgba(0, 0, 0, 0.5);
  border-image: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee) 1;
}

.skill-card__header {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 200ms ease;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
}
.skill-card__header:hover {
  background: #1a1a1a;
}
.skill-card__header:focus {
  outline: 2px solid #10b981;
  outline-offset: -2px;
}
.skill-card__header h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.5vw, 24px);
  padding-right: 24px;
  flex: 1;
}

.skill-card__summary {
  color: #a3a3a3;
  margin-bottom: 12px;
  line-height: 1.6;
  padding-right: 24px;
}

.skill-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  color: #10b981;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card[aria-expanded=true] .skill-card__icon {
  transform: rotate(180deg);
}

.skill-card__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;
  padding: 0 24px;
  opacity: 0;
}

.skill-card[aria-expanded=true] .skill-card__content {
  max-height: 2000px;
  padding: 0 24px 24px;
  opacity: 1;
  overflow: visible;
}

.skill-card__content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}
.skill-card__content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #a3a3a3;
  line-height: 1.7;
}
.skill-card__content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.skills__summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .skills__summary {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .skills__summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skills__summary-list h4 {
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.skills__summary-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills__summary-list ul li {
  padding: 8px 0;
  color: #a3a3a3;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
}
.skills__summary-list ul li:last-child {
  border-bottom: none;
}

.skills__detailed {
  margin-top: 40px;
}

.projects__list {
  display: grid;
  gap: 20px;
}

.projects__list--no-image .project {
  grid-template-columns: 1fr;
}

.project {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  background: #111111;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.project:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border-color: #10b981;
}
.project--no-image {
  grid-template-columns: 1fr;
}
@media (max-width: 900px) {
  .project {
    grid-template-columns: 1fr;
  }
}

#timeline .project {
  grid-template-columns: 1fr;
  position: relative;
  padding-left: 40px;
}
#timeline .project::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  border-radius: 2px;
}
#timeline .project::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 2px #10b981;
}
#timeline .project:last-child::before {
  display: none;
}

.project__text h2, .project__text h3 {
  margin-bottom: 12px;
}
.project__text h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.project__text p {
  color: #a3a3a3;
  margin-bottom: 16px;
}
.project__text ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}
.project__text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #a3a3a3;
  line-height: 1.7;
}
.project__text ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}
.project__text strong {
  color: #ffffff;
  font-weight: 600;
}

.project__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.project__media {
  justify-self: end;
  width: 100%;
}

.project__thumb {
  width: 100%;
  min-height: 180px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(20.0597014925, 231.9402985075, 161.7313432836), rgb(25, 230, 207.5));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
}

.project__img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #2a2a2a;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.project__img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.timeline {
  display: grid;
  gap: 12px;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  border-radius: 2px;
}
@media (max-width: 900px) {
  .timeline {
    padding-left: 24px;
  }
}

.timeline__item {
  position: relative;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 200ms ease, opacity 200ms ease, border-color 200ms ease;
  opacity: 1;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 2px #10b981;
  z-index: 2;
  transition: transform 200ms ease;
}
.timeline__item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.timeline__item[aria-expanded=true]::before {
  transform: scale(1.2);
}
.timeline__item--hidden {
  display: none !important;
  opacity: 1;
  margin: 0;
}
.timeline__item--hidden[style*="display: block"] {
  display: block !important;
  animation: fadeIn 0.3s ease-out;
}
@media (max-width: 900px) {
  .timeline__item::before {
    left: -18px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline__header {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: background 200ms ease;
}
.timeline__header:hover {
  background: #1a1a1a;
}
.timeline__header:focus {
  outline: 2px solid #10b981;
  outline-offset: -2px;
}

.timeline__header-content {
  flex: 1;
}
.timeline__header-content .eyebrow {
  color: #a3a3a3;
}
.timeline__header-content h3 {
  color: #ffffff;
  margin-top: 8px;
  margin-bottom: 0;
}

.timeline__summary {
  color: #a3a3a3;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.timeline__icon {
  flex-shrink: 0;
  font-size: 12px;
  color: #10b981;
  transition: transform 200ms ease;
  margin-top: 8px;
  align-self: flex-start;
}

.timeline__item[aria-expanded=true] .timeline__icon {
  transform: rotate(180deg);
}

.timeline__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
}

.timeline__item[aria-expanded=true] .timeline__content {
  max-height: 2000px;
  padding: 0 20px 16px;
}

.timeline__content ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}
.timeline__content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #a3a3a3;
  line-height: 1.7;
}
.timeline__content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.timeline__content strong {
  color: #ffffff;
  font-weight: 600;
}

.expand-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.sidebar {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}
@media (max-width: 1200px) {
  .sidebar {
    display: none;
  }
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 8px 0;
}

.sidebar__nav::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: #2a2a2a;
  z-index: 0;
  opacity: 0.5;
}

.sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #a3a3a3;
  transition: color 200ms ease;
  text-decoration: none;
  padding-left: 20px;
  z-index: 1;
}
.sidebar__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #2a2a2a;
  transition: all 200ms ease;
  z-index: 2;
}
.sidebar__link:hover {
  color: #10b981;
}
.sidebar__link:hover::before {
  border-color: #10b981;
  background: #10b981;
  transform: translateY(-50%) scale(1.2);
}
.sidebar__link.active {
  color: #10b981;
  font-weight: 600;
}
.sidebar__link.active::before {
  border-color: #10b981;
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.sidebar__link:hover::before {
  background: linear-gradient(135deg, #10b981, #14b8a6, #22d3ee);
}

.sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar__link--parent {
  cursor: pointer;
}
.sidebar__link--parent .sidebar__expand {
  margin-left: auto;
  font-size: 10px;
  transition: transform 200ms ease;
}
.sidebar__link--parent.expanded .sidebar__expand {
  transform: rotate(180deg);
}

.sidebar__subnav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 16px;
  margin-top: 0;
  padding-left: 0;
  position: relative;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: opacity 200ms ease, max-height 0.3s ease, margin 200ms ease, visibility 200ms ease;
}
.sidebar__subnav::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2a2a2a;
  opacity: 0.5;
}
.sidebar__group.expanded .sidebar__subnav {
  opacity: 1;
  visibility: visible;
  max-height: 500px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.sidebar__link--child {
  padding-left: 16px;
  font-size: 11px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__link--child::before {
  width: 10px;
  height: 10px;
  left: 0;
  transform: translateY(-50%);
}
.sidebar__link--child:hover::before {
  transform: translateY(-50%) scale(1.2);
}
.sidebar__link--child.active::before {
  transform: translateY(-50%) scale(1.1);
}

.publications__list {
  display: grid;
  gap: 12px;
}

.publication {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 16px 20px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.publication:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: #10b981;
}
.publication .eyebrow {
  margin-bottom: 8px;
}
.publication h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 2vw, 22px);
  color: #ffffff;
}
.publication p {
  color: #a3a3a3;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 14px;
}

.publication--link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.publication--link h3 {
  transition: color 200ms ease;
}
.publication--link:hover h3 {
  color: #10b981;
}

.publication__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__text h2 {
  margin: 12px 0;
}

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 20px 0;
  border-top: 1px solid #2a2a2a;
  background: #0a0a0a;
  color: #a3a3a3;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  font-weight: 600;
}

/*# sourceMappingURL=main.css.map */
