/* ================= HERO / PROFILE ================= */

.container.hero {
  max-width: 1320px;
  padding: 3.15rem 3.5rem;

  display: grid;
  grid-template-columns: minmax(196px, 224px) 1fr;
  gap: 2.8rem;
}


/* ================= PROFILE ================= */

.profile {
  text-align: center;
  padding-top: 1rem;
}

.photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px dashed var(--accent);
  margin: 0 auto 1rem;
  overflow: hidden;
  box-shadow: 0 0 0 5.6px rgba(56,189,248,0.06);
}


.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile h1 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}

.role {
  font-size: 0.665rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.84rem;
}

/* ================= TYPEWRITER ================= */

.typewriter-wrapper {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.typewriter {
  display: inline-block;
  max-width: 182px;
  text-align: center;

  color: var(--muted);
  font-style: italic;

  line-height: 1.5;
  white-space: normal;
}

/* Cursor */
.typewriter::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;

  height: 1em;              
  line-height: 1em;
  vertical-align: baseline;

  color: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}



/* ================= CONTENT ================= */

.content section {
  margin-bottom: 2.45rem;
}

.content h2 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 1.05rem;
}

.content p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ================= TAGS ================= */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.525rem;
  margin-top: 0.84rem;
}

.tag {
  padding: 0.315rem 0.7rem;
  font-size: 0.595rem;
  font-weight: 500;

  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.35);

  color: var(--accent);
  background: rgba(56,189,248,0.08);

  transition: 
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tag:hover {
  background: rgba(56,189,248,0.15);
  box-shadow: 0 6px 16px rgba(56,189,248,0.2);
  transform: translateY(-1px);
}

/* ================= FOOTER ================= */

.site-footer {
  margin-top: 2.8rem;
  padding-bottom: 1.05rem;
  text-align: center;
  font-size: 0.56rem;
  color: var(--muted);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .container.hero {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.4rem;
    gap: 2.1rem;
  }

  .profile {
    padding-top: 0;
  }

  .content section {
    margin-bottom: 3rem;
  }
}
