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

:root {
  --bg: #0b0f14;
  --surface: #111720;
  --surface-2: #151d27;
  --text: #edf2f7;
  --muted: #9aa8b6;
  --line: #26313d;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  padding: 105px 0 100px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 15px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--accent);
}

.hero h2 {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  color: #dce5ed;
}

.hero-text {
  color: var(--muted);
  max-width: 700px;
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.primary {
  background: var(--accent);
  color: #071018;
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.quick-links {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.quick-links a:hover,
.contact-links a:hover {
  color: var(--accent);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 14px;
}

.profile-photo {
  min-height: 410px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d131a;
}

.profile-photo > img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.profile-placeholder {
  min-height: 410px;
  border: 1px dashed #3a4856;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.initials {
  font-family: "Space Grotesk", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.08em;
}

.profile-placeholder p {
  margin-top: 8px;
}

.profile-placeholder small {
  margin-top: 5px;
  font-size: 0.75rem;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.about-copy .lead {
  color: var(--text);
  font-size: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  height: fit-content;
}

.stat {
  background: var(--surface);
  padding: 26px 20px;
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.timeline {
  border-left: 1px solid #3a4856;
  padding-left: 38px;
  max-width: 920px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: -44px;
  top: 8px;
  box-shadow: 0 0 0 5px var(--surface);
}

.date {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.timeline h3 {
  font-size: 1.35rem;
}

.place {
  color: #c8d2db;
  margin: 7px 0 10px;
}

.timeline-item div > p:last-child {
  color: var(--muted);
}

.aws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.aws-intro {
  border: 1px solid var(--line);
  padding: 30px;
  background: transparent;
  border-radius: 10px;
}

.aws-intro p {
  color: var(--muted);
  margin-top: 24px;
}

.cert-badge {
  width: 170px;
  min-height: 150px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-badge span {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.cert-badge strong {
  font-family: "Space Grotesk", sans-serif;
}

.cert-badge small {
  margin-top: 3px;
  color: var(--muted);
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 10px;
}

.project-card.featured {
  border-color: #38576a;
}

.project-number {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.project-card h3 {
  font-size: 1.35rem;
  margin: 24px 0 13px;
}

.project-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}

.tags span {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #cbd5df;
}

.status {
  font-size: 0.78rem !important;
  color: var(--accent) !important;
}

.status.planned {
  color: var(--muted) !important;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-card {
  min-height: 330px;
  background: #0d131a;
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-card > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.photo-placeholder {
  min-height: 330px;
  border: 1px dashed #3a4856;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.photo-placeholder span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.photo-placeholder small {
  margin-top: 8px;
  padding: 0 20px;
  font-size: 0.72rem;
}

.resume-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.resume-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.resume-card h2 {
  font-size: 2rem;
}

.resume-card p:last-child {
  color: var(--muted);
  margin-top: 8px;
}

.contact {
  text-align: center;
}

.contact-inner {
  max-width: 760px;
}

.contact h2 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
}

.contact-copy {
  color: var(--muted);
  margin: 20px auto 28px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 850px) {
  .hero-grid,
  .about-grid,
  .aws-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 75px;
  }

  .hero-card {
    max-width: 500px;
  }

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

  .photo-card,
  .photo-card > img,
  .photo-placeholder {
    min-height: 260px;
    height: 260px;
  }

  .resume-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 68px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px;
    flex-direction: column;
    gap: 15px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 65px 0 75px;
  }

  .section {
    padding: 75px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
