    :root {
      --bg: #050509;
      --bg-elevated: #0e1017;
      --bg-soft: #151823;
      --accent: #4f8cff;
      --accent-soft: rgba(79, 140, 255, 0.12);
      --text: #f5f7ff;
      --muted: #a5aec4;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
      --radius-lg: 18px;
      --radius-pill: 999px;
    }

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

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top left, #17223b 0, #050509 45%, #050509 100%);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

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

    /* Layout */

    .page {
      max-width: 1100px;
      margin: 0 auto;
      padding: 1.5rem 1.25rem 3rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    header.site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 12px;
      background: linear-gradient(135deg, #2b7fff, #ffe047);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.95rem;
      color: #050509;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

    .logo-text {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .logo-text span:first-child {
      font-weight: 600;
      letter-spacing: 0.03em;
      font-size: 0.95rem;
    }

    .logo-text span:last-child {
      font-size: 0.78rem;
      color: var(--muted);
    }

    nav.top-nav {
      display: flex;
      gap: 1rem;
      font-size: 0.9rem;
    }

    nav.top-nav a {
      padding: 0.4rem 0.9rem;
      border-radius: var(--radius-pill);
      color: var(--muted);
      border: 1px solid transparent;
      transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    nav.top-nav a:hover {
      background: rgba(255, 255, 255, 0.02);
      border-color: var(--border-subtle);
      color: var(--text);
    }

    /* Hero */

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
      gap: 2.2rem;
      align-items: center;
    }

    .hero-main {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0.7rem;
      background: rgba(12, 194, 120, 0.08);
      border-radius: var(--radius-pill);
      border: 1px solid rgba(12, 194, 120, 0.3);
      font-size: 0.75rem;
      color: #a8ffce;
      width: fit-content;
    }

    .hero-tag i {
      font-size: 0.8rem;
    }

    h1 {
      font-size: clamp(2.1rem, 3vw, 2.7rem);
      line-height: 1.1;
      letter-spacing: 0.02em;
    }

    h1 strong {
      color: var(--accent);
    }

    .hero-subtitle {
      color: var(--muted);
      max-width: 520px;
      font-size: 0.97rem;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.5rem;
      font-size: 0.82rem;
      color: var(--muted);
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem 0.7rem;
      border-radius: var(--radius-pill);
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-subtle);
    }

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

    .btn {
      border: none;
      cursor: pointer;
      border-radius: var(--radius-pill);
      padding: 0.65rem 1.25rem;
      font-size: 0.9rem;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease, opacity 0.18s ease;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--accent);
      color: #050509;
      box-shadow: 0 12px 25px rgba(11, 88, 231, 0.5);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 35px rgba(11, 88, 231, 0.7);
    }

    .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border-subtle);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.02);
      color: var(--text);
    }

    .hero-aside {
      background: var(--bg-elevated);
      border-radius: 24px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      padding: 1.6rem 1.4rem 1.4rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.9rem;
      position: relative;
      overflow: hidden;
    }

    .hero-aside::before {
      content: "";
      position: absolute;
      inset: -40%;
      opacity: 0.2;
      background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.11), transparent 55%),
                  radial-gradient(circle at 130% 140%, rgba(79, 140, 255, 0.3), transparent 55%);
      pointer-events: none;
    }

    .avatar-wrapper {
      position: relative;
      z-index: 1;
    }

    .avatar-ring {
      width: 144px;
      height: 144px;
      border-radius: 50%;
      padding: 3px;
      background: conic-gradient(from 160deg, #2b7fff, #ffe047, #2b7fff);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .avatar {
      width: 132px;
      height: 132px;
      border-radius: 50%;
      object-fit: cover;
      background: #111;
    }

    .hero-aside h2 {
      font-size: 1.1rem;
    }

    .hero-aside p {
      font-size: 0.85rem;
      color: var(--muted);
      text-align: center;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      justify-content: center;
      margin-top: 0.5rem;
    }

    .pill {
      padding: 0.25rem 0.6rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 0.78rem;
      background: rgba(0, 0, 0, 0.3);
      color: #d9e2ff;
    }

    .ukraine-flag {
      border-radius: var(--radius-pill);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.25);
      margin-top: 0.75rem;
      font-size: 0.78rem;
      font-weight: 500;
    }

    .ukraine-flag div:first-child {
      background: #0057b7;
      padding: 0.25rem 0.8rem;
      text-align: center;
    }

    .ukraine-flag div:last-child {
      background: #ffd700;
      padding: 0.25rem 0.8rem 0.35rem;
      text-align: center;
      color: #141414;
    }

    /* Sections */

    section {
      margin-top: 1rem;
    }

    .section-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
      gap: 1.7rem;
      align-items: flex-start;
    }

    .card {
      background: var(--bg-elevated);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      padding: 1.4rem 1.3rem;
      box-shadow: var(--shadow-soft);
    }

    .card h3 {
      font-size: 1rem;
      margin-bottom: 0.7rem;
    }

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

    .card ul {
      list-style: none;
      margin-top: 0.7rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      padding-left: 0;
      font-size: 0.9rem;
    }

    .card ul li {
      position: relative;
      padding-left: 1.1rem;
      color: #d8def1;
    }

    .card ul li::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
      position: absolute;
      left: 0;
      top: 0.5rem;
      opacity: 0.7;
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.6rem;
    }

    .badge {
      padding: 0.3rem 0.65rem;
      border-radius: var(--radius-pill);
      background: var(--accent-soft);
      border: 1px solid rgba(79, 140, 255, 0.35);
      font-size: 0.78rem;
      color: #c2d6ff;
    }

    .subtle-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--muted);
      margin-bottom: 0.35rem;
    }

    /* Footer */

    footer.site-footer {
      border-top: 1px solid var(--border-subtle);
      padding: 0.9rem 1.25rem 1.4rem;
      font-size: 0.8rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .footer-left {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
    }

    .footer-right {
      display: flex;
      gap: 0.6rem;
    }

    .footer-right a {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      border: 1px solid var(--border-subtle);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      opacity: 0.8;
      transition: background 0.15s ease, transform 0.12s ease, opacity 0.15s ease;
    }

    .footer-right a:hover {
      background: rgba(255, 255, 255, 0.04);
      transform: translateY(-1px);
      opacity: 1;
    }

    /* Responsive */

    @media (max-width: 860px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero-aside {
        order: -1;
      }

      .section-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      header.site-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 540px) {
      .page {
        padding-inline: 1rem;
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .hero-aside {
        padding-inline: 1.2rem;
      }

      footer.site-footer {
        flex-direction: column;
        align-items: flex-start;
      }
    }


    .project-carousel-section {
  margin-top: 3rem;
}

.carousel-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.2rem;
  padding: 0.5rem 0;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  min-width: 330px;
  background: var(--bg-elevated);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.carousel-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.carousel-item:hover {
  transform: translateY(-4px);
}

.carousel-caption {
  padding: 0.8rem 1rem;
}

.carousel-caption h3 {
  margin: 0;
  font-size: 1.05rem;
}

.carousel-caption p {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.15s ease, opacity 0.15s ease;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.09);
}

.carousel-btn.left {
  left: -10px;
}

.carousel-btn.right {
  right: -10px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .carousel-btn {
    display: none;
  }
}


