/* Dark technology-focused portfolio styles */
:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #080b16;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 35%), #080b16;
}

body {
  line-height: 1.6;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px 48px;
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  align-items: start;
  padding: 34px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 32px;
  backdrop-filter: blur(12px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #38bdf8;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.hero-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #cbd5e1;
}

.hero-description {
  margin: 0;
  max-width: 720px;
  color: #94a3b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-image-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  margin: 0px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-image-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-image-card figcaption {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-image-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #cbd5e1;
}

.hero-image-bullets li {
  list-style: disc;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

.hero-tagline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-tagline span {
  display: block;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  font-size: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-panel {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.photo-frame {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.12);
}

.hero-panel-copy h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.hero-panel-copy p,
.contact-block p {
  margin: 0 0 16px;
  color: #cbd5e1;
}

.contact-block p strong {
  color: #f8fafc;
}

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

.profile-links a {
  color: #38bdf8;
  font-weight: 600;
}

.section {
  margin-top: 32px;
  padding: 32px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.section-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-weight: 700;
}

.section-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.project-grid,
.skill-grid,
.highlight-grid {
  display: grid;
  gap: 20px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card,
.highlight-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.project-card h3,
.highlight-card strong {
  margin: 0 0 10px;
}

.project-card h3 {
  font-size: 1.2rem;
}

.project-subtitle {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.project-card p,
.project-card li,
.highlight-card p {
  color: #cbd5e1;
}

.project-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.project-card ul li {
  margin-bottom: 10px;
}

.skill-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-grid div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.08);
  color: #cbd5e1;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-card strong {
  display: block;
  font-size: 1.5rem;
  color: #7dd3fc;
}

.highlight-card p {
  margin: 10px 0 0;
}

@media (max-width: 940px) {
  .hero,
  .project-grid,
  .skill-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-image-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-image-card {
    padding: 12px;
  }

  .hero-image-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .hero-image-card figcaption {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 16px 32px;
  }

  .hero {
    padding: 24px;
  }

  .section {
    padding: 24px;
  }

  .hero-photo {
    max-width: 100%;
  }
}

.timeline-company {
  color: #475569;
}

.timeline-content p {
  margin: 16px 0 12px;
  color: #334155;
}

.timeline-content ul {
  margin: 0;
  padding-left: 20px;
  color: #334155;
}

.timeline-content ul li {
  margin-bottom: 10px;
}

.education-item h3 {
  margin: 0 0 8px;
}

.education-item p {
  margin: 6px 0;
  color: #475569;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-card {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 20px 16px;
  }

  .section-summary,
  .section-skills,
  .section-experience,
  .section-education,
  .hero {
    padding: 20px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .skill-list {
    grid-template-columns: 1fr;
  }
}
