/* ==========================================================================
   Yana Moskalenko — Portfolio
   ========================================================================== */

:root {
  --ink: #12141a;
  --ink-soft: #4a4d57;
  --ink-faint: #8a8d97;
  --paper: #f7f6f2;
  --paper-alt: #ffffff;
  --border: #e4e2db;
  --accent: #2f5cf0;
  --accent-dark: #1b3ec2;
  --accent-soft: #eaf0ff;

  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --max-width: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(72px, 12vw, 140px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding-top: 0;
  padding-bottom: var(--section-space);
}

section[id] {
  scroll-margin-top: 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 52ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

/* ---- Reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
    box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper-alt);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: clamp(140px, 20vw, 200px);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy p {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.hero-photo {
  position: relative;
}

.hero-visual img {
  border-radius: 24px;
  width: 100%;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(18, 20, 26, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}

.hero-badge.badge-top {
  top: 8%;
  left: -8%;
}

.hero-badge.badge-bottom {
  bottom: 6%;
  right: -6%;
  animation-delay: -3s;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-faint);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Work
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(18, 20, 26, 0.1);
}

.work-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-thumb img {
  transform: scale(1.05);
}

.work-body {
  padding: 22px 24px 26px;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 999px;
}

.work-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 14px;
}

.work-body p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.work-meta .arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.work-card:hover .work-meta .arrow {
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(45deg);
}

.work-meta .arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  transition: stroke 0.3s var(--ease);
}

.work-card:hover .work-meta .arrow svg {
  stroke: var(--paper);
}

.work-footer {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   AI-Empowered
   ========================================================================== */

#ai .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

#ai .skill-tags {
  margin-top: 24px;
}

#ai .ai-visual img {
  border-radius: 24px;
}

.about-facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.about-facts dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* ==========================================================================
   Skills & Process
   ========================================================================== */

#skills .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.skill-tags span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper-alt);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.skill-tags span:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.process-item:first-child {
  padding-top: 0;
}

.process-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

.process-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.process-item p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ==========================================================================
   Contact / Footer
   ========================================================================== */

.contact {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  margin: 0 var(--gutter);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(47, 92, 240, 0.35),
    transparent 60%
  );
  pointer-events: none;
}

.contact .eyebrow {
  color: #7c93ff;
}

.contact .eyebrow::before {
  background: #7c93ff;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-inline: auto;
}

.contact p {
  margin-top: 18px;
  color: #b7b9c4;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  position: relative;
}

.contact .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.contact .btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}

.contact .btn-ghost {
  border-color: rgba(247, 246, 242, 0.24);
  color: var(--paper);
}

.contact .btn-ghost:hover {
  border-color: var(--paper);
}

.site-footer {
  padding: 36px var(--gutter) 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.footer-social a:hover {
  color: var(--accent);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 500;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #ai .container,
  #skills .container {
    grid-template-columns: 1fr;
  }

  .ai-visual {
    max-width: 360px;
  }
}

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

  .hero-visual {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--paper-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px var(--gutter);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(18, 20, 26, 0.15);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

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

  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-badge {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-badge,
  .marquee-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Project modal (lightbox)
   ========================================================================== */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.project-modal.is-open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, 0.72);
}

.project-modal-dialog {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper-alt);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.project-modal-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-modal-identity img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.project-modal-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.project-modal-role {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.project-modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-modal-actions .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.project-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.project-modal-close svg {
  width: 16px;
  height: 16px;
}

.project-modal-close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.project-modal-body {
  flex: 1;
  overflow-y: auto;
  background: var(--paper);
}

.project-modal-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 24px) 80px;
}

.project-modal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 16px;
}

.project-modal-content p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
  white-space: pre-line;
}

.project-modal-figure {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 32px 0;
  box-shadow: 0 20px 50px rgba(18, 20, 26, 0.12);
}

@media (max-width: 760px) {
  .project-modal-identity div {
    display: none;
  }
}

/* ==========================================================================
   Contact modal
   ========================================================================== */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, 0.72);
  backdrop-filter: blur(6px);
}

.contact-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper-alt);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 40px 100px rgba(18, 20, 26, 0.4);
}

.contact-modal-dialog h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 40px;
}

.contact-modal-dialog > p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.contact-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-modal-close svg {
  width: 16px;
  height: 16px;
}

.contact-modal-close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.contact-modal-channels {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
}

.contact-modal-channels h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-modal-channels ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-modal-channels li {
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.contact-modal-channels a {
  color: var(--accent);
  font-weight: 500;
  word-break: break-word;
}

.contact-modal-channels a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Work Experience
   ========================================================================== */

.experience-more {
  display: none;
}

.experience-more.is-open {
  display: block;
}

#experienceMoreToggle svg {
  transition: transform 0.3s var(--ease);
}

#experienceMoreToggle.is-open svg {
  transform: rotate(180deg);
}

.experience-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: clamp(32px, 4vw, 44px);
  border-left: 2px dotted var(--border);
  margin-left: 6px;
}

.experience-item:last-child {
  border-left-color: transparent;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.experience-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.experience-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.experience-company {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.experience-dates {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.experience-bullets {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.experience-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.experience-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
}

.experience-tech {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .experience-dates {
    order: -1;
    flex-basis: 100%;
  }
}

.hero-toptal-badge {
  position: absolute;
  top: -10%;
  right: -10%;
  transform: scale(0.46);
  transform-origin: top right;
  z-index: 2;
  filter: drop-shadow(0 12px 20px rgba(18, 20, 26, 0.18));
}

/* ==========================================================================
   Portfolio updates
   ========================================================================== */

.cv-download {
  white-space: nowrap;
}

.work-skill-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 20, 26, 0.08);
  box-shadow: 0 8px 20px rgba(18, 20, 26, 0.12);
  color: var(--ink);
  pointer-events: none;
}

.work-skill-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .nav-cta .cv-download {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-footer .cv-download {
    order: 3;
  }
}
