@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #2b2140;
  --navy: #24163f;
  --paper: #fbf9ff;
  --white: #ffffff;
  --muted: #746985;
  --cobalt: #7c3aed;
  --cobalt-light: #ede9fe;
  --coral: #ec4899;
  --amber: #fdba74;
  --line: rgba(43, 33, 64, 0.14);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 5px;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 88px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 255, 0.95);
}

.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 600 12px/1 var(--font-display);
  letter-spacing: -0.05em;
}

.header nav {
  display: flex;
  gap: 34px;
}

.header nav a,
.header-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.header-link {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.header-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cobalt);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 8vw;
  min-height: 720px;
  padding: 110px 8vw 100px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 18%, rgba(236, 72, 153, 0.13), transparent 24%),
    radial-gradient(circle at 68% 82%, rgba(124, 58, 237, 0.13), transparent 27%),
    linear-gradient(112deg, #fbf9ff 0 68%, #f0eaff 68%);
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overline,
.section-label {
  margin: 0;
  color: #7c3aed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 26px 0 30px;
  font: 500 clamp(70px, 10.5vw, 154px)/0.78 var(--font-display);
  letter-spacing: -0.08em;
}

.hero h1 span {
  display: block;
  color: var(--navy);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;
  font: 600 13px/1.4 var(--font-display);
}

.hero-role i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-summary {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: white;
}

.button.primary:hover {
  background: #6527cc;
}

.button.secondary:hover {
  background: white;
}

.profile-card {
  align-self: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
  border-radius: 26px;
  background: white;
  box-shadow: 0 24px 60px rgba(28, 44, 50, 0.08);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.availability > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.13);
}

.profile-photo-frame {
  width: min(100%, 210px);
  aspect-ratio: 4 / 5;
  margin: 34px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #24163f;
  box-shadow:
    0 18px 38px rgba(36, 22, 63, 0.18),
    10px 10px 0 #ede9fe;
}

.profile-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.profile-block small,
.profile-card dt,
.contact small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-block strong {
  font: 600 16px/1.45 var(--font-display);
}

.profile-card dl {
  margin: 0;
}

.profile-card dl div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.profile-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-card dd {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 8vw;
  padding: 130px 9vw;
  background: var(--navy);
  color: white;
}

.about .section-label {
  color: var(--amber);
}

.about h2,
.section-intro h2,
.education h2,
.contact h2 {
  margin: 0;
  font: 500 clamp(42px, 5.3vw, 78px)/1.02 var(--font-display);
  letter-spacing: -0.055em;
}

.about > div {
  max-width: 980px;
}

.about > div > p {
  max-width: 740px;
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.95;
}

.section {
  padding: 130px 7vw;
}

.experience {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) 1fr;
  gap: 9vw;
  background: white;
}

.section-intro {
  align-self: start;
}

.section-intro h2 {
  margin-top: 24px;
}

.section-intro > p:last-child {
  max-width: 420px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline article {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.timeline h3 {
  margin: 0 0 8px;
  font: 600 22px/1.2 var(--font-display);
  letter-spacing: -0.035em;
}

.timeline-head p {
  margin: 0;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
}

.timeline time {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-description {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.competencies {
  background: #f2edff;
}

.competencies .section-intro {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 64px;
}

.competencies .section-intro h2 {
  margin: 0;
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
}

.competency-grid article {
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.competency-grid article:last-child {
  border-right: 1px solid var(--line);
}

.competency-grid article > span {
  color: #7c3aed;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.competency-grid h3 {
  margin: 90px 0 20px;
  font: 600 28px/1.2 var(--font-display);
  letter-spacing: -0.04em;
}

.competency-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.skill-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  font-size: 10px;
  font-weight: 700;
}

.skill-list span:nth-child(2n) {
  border-color: rgba(236, 72, 153, 0.25);
  background: #fff0f7;
}

.skill-list span:nth-child(3n) {
  border-color: rgba(124, 58, 237, 0.24);
  background: #f2edff;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.education,
.certificates {
  min-height: 520px;
  padding: 86px 7vw;
  background: white;
}

.education {
  background: #e9ddff;
}

.education h2 {
  max-width: 620px;
  margin-top: 70px;
}

.education > p:not(.section-label) {
  max-width: 400px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.education small {
  display: inline-block;
  margin-top: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(24, 37, 45, 0.18);
  border-radius: 100px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certificates ul {
  margin: 70px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.certificates li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.certificates li span {
  color: #7c3aed;
  font-size: 9px;
  font-weight: 800;
}

.certificates li strong {
  font: 600 16px/1.4 var(--font-display);
}

.contact {
  padding: 130px 7vw 100px;
  background: linear-gradient(135deg, #e6d7ff, #ffd9eb);
}

.contact h2 {
  max-width: 1000px;
  margin: 38px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  border-top: 1px solid var(--ink);
}

.contact-grid > * {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 26px 26px 0 0;
  border-right: 1px solid var(--line);
}

.contact-grid > *:not(:first-child) {
  padding-left: 26px;
}

.contact-grid small {
  grid-column: 1 / -1;
}

.contact-grid strong {
  font: 600 clamp(13px, 1.3vw, 19px)/1.3 var(--font-display);
}

.contact-grid a > span {
  transition: transform 180ms ease;
}

.contact-grid a:hover > span {
  transform: translate(3px, -3px);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px 7vw;
  background: #24163f;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer span:nth-child(2) {
  color: rgba(255, 255, 255, 0.55);
}

footer a {
  justify-self: end;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 320px;
    gap: 5vw;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .hero h1 {
    font-size: clamp(66px, 10vw, 110px);
  }

  .experience {
    grid-template-columns: 1fr;
  }

  .competencies .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .header {
    grid-template-columns: 1fr auto;
    height: 74px;
    padding: 0 20px;
  }

  .header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 92px);
  }

  .hero-role {
    flex-wrap: wrap;
  }

  .hero-summary {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .profile-card {
    padding: 26px;
  }

  .about,
  .section {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 86px 20px;
  }

  .about h2,
  .section-intro h2,
  .education h2,
  .contact h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .competency-grid {
    grid-template-columns: 1fr;
  }

  .competency-grid article {
    min-height: auto;
    padding: 26px 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 18px;
  }

  .competency-grid article:last-child {
    border-bottom: 0;
  }

  .competency-grid h3 {
    margin-top: 42px;
  }

  .credentials {
    grid-template-columns: 1fr;
  }

  .education,
  .certificates {
    min-height: auto;
    padding: 76px 20px;
  }

  .contact {
    padding: 86px 20px 70px;
  }

  .contact h2 {
    margin-bottom: 58px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid > * {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-grid > *:not(:first-child) {
    padding-left: 0;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding: 26px 20px;
  }

  footer span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
