@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --blue: #1d57a4;
  --navy: #102d52;
  --ink: #14283f;
  --muted: #5c6c80;
  --line: #dce4ed;
  --light: #f3f6fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.18;
}
header {
  height: 94px;
  max-width: 1240px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -3px;
}
.brand span {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
nav a:hover,
.text-link:hover {
  color: var(--blue);
}
.nav-contact {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 18px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.hero {
  padding-top: 78px;
  padding-bottom: 85px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 75px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(36px, 3.7vw, 53px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.13;
}
h1 span {
  color: var(--blue);
}
.hero-copy > p {
  margin-top: 25px;
  max-width: 555px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 31px 0 38px;
}
.button {
  display: inline-block;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.2s;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover {
  background: var(--navy);
}
.secondary {
  border: 1px solid var(--line);
}
.secondary:hover {
  background: var(--light);
}
.current {
  border-left: 2px solid var(--blue);
  padding-left: 18px;
}
.current > span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 7px;
}
.current strong {
  font-size: 15px;
}
.current p {
  font-size: 14px;
  color: var(--muted);
}
.profile-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 30px 32px;
  box-shadow: 16px 16px 0 #e9eff7;
  min-height: 450px;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #b8cbe4;
}
.small-mark {
  font-size: 17px;
}
.monogram {
  font-size: 110px;
  letter-spacing: -10px;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  line-height: 1.4;
  margin-top: 22px;
}
.monogram span {
  color: #6aa9f4;
}
.panel-name {
  font-size: 27px;
  font-weight: 700;
}
.panel-role {
  color: #b8cbe4;
  font-size: 15px;
  margin-top: 3px;
}
.panel-lines {
  margin-top: 30px;
  border-top: 1px solid #ffffff25;
  padding-top: 18px;
  font-size: 14px;
}
.panel-lines div {
  padding: 5px 0;
}
.panel-lines span {
  color: #80b5fa;
  font-size: 11px;
  margin-right: 14px;
}
.section {
  padding-top: 85px;
  padding-bottom: 85px;
}
h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}
.about {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 75px;
}
.about .lead {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 19px;
}
.about p:not(.lead) {
  color: var(--muted);
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.skills span {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 13px;
}
.projects {
  background: var(--light);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading > p {
  max-width: 390px;
  color: var(--muted);
}
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 8px;
}
.project-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.tag {
  font-size: 11px;
  letter-spacing: 1.1px;
  color: var(--blue);
  font-weight: 700;
}
.project-number {
  color: #8b9bb0;
  font-size: 20px;
}
.project h3 {
  font-size: 26px;
  margin-bottom: 13px;
}
.project > p {
  color: var(--muted);
  min-height: 56px;
}
.project-detail {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.project-detail strong {
  font-size: 13px;
}
.project-detail p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 7px;
}
.project-foot {
  color: var(--blue);
  font-size: 12px;
  margin-top: 25px;
}
.project-foot span {
  padding: 0 9px;
}
.implementation-title {
  margin-top: 55px;
  max-width: 800px;
}
.implementation-title h3 {
  font-size: 23px;
  margin-bottom: 12px;
}
.implementation-title p {
  color: var(--muted);
}
.systems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 26px 0;
}
.systems article {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.system-index {
  font-size: 12px;
  color: var(--blue);
  background: #eaf1fa;
  padding: 4px 9px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 18px;
}
.systems h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.systems p {
  font-size: 14px;
  color: var(--muted);
}
.master {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  border: 1px solid #c8d7eb;
  border-left: 3px solid var(--blue);
  background: #eaf0f8;
  padding: 30px;
  border-radius: 5px;
}
.master h3 {
  font-size: 24px;
  margin: 12px 0;
}
.master p {
  font-size: 15px;
}
.muted {
  color: var(--muted);
  margin-top: 12px;
}
.ongoing {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--blue);
  margin-top: 25px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.ongoing p {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.degree {
  background: var(--light);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.degree-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  flex-shrink: 0;
}
.degree h3 {
  font-size: 23px;
  margin: 8px 0;
}
.degree p {
  color: var(--muted);
  font-size: 14px;
}
.degree p span {
  padding: 0 8px;
}
.certificate-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0 15px;
}
.certificate-tabs button {
  font: inherit;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 14px;
  cursor: pointer;
  color: var(--muted);
}
.certificate-tabs button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.certificates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.certificate {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.certificate h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}
.certificate p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.text-link {
  display: inline-block;
  margin-top: 27px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact {
  background: var(--navy);
  color: #fff;
  padding: 75px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.contact .eyebrow {
  color: #91b9ee;
}
.contact h2 {
  font-size: 37px;
}
.contact p {
  color: #b8cbe4;
  margin: 22px 0;
  max-width: 530px;
}
.email {
  font-size: 20px;
  display: inline-block;
  border-bottom: 1px solid #91b9ee;
  padding-bottom: 5px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-links a {
  display: grid;
  grid-template-columns: 35px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid #ffffff26;
}
.contact-links a:hover strong {
  color: #91b9ee;
}
.contact-links span {
  grid-row: span 2;
  color: #91b9ee;
  font-size: 12px;
}
.contact-links strong {
  font-size: 19px;
}
.contact-links small {
  font-size: 13px;
  color: #b8cbe4;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 25px;
  gap: 20px;
}
footer p,
footer > span {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 950px) {
  .hero,
  .about {
    gap: 35px;
  }
  .hero {
    grid-template-columns: 1.3fr 1fr;
  }
  .profile-panel {
    padding: 25px;
    min-height: 420px;
  }
  h1 {
    font-size: 39px;
  }
  .systems {
    grid-template-columns: 1fr 1fr;
  }
  .contact-inner {
    gap: 40px;
  }
  .email {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0 22px;
    height: 78px;
  }
  nav {
    gap: 18px;
    font-size: 12px;
  }
  nav .nav-contact {
    display: none;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    padding-top: 45px;
    padding-bottom: 55px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1.4px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .profile-panel {
    min-height: 0;
    box-shadow: 8px 8px 0 #e9eff7;
  }
  .monogram {
    font-size: 85px;
    margin-top: 8px;
  }
  .panel-lines {
    margin-top: 22px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .about,
  .featured,
  .master,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  h2 {
    font-size: 30px;
  }
  .about .eyebrow {
    margin-bottom: 15px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .project {
    padding: 25px;
  }
  .project > p {
    min-height: 0;
  }
  .systems {
    gap: 12px;
  }
  .systems article {
    padding: 19px;
  }
  .master {
    padding: 24px;
  }
  .ongoing {
    display: block;
  }
  .ongoing p {
    margin-top: 7px;
  }
  .degree {
    padding: 22px;
    align-items: start;
    gap: 17px;
  }
  .degree-icon {
    width: 52px;
    height: 52px;
    font-size: 13px;
  }
  .degree h3 {
    font-size: 19px;
  }
  .certificates {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 55px 0;
  }
  .contact h2 {
    font-size: 30px;
  }
  .email {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer p {
    max-width: 240px;
  }
  footer > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
