
:root {
  --bg: #f5f6f8;
  --surface: rgba(255,255,255,.72);
  --text: #14161a;
  --muted: #667085;
  --line: rgba(0,0,0,.08);
  --accent: #355c7d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right,
    rgba(53,92,125,.12),
    transparent 28%),
    var(--bg);

  color: var(--text);
  line-height: 1.75;
}

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

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

.narrow {
  width: min(760px, 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(11,18,32,.72);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;

  font-weight: 600;
  letter-spacing: -.02em;

  color: white;
}

.logo img {
  width: 24px;
  height: 24px;

  object-fit: contain;

  opacity: .92;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--muted);
  transition: .2s ease;
}

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

.hero {
  position: relative;
  overflow: hidden;

  isolation: isolate;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 7rem 0 6rem;

  background:
    radial-gradient(
      circle at top right,
      rgba(96,165,250,.18),
      transparent 24%
    ),

    radial-gradient(
      circle at bottom left,
      rgba(59,130,246,.10),
      transparent 20%
    ),

    linear-gradient(
      135deg,
      #0b1220,
      #111827 45%,
      #1f2937
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  color: white;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin: 1rem 0 2rem;
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
}

.lead {
  font-size: 1.28rem;
  color: rgba(255,255,255,.78);
  max-width: 720px;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta strong {
  font-size: 1rem;
}

.hero-meta span {
  color: rgba(255,255,255,.66);
  font-size: .95rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  padding: 1rem 1.35rem;
  border-radius: 12px;
  transition: .25s ease;
  font-weight: 500;
}

.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px rgba(53,92,125,.22);
}

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

.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}

.profile-card,
.card,
.timeline-item,
.contact-card {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);

  border-radius: 28px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.04);

}

.profile-card {
  padding: 2rem;
}

.profile-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;

  background:
    linear-gradient(135deg,#355c7d,#6c8dad);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-weight: 700;
  font-size: 1.6rem;

  margin-bottom: 1.5rem;
  overflow: hidden;
}

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

.profile-card h3 {
  margin-bottom: .4rem;
}

.profile-card p {
  color: var(--muted);
}

.tech-stack {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tech-stack span {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: white;
}

.section {
  padding: 6rem 0;
}

.alt {
  background: rgba(255,255,255,.32);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: .7rem;
  letter-spacing: -.04em;
}

.text-large {
  font-size: 1.28rem;
  margin-bottom: 1.5rem;
  color: #3d4752;
}

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

.card {
  padding: 2rem;
  transition: .25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted);
}

.card svg {
  width: 28px;
  height: 28px;

  margin-bottom: 1.2rem;

  color: #60a5fa;

  stroke-width: 1.8;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  padding: 2rem;
  position: relative;
}

.timeline-date {
  color: var(--muted);
  font-size: .9rem;
}

.timeline-item h3 {
  margin: .6rem 0 1rem;
}

.contact-card {
  padding: 3rem;
  text-align: center;
}

.contact-card h2 {
  margin: 1rem 0 2rem;
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  justify-content: center;
}

@media (prefers-color-scheme: dark) {

  :root {
    --bg: #0f1117;
    --surface: rgba(20,22,28,.72);
    --text: #f2f4f7;
    --muted: #98a2b3;
    --line: rgba(255,255,255,.08);
    --accent: #7ea3c7;
  }

  body {
    background:
      radial-gradient(circle at top right,
      rgba(126,163,199,.14),
      transparent 28%),
      var(--bg);
  }

  .secondary {
    background: rgba(255,255,255,.02);
  }

  .tech-stack span {
    background: rgba(255,255,255,.03);
  }

}

@media (max-width: 920px) {

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

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    position: relative;
    overflow: hidden;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 7rem 0 6rem;
  }

  .hero-grid {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: 1.3fr .8fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }

}

.linkedin-inline {
  margin-top: 2rem;

  display: flex;
  align-items: center;
  gap: 1rem;

  flex-wrap: wrap;

  font-size: .95rem;
}

.linkedin-inline span {
  color: rgba(255,255,255,.55);
}

.linkedin-inline a {
  color: white;

  font-weight: 500;

  transition: .2s ease;
}

.linkedin-inline a:hover {
  opacity: .75;
}

.footer {
  padding: 4rem 0;

  background:
    linear-gradient(
      180deg,
      #0f172a,
      #0b1220
    );

  border-top: 1px solid rgba(255,255,255,.06);

  margin-top: 0;
}

.footer-brand h3 {
  color: white;

  font-size: 1.2rem;

  margin-bottom: .5rem;
}

.footer-brand p {
  color: rgba(255,255,255,.72);

  margin-bottom: .6rem;
}

.footer-brand span {
  color: rgba(255,255,255,.45);

  font-size: .95rem;
}

.footer-links {
  display: flex;

  gap: 2rem;

  flex-wrap: wrap;
}

.footer-links a:hover {
  color: white;
}