#about {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1rem, 2vh, 2rem) clamp(2rem, 4vw, 4rem) clamp(1rem, 2vh, 2rem) 8rem;
  overflow: hidden;
}

@media (max-width: 750px) {
  #about {
    flex-direction: column;
    align-items: flex-start;
    padding: 3.5rem 1.5rem 2rem !important;
    gap: 1.5rem;
    overflow-y: auto;
    justify-content: flex-start;
  }
}

/* ── Left column ── */
.about-left {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vh, 1.75rem);
  flex-shrink: 0;
}

@media (max-width: 750px) {
  .about-left {
    gap: 0.9rem;
    width: 100%;
  }
}

/* ── Title ── */
.about-title {
  font-size: clamp(2rem, min(4.5vw, 7vh), 5rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 750px) {
  .about-title {
    font-size: 10vw !important;
  }
}

.about-accent {
  color: #EB4468;
  font-size: inherit !important;
  font-weight: inherit;
}

/* ── Section label ── */
.about-section-label {
  display: block;
  font-size: clamp(0.55rem, 0.65vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EB4468;
  margin-bottom: clamp(0.5rem, 0.8vh, 0.85rem);
}

/* ── Education card ── */
.edu-card {
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.35vh, 0.3rem);
  padding: clamp(0.85rem, 1.2vh, 1.25rem) clamp(1rem, 1.5vw, 1.5rem);
  border-radius: 0.65rem;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  min-width: clamp(14rem, 18vw, 22rem);
  max-width: clamp(16rem, 22vw, 24rem);
}

@media (max-width: 750px) {
  .edu-card {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0.9rem 1.1rem;
    gap: 0.2rem;
  }
}

.edu-period {
  font-size: clamp(0.58rem, 0.7vw, 0.72rem);
  color: #555;
  letter-spacing: 0.05em;
}

.edu-degree {
  font-size: clamp(0.78rem, 0.92vw, 0.95rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-top: 0.1rem;
}

.edu-institution {
  font-size: clamp(0.7rem, 0.82vw, 0.85rem);
  color: #aaa;
  margin-top: 0.1rem;
}

.edu-location {
  font-size: clamp(0.6rem, 0.72vw, 0.75rem);
  color: #555;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: clamp(0.45rem, 0.7vh, 0.75rem);
}

.edu-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22em 0.65em;
  border-radius: 999px;
  border: 1px solid #303030;
  background: transparent;
  color: #777;
  font-size: clamp(0.58rem, 0.7vw, 0.72rem);
  font-weight: 500;
  transition: border-color 0.18s, color 0.18s;
}

.edu-tag:hover {
  border-color: #EB4468;
  color: #ccc;
}

/* ── Right column – Languages ── */
.about-right {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

@media (max-width: 750px) {
  .about-right {
    width: 100%;
  }
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.1vh, 1.1rem);
}

@media (max-width: 750px) {
  .lang-list {
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .lang-list::-webkit-scrollbar {
    height: 2px;
  }
}

.lang-item {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1vw, 1rem);
}

@media (max-width: 750px) {
  .lang-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    min-width: 5.5rem;
    text-align: center;
  }
}

.lang-flag {
  flex-shrink: 0;
  width: clamp(1.5rem, 2vw, 2rem);
  height: auto;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

@media (max-width: 750px) {
  .lang-flag {
    width: 1.75rem;
  }
}

.lang-info {
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.2vh, 0.2rem);
}

@media (max-width: 750px) {
  .lang-info {
    align-items: center;
    gap: 0.25rem;
  }
}

.lang-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 750px) {
  .lang-name-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.lang-name {
  font-size: clamp(0.78rem, 0.92vw, 0.95rem);
  font-weight: 700;
  color: #e0e0e0;
}

@media (max-width: 750px) {
  .lang-name {
    font-size: 0.78rem;
    text-align: center;
  }
}

.lang-studying {
  font-size: clamp(0.5rem, 0.6vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EB4468;
  border: 1px solid rgba(235, 68, 104, 0.4);
  border-radius: 999px;
  padding: 0.1em 0.55em;
}

.lang-dots {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.lang-dot {
  width: clamp(0.38rem, 0.5vw, 0.52rem);
  height: clamp(0.38rem, 0.5vw, 0.52rem);
  border-radius: 50%;
  background: #2e2e2e;
  border: 1px solid #3a3a3a;
  transition: background 0.2s;
}

.lang-dot.filled {
  background: #EB4468;
  border-color: #EB4468;
  box-shadow: 0 0 4px rgba(235, 68, 104, 0.5);
}

.lang-level {
  font-size: clamp(0.56rem, 0.68vw, 0.7rem);
  color: #555;
  letter-spacing: 0.04em;
}
