/* ── CMD WINDOW ── */
.cmd-sobre {
  display: inline-block;
  align-self: flex-start;
  background: #212129;
  border: 1px solid rgba(176, 70, 229, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}
.cmd-sobre .cmd-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #2a2a35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cmd-sobre .cmd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cmd-sobre .cmd-dot.r {
  background: #ff5f57;
}
.cmd-sobre .cmd-dot.y {
  background: #febc2e;
}
.cmd-sobre .cmd-dot.g {
  background: #28c840;
}
.cmd-sobre .cmd-title {
  flex: 1;
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
}
.cmd-sobre .cmd-body {
  padding: 16px 22px;
  font-family: "DM Mono", monospace;
  font-size: 12.5px;
  line-height: 1.8;
}
.cmd-sobre .cs-prompt {
  color: #888;
}
.cmd-sobre .cs-cmd {
  color: #e8e8f2;
}
.cmd-sobre .cs-comment {
  color: rgba(176, 70, 229, 0.4);
}
.cmd-sobre .cs-key {
  color: #7b93d1;
}
.cmd-sobre .cs-str {
  color: #b3d97a;
}
.cmd-sobre .cs-pun {
  color: #89ddff;
}
.cmd-sobre .cs-fn {
  color: #c792ea;
}

/* ── PAGE HERO ── */
.sobre-hero {
  position: relative;
  z-index: 1;
  padding: 96px 56px 64px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bg-name {
  position: absolute;
  top: 50%;
  left: 56px;
  transform: translateY(-60%);
  font-family: "Bebas Neue", cursive;
  font-size: clamp(100px, 18vw, 260px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: rgba(176, 70, 229, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--p);
}

.hero-name {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}
.hero-name em {
  color: var(--p);
  font-style: normal;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 300;
  color: var(--td);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero-quick {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--br2);
  padding-top: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.75s forwards;
}
.quick-val {
  font-family: "Bebas Neue", cursive;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--p);
  line-height: 1;
  margin-bottom: 4px;
}
.quick-key {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--td2);
}

/* ── BIO SECTION ── */
.bio-section {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--br2);
  border-bottom: 1px solid var(--br2);
}
.bio-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.bio-sidebar {
  padding: 80px 48px 80px 0;
  border-right: 1px solid var(--br2);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bi-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 10px;
}
.bi-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--t);
  line-height: 1.5;
}
.bi-val a {
  color: var(--t);
  text-decoration: none;
  transition: color 0.3s;
}
.bi-val a:hover {
  color: var(--p);
}
.bi-val--available {
  color: var(--p);
}

.cv-download-btn {
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.bio-main {
  padding: 80px 0 80px 56px;
}

.label-line--lg {
  margin-bottom: 32px;
}

.bio-paragraph {
  font-size: 16px;
  line-height: 1.9;
  color: var(--td);
  margin-bottom: 28px;
}
.bio-paragraph:last-child {
  margin-bottom: 0;
}
.bio-paragraph strong {
  color: var(--t);
  font-weight: 500;
}
.bio-paragraph em {
  color: var(--p);
  font-style: normal;
}

/* ── SKILLS SECTION ── */
.skills-section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 56px;
}

.section-heading-lg {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-top: 8px;
}
.section-heading-lg em {
  color: var(--p);
  font-style: normal;
}

.section-heading-md {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 0;
}
.section-heading-md em {
  color: var(--p);
  font-style: normal;
}

.skills-grid-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.sc-title {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--td2);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--br2);
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sb-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--t);
}
.sb-level {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--td2);
  letter-spacing: 0.1em;
}
.sb-track {
  height: 2px;
  background: var(--br2);
  position: relative;
  overflow: hidden;
}
.sb-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--p), var(--p2));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sb-track.animated .sb-fill {
  width: var(--w);
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.interest-item {
  padding: 16px 20px;
  border: 1px solid var(--br2);
  background: var(--bg2);
  font-size: 13px;
  font-weight: 500;
  color: var(--td);
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.interest-item::before {
  content: "◆";
  color: var(--p);
  font-size: 7px;
  flex-shrink: 0;
}
.interest-item:hover {
  border-color: var(--br);
  color: var(--t);
}
.skill-category--full {
  grid-column: 1 / -1;
}
.interest-grid.interest-grid--wide {
  display: flex;
  flex-wrap: wrap;
}
.interest-grid--wide .interest-item {
  flex: 1 1 160px;
}

/* ── EDUCATION + CONTACT SPLIT ── */
.bottom-split {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--br2);
}
.bs-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 56px;
}

.bs-left {
  padding: 80px 56px 80px 0;
  border-right: 1px solid var(--br2);
}
.bs-right {
  padding: 80px 0 80px 56px;
}

.edu-timeline {
  position: relative;
  margin-top: 40px;
}
/* the continuous rail */
.edu-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--p) 0%,
    var(--br) 55%,
    transparent 100%
  );
}
.edu-item {
  position: relative;
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 24px;
  padding-bottom: 34px;
}
.edu-item--last {
  padding-bottom: 0;
}
/* commit node */
.edu-node {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--p);
  position: relative;
  z-index: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.edu-item--work .edu-node {
  background: var(--p);
}
.edu-item--current .edu-node {
  background: var(--p2);
  border-color: var(--p2);
  box-shadow:
    0 0 0 4px var(--pg2),
    0 0 16px 3px var(--pg);
  animation: eduPulse 2.4s ease-in-out infinite;
}
@keyframes eduPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px var(--pg2),
      0 0 10px 2px var(--pg);
  }
  50% {
    box-shadow:
      0 0 0 7px var(--pg2),
      0 0 20px 5px var(--pg);
  }
}
.edu-content {
  padding-bottom: 4px;
  transition: transform 0.25s ease;
}
.edu-item:hover .edu-content {
  transform: translateX(5px);
}
.edu-item:hover .edu-node {
  transform: scale(1.18);
  box-shadow: 0 0 14px 3px var(--pg);
}
.edu-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.edu-year {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--p);
  background: var(--pg2);
  border: 1px solid var(--br);
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.edu-tag {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--td2);
}
.edu-item--work .edu-tag,
.edu-item--current .edu-tag {
  color: var(--p2);
}
.edu-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--t);
  margin-bottom: 4px;
}
.edu-place {
  font-size: 13px;
  color: var(--td);
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  .edu-item--current .edu-node {
    animation: none;
  }
}

.contact-big {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 40px 0 32px;
}
.contact-big em {
  color: var(--p);
  font-style: normal;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 18px 20px;
  border: 1px solid var(--br2);
  background: transparent;
  transition: all 0.3s;
  color: var(--t);
}
.contact-link:hover {
  border-color: var(--br);
  background: var(--bg3);
  transform: translateX(6px);
}
.cl-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--br);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--p);
}
.cl-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.cl-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--td2);
  margin-bottom: 2px;
}
.cl-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--t);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .sobre-hero {
    padding: 100px 32px 60px;
  }
  .bg-name {
    display: none;
  }
  .bio-inner {
    grid-template-columns: 1fr;
  }
  .bio-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--br2);
    padding: 60px 0 40px;
  }
  .bio-main {
    padding: 40px 0;
  }
  .bio-inner,
  .bs-inner {
    padding: 0 32px;
  }
  .skills-section {
    padding: 60px 32px;
  }
  .skills-grid-outer {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .bs-inner {
    grid-template-columns: 1fr;
  }
  .bs-left {
    border-right: none;
    border-bottom: 1px solid var(--br2);
    padding: 60px 0;
  }
  .bs-right {
    padding: 60px 0;
  }
}
@media (max-width: 600px) {
  .hero-quick {
    gap: 24px;
  }
  .interest-grid {
    grid-template-columns: 1fr;
  }
}
