:root {
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --text-muted: #888888;
  --nav-bg: rgba(10, 10, 10, 0.8);
  --form-bg: rgba(255, 255, 255, 0.05);
  --form-border: rgba(255, 255, 255, 0.1);
  --outline-color: rgba(255, 255, 255, 0.5);
  --accent: #4ade80;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font-sans);
}

body.light-mode {
  --bg-color: #f8fafc;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --nav-bg: rgba(248, 250, 252, 0.82);
  --form-bg: rgba(15, 23, 42, 0.04);
  --form-border: rgba(15, 23, 42, 0.12);
  --outline-color: rgba(15, 23, 42, 0.45);
  --accent: #16a34a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  transition:
    background-color 400ms ease,
    color 400ms ease;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.logo,
.greeting {
  font-family: var(--font-display);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
}

.logo {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 250ms ease;
}

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

.theme-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.theme-btn:hover,
.theme-btn:focus-visible {
  background: var(--form-bg);
  outline: 1px solid var(--form-border);
}

.theme-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hidden {
  display: none !important;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  text-align: center;
}

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

.greeting {
  color: var(--text-muted);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 850ms ease forwards;
}

.name-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.word {
  display: flex;
  gap: 0.5rem;
}

.letter-wrapper {
  position: relative;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  perspective: 1000px;
}

.letter-wrapper:focus-visible {
  outline: 1px solid var(--outline-color);
  outline-offset: 8px;
}

.icon-svg,
.actual-letter {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.icon-svg {
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--brand-color);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2) rotate(-45deg);
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

body.light-mode .icon-svg svg {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.12));
}

.actual-letter {
  z-index: 3;
  color: var(--text-color);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.letter-wrapper:hover .icon-svg,
.letter-wrapper:focus-visible .icon-svg,
.letter-wrapper.is-peeking .icon-svg {
  transform: translate(-50%, -50%) scale(1.3) rotate(5deg);
}

.subtitle {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  letter-spacing: 3px;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(20px);
  animation: fadeUp 850ms ease forwards 2.5s;
}

.placeholder-section {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}

.perspective-section {
  perspective: 2000px;
}

.section-content {
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transform: translateY(52px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

.section-content.wide-content {
  max-width: 1120px;
}

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

.section-content > h2,
.about-text h2 {
  margin-bottom: 2rem;
  background: linear-gradient(to right, var(--text-color), var(--text-muted));
  background-clip: text;
  color: transparent;
  font-size: clamp(2.35rem, 7vw, 3.5rem);
  text-align: center;
}

.placeholder-section p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  text-align: left;
}

.pixel-card-wrapper {
  position: relative;
  width: clamp(260px, 28vw, 320px);
  flex-shrink: 0;
}

.pixel-card {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: 370px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
  border: 1px solid var(--form-border);
  border-radius: 24px;
  background: var(--bg-color);
  transition: border-color 250ms ease;
}

.pixel-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  margin: auto;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.16), transparent 75%);
  content: "";
  opacity: 0;
  transition: opacity 800ms ease;
}

.pixel-card:hover,
.pixel-card:focus-within {
  border-color: rgba(74, 222, 128, 0.48);
}

.pixel-card:hover::before,
.pixel-card:focus-within::before {
  opacity: 1;
}

.pixel-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pixel-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 0 1.2rem;
}

.profile-photo {
  display: block;
  width: clamp(132px, 13vw, 172px);
  height: clamp(132px, 13vw, 172px);
  border: 3px solid var(--bg-color);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 16%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.profile-card-name {
  margin-top: 1.15rem;
  margin-bottom: 0.55rem;
  background: none;
  color: var(--text-color);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.profile-card-role {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin: 0;
  text-align: center;
}

.profile-card-role span {
  display: block;
}

.profile-card-role .role-title {
  color: var(--accent);
  font-size: clamp(0.92rem, 1.55vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.about-text h2 {
  text-align: left;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.5rem 0 1.55rem;
}

.about-highlights span {
  border: 1px solid var(--form-border);
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.1);
  color: var(--text-color);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.social-links {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--form-border);
  border-radius: 12px;
  background: var(--form-bg);
  color: var(--text-color);
  transition:
    border-color 250ms ease,
    color 250ms ease,
    transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-5px) scale(1.1);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 2.7rem;
}

.skill-category {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.skill-category h3 {
  margin-bottom: 1.2rem;
  color: var(--text-color);
  font-size: 1.35rem;
  opacity: 0.84;
  text-align: center;
}

.skill-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1rem;
}

.skill-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text-color);
  text-align: center;
  transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card:hover,
.skill-card:focus-within {
  transform: translateY(-8px) scale(1.08);
}

.skill-card svg,
.project-icon svg {
  width: 42px;
  height: 42px;
  color: var(--brand-color, var(--accent));
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.skill-card span {
  max-width: 110px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.project-card,
.contact-card,
.tree-content {
  border: 1px solid var(--form-border);
  border-radius: 20px;
  background: var(--form-bg);
  color: var(--text-color);
}

.project-card {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  min-height: 270px;
  opacity: 0;
  padding: 1.55rem;
  text-align: left;
  text-decoration: none;
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  outline: none;
  transform: translateY(-5px);
}

.private-project {
  grid-column: 1 / -1;
}

.project-icon {
  display: grid;
  min-width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 15px;
  background: rgba(128, 128, 128, 0.1);
  color: var(--accent);
}

.project-info h3,
.tree-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.tree-content h4 {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.45;
}

.project-info p {
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  border-radius: 10px;
  background: rgba(128, 128, 128, 0.1);
  padding: 0.3rem 0.75rem;
  color: var(--text-color);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.experience-tree {
  position: relative;
  display: grid;
  gap: 0.9rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.6rem 0;
}

.experience-tree::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--form-border),
    rgba(74, 222, 128, 0.58),
    var(--form-border),
    transparent
  );
  content: "";
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1200ms ease;
}

.section-content.is-visible .experience-tree::before {
  transform: translateX(-50%) scaleY(1);
}

.experience-node {
  position: relative;
  width: 50%;
  padding-right: 3rem;
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.experience-node:nth-child(even) {
  justify-self: end;
  padding-right: 0;
  padding-left: 3rem;
  transform: translateX(32px);
}

.section-content.is-visible .experience-node,
.section-content.is-visible .tree-item,
.section-content.is-visible .project-card,
.section-content.is-visible .skill-category {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-content.is-visible .project-card:hover,
.section-content.is-visible .project-card:focus-visible {
  transform: translateY(-5px);
}

.section-content.is-visible .experience-node:nth-child(1),
.section-content.is-visible .tree-item:nth-child(1),
.section-content.is-visible .project-card:nth-child(1),
.section-content.is-visible .skill-category:nth-child(1) {
  transition-delay: 120ms;
}

.section-content.is-visible .experience-node:nth-child(2),
.section-content.is-visible .tree-item:nth-child(2),
.section-content.is-visible .project-card:nth-child(2),
.section-content.is-visible .skill-category:nth-child(2) {
  transition-delay: 220ms;
}

.section-content.is-visible .experience-node:nth-child(3),
.section-content.is-visible .tree-item:nth-child(3),
.section-content.is-visible .project-card:nth-child(3),
.section-content.is-visible .skill-category:nth-child(3) {
  transition-delay: 320ms;
}

.section-content.is-visible .project-card:nth-child(4),
.section-content.is-visible .skill-category:nth-child(4) {
  transition-delay: 420ms;
}

.section-content.is-visible .project-card:nth-child(5),
.section-content.is-visible .skill-category:nth-child(5) {
  transition-delay: 520ms;
}

.section-content.is-visible .skill-category:nth-child(6) {
  transition-delay: 620ms;
}

.experience-node .tree-marker {
  top: 1.35rem;
  right: -0.42rem;
  left: auto;
}

.experience-node:nth-child(even) .tree-marker {
  right: auto;
  left: -0.42rem;
}

.experience-node .tree-content {
  min-height: 172px;
}

.experience-node .tree-content:hover {
  transform: translateY(-4px);
}

.current-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(74, 222, 128, 0.36);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  text-transform: uppercase;
}

.tree-panel {
  position: relative;
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  padding: 0.4rem 0 0.4rem 1.8rem;
}

.tree-panel::before {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.75rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--form-border),
    rgba(74, 222, 128, 0.55),
    var(--form-border),
    transparent
  );
  content: "";
}

.tree-item {
  position: relative;
  display: grid;
  padding: 0 0 1rem 1.1rem;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.tree-item:last-child {
  padding-bottom: 0;
}

.tree-marker {
  position: absolute;
  top: 1.35rem;
  left: -1.43rem;
  z-index: 1;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--bg-color);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px rgba(74, 222, 128, 0.12),
    0 0 22px rgba(74, 222, 128, 0.35);
}

.tree-content {
  padding: 1.35rem 1.45rem;
  transition:
    opacity 650ms ease,
    border-color 250ms ease,
    transform 250ms ease;
}

.tree-content:hover {
  border-color: rgba(74, 222, 128, 0.45);
  transform: translateX(3px);
}

.tree-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.education-tree {
  max-width: 720px;
  margin: 0 auto;
}

.education-tree .tree-content h4 {
  margin-bottom: 0;
  color: var(--text-muted);
}

.contact-card {
  display: block;
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.contact-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.2rem;
  margin: 0.4rem 0 1.35rem;
}

.contact-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 250ms ease;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--accent);
}

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

.contact-actions a {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--form-border);
  border-radius: 14px;
  background: var(--form-bg);
  color: var(--text-color);
  text-decoration: none;
  transition:
    border-color 250ms ease,
    color 250ms ease,
    transform 250ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.contact-actions svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.floating-bot {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  width: 70px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 3px solid #555555;
  border-radius: 25px;
  background: radial-gradient(circle at 30% 30%, #4f4f4f, #1a1a1a);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.floating-bot:hover,
.floating-bot:focus-visible {
  box-shadow:
    0 15px 25px rgba(0, 0, 0, 0.6),
    inset 0 0 15px rgba(74, 222, 128, 0.4);
  outline: none;
  transform: scale(1.1);
}

.bot-eyes {
  display: flex;
  gap: 8px;
}

.bot-iris {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #10b981, #064e3b);
  box-shadow: 0 0 8px #10b981;
}

.bot-eye {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000000;
  box-shadow: inset -1px -1px 2px rgba(255, 255, 255, 0.3);
  transition: transform 120ms ease;
}

.bot-eye::after {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.bot-tooltip {
  position: absolute;
  top: -45px;
  border-radius: 20px;
  background: var(--text-color);
  color: var(--bg-color);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  padding: 5px 12px;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.floating-bot.show-tooltip .bot-tooltip {
  opacity: 1;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .experience-tree {
    max-width: 760px;
    padding-left: 1.35rem;
  }

  .experience-tree::before {
    left: 0.45rem;
    transform: scaleY(0);
  }

  .section-content.is-visible .experience-tree::before {
    transform: scaleY(1);
  }

  .experience-node,
  .experience-node:nth-child(even) {
    width: 100%;
    justify-self: stretch;
    padding: 0 0 1rem 0.9rem;
    transform: translateY(26px);
  }

  .section-content.is-visible .experience-node,
  .section-content.is-visible .experience-node:nth-child(even) {
    transform: translate3d(0, 0, 0);
  }

  .experience-node .tree-marker,
  .experience-node:nth-child(even) .tree-marker {
    right: auto;
    left: -1.16rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1.2rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .name-container {
    gap: 1rem;
  }

  .word {
    gap: 0.2rem;
  }

  .letter-wrapper {
    width: 40px;
    height: 40px;
  }

  .icon-svg {
    width: 25px;
    height: 25px;
  }

  .actual-letter {
    font-size: 2rem;
  }

  .placeholder-section {
    min-height: auto;
    padding: 5.4rem 1rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-highlights,
  .social-links {
    justify-content: center;
  }

  .pixel-card-wrapper,
  .pixel-card {
    width: min(100%, 310px);
  }

  .pixel-card {
    min-height: 350px;
    padding: 1.8rem 0.9rem;
  }

  .profile-photo {
    width: 142px;
    height: 142px;
  }

  .skill-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    flex-direction: column;
    min-height: auto;
    text-align: center;
  }

  .project-icon {
    min-width: 72px;
    width: 72px;
    height: 72px;
    margin: 0 auto;
  }

  .project-tags,
  .contact-actions {
    justify-content: center;
  }

  .tree-panel {
    max-height: none;
    overflow: visible;
    padding-left: 1.35rem;
  }

  .tree-panel::before {
    left: 0.45rem;
  }

  .tree-item {
    padding-left: 0.9rem;
  }

  .tree-marker {
    left: -1.16rem;
  }

  .tree-content {
    padding: 1.2rem;
    text-align: center;
  }

  .experience-tree .tree-content {
    text-align: left;
  }

  .tree-content:hover {
    transform: none;
  }

  .tree-meta {
    justify-content: center;
    text-align: center;
  }

  .floating-bot {
    right: 18px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .section-content,
  .experience-node,
  .tree-item,
  .project-card,
  .skill-category {
    opacity: 1;
    transform: none;
  }

  .experience-tree::before {
    transform: none;
  }
}
