* {
  box-sizing: border-box;
}
@font-face {
  font-family: "MyFont";
  src: url("./fonts/Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;

}
body {
  margin: 0;
  font-family: "MyFont", serif;
  background: #0f172a;
  color: #e5e7eb;
  line-height: 1.6;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  padding: 72px 0;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 48px;
}

.profile-frame {
  width: 220px;
  height: 220px;
  border: 1px solid #334155;
  border-radius: 50%;
  padding: 8px;
  background: #111827;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #1e293b;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-button img {
  width: 18px;
  height: 18px;
  filter: invert(64%) sepia(91%) saturate(1284%) hue-rotate(161deg) brightness(101%) contrast(94%);
}

.project-card {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  background: #162033;
}

.project-card:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: min(680px, 100%);
  background: #111827;
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.modal-content h3 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 32px;
  cursor: pointer;
}

#modal-link {
  margin-top: 12px;
  border: 1px solid #334155;
  padding: 10px 16px;
  border-radius: 999px;
}

.experience-card {
  margin-top: 24px;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.company-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 8px;
}

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

  .profile-frame {
    width: 160px;
    height: 160px;
    order: -1;
  }
}
.eyebrow {
  color: #38bdf8;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  margin: 0;
}

h2 {
  color: #94a3b8;
  font-weight: 400;
  margin-top: 16px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 56px;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

.links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.links a {
  border: 1px solid #334155;
  padding: 10px 16px;
  border-radius: 999px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  background: #1e293b;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #111827;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 20px;
}

.card h4 {
  margin-top: 0;
  font-size: 1.1rem;
}

.tech {
  color: #94a3b8;
  font-size: 0.9rem;
}