:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(236, 200, 74, 0.14), transparent 25%), linear-gradient(180deg, #04111d 0%, #0f1f34 100%);
  color: #f3f4f6;
  line-height: 1.75;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 9, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  position: relative;
}

.brand {
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #f8d676;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 14, 30, 0.98);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
    padding: 1rem 1.2rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 0.9rem;
    z-index: 20;
  }

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

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
  }
}

.hero-section {
  padding: 6.5rem 0 4rem;
  background: linear-gradient(180deg, rgba(12, 30, 58, 0.95), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #82aaff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 45rem;
  margin: 0 0 1.75rem;
  color: #d8e1ef;
}

.hero-copy span {
  display: block;
  margin-top: 0.6rem;
  color: #94a3b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.profile-panel {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(180deg, rgba(96, 68, 17, 0.16), rgba(26, 48, 70, 0.9));
  border: 1px solid rgba(248, 196, 60, 0.18);
  border-radius: 28px;
  padding: 1.8rem;
}

..profile-photo {
  min-height: 320px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1f2e4a 0%, #0f1626 100%);
  border: 2px dashed rgba(248, 196, 60, 0.35);
  display: grid;
  place-items: center;
  color: #f8e8b8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.profile-photo svg {
  width: 88px;
  height: 88px;
}

.profile-panel img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

.profile-photo span {
  margin-top: 1rem;
  display: block;
  color: rgba(248, 196, 60, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.profile-copy {
  display: grid;
  gap: 0.7rem;
}

.profile-title {
  margin: 0;
  color: #f8e8b8;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-copy p {
  margin: 0;
  color: #d6d9e4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #f8c34d 0%, #e79d15 100%);
  color: #08101f;
}

.btn-secondary {
  border: 1px solid rgba(248, 196, 60, 0.3);
  color: #f3f4f6;
  background: rgba(248, 196, 60, 0.08);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(248, 196, 60, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  border-radius: 30px;
  padding: 2rem;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-card li {
  color: #cbd5e1;
  padding-left: 1rem;
  position: relative;
}

.hero-card li::before {
  content: "•";
  color: #f8c34d;
  position: absolute;
  left: 0;
}

.section-block {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8c34d 0%, #e79d15 100%);
}

.section-label {
  text-transform: uppercase;
  color: #f4c44b;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  margin-bottom: 0.75rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.9rem);
}

.split-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.split-content p {
  margin: 0 0 1.25rem;
  color: #cbd5e1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(10, 18, 34, 0.92);
  border: 1px solid rgba(244, 196, 59, 0.14);
  border-radius: 24px;
  padding: 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 196, 59, 0.3);
}

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

.card p {
  margin: 0;
  color: #cbd5e1;
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  background: rgba(9, 20, 38, 0.94);
  border: 1px solid rgba(244, 196, 59, 0.14);
  border-radius: 24px;
  padding: 1.9rem;
}

.timeline-meta {
  margin: 0.5rem 0 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 232, 171, 0.08);
  border: 1px solid rgba(244, 196, 59, 0.2);
  border-radius: 24px;
  padding: 1.8rem;
}

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

.contact-card p {
  margin: 0;
  color: #e2e8f0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #c8ccdd;
  font-size: 0.95rem;
}

.hero-side {
  display: grid;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-content,
  .cards-grid,
  .education-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

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

  .btn {
    width: 100%;
  }

  .profile-photo {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 14, 30, 0.98);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
    padding: 1rem 1.2rem 1.5rem;
    flex-direction: column;
    gap: 0.9rem;
    z-index: 20;
  }

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

  .nav-links a {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    padding: 0;
  }

  .hero-section {
    padding: 2rem 0 3rem;
  }

  .hero-card,
  .profile-panel,
  .contact-card,
  .card,
  .timeline-item {
    padding: 1.6rem;
  }

  .profile-photo {
    min-height: 220px;
  }

  h1 {
    font-size: clamp(2.3rem, 8vw, 3.4rem);
  }

  .section-header::after {
    width: 70px;
  }
}
