:root {
  --bg: #f8f5ef;
  --bg-strong: #ece5d6;
  --surface: #ffffff;
  --text: #1f2a37;
  --muted: #516272;
  --accent: #0b6c6d;
  --accent-2: #f28d35;
  --line: #d7d6cf;
  --shadow: 0 14px 40px rgba(19, 38, 46, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 8%, #fffdf9 0%, var(--bg) 44%, #efe9dd 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.background-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.25;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -70px;
  right: 8%;
  background: #85d2ca;
}

.shape-2 {
  width: 240px;
  height: 240px;
  left: -80px;
  top: 32%;
  background: #f7b670;
}

.shape-3 {
  width: 320px;
  height: 320px;
  right: -130px;
  bottom: -100px;
  background: #97bce2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 245, 239, 0.84);
  border-bottom: 1px solid rgba(31, 42, 55, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.18rem;
}

.brand span {
  color: var(--accent-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--muted);
  padding: 0.2rem 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.section {
  padding-block: 5.2rem;
}

.hero {
  padding-block: 5rem 4.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.45rem, 3.1vw, 2.1rem);
  line-height: 1.18;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.15rem;
}

.lead {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #12858a);
  color: #fff;
  border: 1px solid transparent;
  padding: 0.72rem 1.22rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 108, 109, 0.24);
}

.btn-small {
  padding: 0.55rem 0.94rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(31, 42, 55, 0.2);
}

.btn-ghost:hover {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.65);
}

.profile-card {
  background: linear-gradient(170deg, #fff, #f7f2e8 68%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1.35rem;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, var(--accent), #0a4f5b);
  color: #fff;
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

.profile-card h2 {
  margin-top: 0.95rem;
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.meta-list li {
  display: grid;
  gap: 0.2rem;
}

.meta-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.meta-list strong {
  font-size: 0.98rem;
}

.section-block p {
  margin: 0.95rem 0 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.02rem;
}

.section-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.skills-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(22, 35, 40, 0.06);
}

.skill-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.65rem 0 0.95rem;
}

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

.tags span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #edf4f1;
  border: 1px solid #d4e5dd;
  font-size: 0.82rem;
  font-weight: 600;
}

.section-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.1rem;
}

.timeline,
.language-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.25rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1.1rem;
}

.timeline-item .date {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  margin: 0.32rem 0 0;
  color: var(--muted);
}

.language-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.language-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
}

.language-card li span {
  font-weight: 600;
}

.language-card li strong {
  color: var(--muted);
  font-weight: 600;
}

.cert-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.cert-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.88rem;
  background: linear-gradient(180deg, #ffffff, #fcf8f0);
  line-height: 1.52;
}

.contact {
  padding-top: 3.4rem;
}

.contact-wrap {
  background: linear-gradient(145deg, #0f4351, #115f6e 55%, #1f7f8f);
  color: #f6fcff;
  border-radius: 24px;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.contact-wrap p {
  margin: 0.45rem 0 0;
  color: #dcf1f6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.62rem;
}

.contact-actions .btn {
  background: #fff;
  color: #0e4d5c;
}

.contact-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.site-footer {
  border-top: 1px solid rgba(31, 42, 55, 0.12);
  padding: 1.45rem 0 1.9rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stagger {
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stagger:nth-child(1) {
  animation-delay: 0.12s;
}

.stagger:nth-child(2) {
  animation-delay: 0.26s;
}

.stagger:nth-child(3) {
  animation-delay: 0.4s;
}

.stagger:nth-child(4) {
  animation-delay: 0.54s;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .section-split,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .section {
    padding-block: 4rem;
  }

  .skills-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}
