:root {
  --bg: #08111f;
  --bg-soft: #0d1828;
  --panel: rgba(14, 25, 41, 0.86);
  --panel-strong: #111f33;
  --text: #eef4ff;
  --muted: #a8b6cc;
  --brand: #5ed4ff;
  --brand-strong: #8ee7b6;
  --gold: #f4c95d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(94, 212, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #0b1728 0%, #08111f 48%, #060b14 100%);
  line-height: 1.6;
}

.bg-grid:before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 31, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(94, 212, 255, 0.48);
  border-radius: 8px;
  background: rgba(94, 212, 255, 0.12);
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 19px;
  letter-spacing: 0;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}

.menu a:hover,
.menu a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: rgba(94, 212, 255, 0.5);
  background: rgba(94, 212, 255, 0.11);
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 16px;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.btn:hover {
  border-color: rgba(94, 212, 255, 0.5);
  background: rgba(94, 212, 255, 0.11);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #06111d;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 64px 20px;
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.hero-pro {
  padding-top: 54px;
  padding-bottom: 42px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(94, 212, 255, 0.28);
  border-radius: 8px;
  padding: 7px 11px;
  color: var(--brand);
  background: rgba(94, 212, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.h1 {
  max-width: 790px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
  margin: 22px 0 20px;
}

.gradient {
  color: var(--brand);
}

.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.executive-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c6d2e4;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-panel,
.hero-card,
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.hero-panel,
.hero-card {
  padding: 26px;
}

.profile-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto 22px;
  border-radius: 8px;
  border: 1px solid rgba(94, 212, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-signal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.profile-initials {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 212, 255, 0.28), rgba(142, 231, 182, 0.16)),
    #0b1728;
  border: 1px solid rgba(94, 212, 255, 0.35);
  color: white;
  font-size: 17px;
  font-weight: 900;
}

.profile-signal h2 {
  margin: 0;
  font-size: 22px;
}

.profile-signal p {
  margin: 4px 0 0;
  color: var(--muted);
}

.focus-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.focus-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.focus-list span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.focus-list b {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.avatar {
  height: 340px;
  border-radius: 8px;
  background: linear-gradient(135deg, #16243c, #091322);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.24);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stat {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  color: white;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 40px;
  letter-spacing: 0;
}

.section-sub {
  color: var(--muted);
  max-width: 780px;
}

.impact-section {
  padding-top: 32px;
}

.about-page {
  display: grid;
  gap: 28px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: center;
}

.about-hero .section-title {
  max-width: 850px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
  margin-top: 20px;
}

.about-profile-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.about-profile-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid rgba(94, 212, 255, 0.28);
}

.about-profile-card h2 {
  margin: 0;
}

.about-profile-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.about-summary-card p {
  max-width: 980px;
  font-size: 17px;
  line-height: 1.78;
}

.about-strengths .card,
.about-details .card {
  min-height: 220px;
}

.contact-page {
  display: grid;
  gap: 34px;
}

.contact-hero {
  max-width: 940px;
}

.contact-hero .section-title {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  margin-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.contact-intro,
.contact-form {
  min-height: 610px;
}

.contact-intro {
  background:
    linear-gradient(180deg, rgba(94, 212, 255, 0.11), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
}

.contact-card-heading {
  margin-bottom: 18px;
}

.contact-card-heading span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.contact-card-heading h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.contact-card-heading p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
}

.contact-link.featured {
  grid-column: 1 / -1;
  min-height: 108px;
  border-color: rgba(142, 231, 182, 0.36);
  background:
    linear-gradient(135deg, rgba(94, 212, 255, 0.16), rgba(142, 231, 182, 0.1)),
    rgba(255, 255, 255, 0.055);
}

.contact-link span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.contact-link b {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  color: white;
  font-size: 18px;
  line-height: 1.35;
}

.contact-link.featured b {
  font-size: clamp(20px, 3vw, 30px);
}

.contact-link:hover {
  border-color: rgba(94, 212, 255, 0.45);
  background: rgba(94, 212, 255, 0.1);
}

.contact-form p {
  margin: 0 0 18px;
}

.contact-form input,
.contact-form textarea {
  margin-top: 8px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.insight-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.insight-card p {
  flex: 1;
}

.article-page {
  max-width: 980px;
}

.article-shell {
  display: grid;
  gap: 28px;
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-back {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.article-header h1 {
  max-width: 900px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
}

.article-content {
  max-width: 840px;
  font-size: 18px;
  line-height: 1.82;
}

.article-content h2 {
  margin: 48px 0 14px;
  font-size: 34px;
  line-height: 1.16;
}

.article-content h3 {
  margin: 30px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.article-content p {
  color: #c4d0e1;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: rgba(94, 212, 255, 0.08);
  color: white;
  font-size: 22px;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 24px;
}

.card h2,
.card h3 {
  margin-top: 0;
  line-height: 1.2;
}

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

.skill-card {
  min-height: 205px;
}

.impact-card {
  min-height: 245px;
}

.kpi {
  color: var(--brand);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  margin: 5px 6px 5px 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #c9d7ec;
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  border-left: 2px solid rgba(94, 212, 255, 0.28);
  padding-left: 24px;
}

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

.timeline-item:before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(94, 212, 255, 0.14);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 455px;
  transition: transform 0.22s, border-color 0.22s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 212, 255, 0.42);
}

.projects-page {
  display: grid;
  gap: 26px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.project-featured {
  border-color: rgba(94, 212, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(94, 212, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
}

.project-visual {
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  margin: -4px -4px 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 212, 255, 0.2), rgba(142, 231, 182, 0.1)),
    linear-gradient(180deg, #12223a, #0a1423);
}

.project-visual span {
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-meta {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.project-card h2 {
  min-height: 62px;
  margin-bottom: 10px;
}

.project-card p {
  margin-top: 0;
}

.project-tags {
  margin-top: 12px;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}

.metric-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(142, 231, 182, 0.24);
  background: rgba(142, 231, 182, 0.08);
  color: #d9f7e7;
  font-size: 12px;
  font-weight: 800;
}

.project-details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.project-details summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
  list-style-position: outside;
}

.detail-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.detail-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-grid b {
  display: block;
  margin-bottom: 5px;
  color: white;
}

.detail-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

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

.cert-img {
  height: 120px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 10px;
  overflow: hidden;
}

.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.award {
  border-left: 4px solid var(--gold);
}

.awards-page {
  display: grid;
  gap: 24px;
  padding-top: 54px;
}

.awards-page .section-heading {
  margin-bottom: 6px;
}

.award-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.award-card {
  display: flex;
  flex-direction: column;
  min-height: 492px;
  border-left: 4px solid var(--gold);
}

.award-img {
  aspect-ratio: 842 / 595;
  height: auto;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.award-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.award-year {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.award-card h2 {
  min-height: 68px;
  margin-bottom: 12px;
}

.award-card p {
  margin: 0 0 14px;
}

.award-card .btn {
  margin-top: auto;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 17, 31, 0.86);
  color: white;
}

label {
  font-weight: 700;
  font-size: 14px;
}

.footer {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.filter {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .hero,
  .about-hero,
  .contact-layout,
  .award-stats,
  .grid-2,
  .grid-3,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .about-profile-card {
    max-width: 280px;
  }

  .contact-intro,
  .contact-form {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    position: relative;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: min(70vh, 480px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 17, 31, 0.97);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    z-index: 60;
    backdrop-filter: blur(18px);
  }

  .nav.menu-open .menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
  }

  .container {
    padding: 42px 18px;
  }

  .h1 {
    font-size: 42px;
  }

  .avatar {
    height: 220px;
  }

  .profile-photo-wrap {
    max-width: 240px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-hero .section-title {
    font-size: 40px;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    padding-inline: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    font-size: 16px;
  }

  .menu {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    min-height: 40px;
    padding-inline: 10px;
  }

  .container {
    padding: 36px 16px;
  }

  .h1,
  .section-title,
  .contact-hero .section-title {
    font-size: 34px;
    line-height: 1.1;
  }

  .lead,
  .article-header p {
    font-size: 17px;
    line-height: 1.65;
  }

  .card,
  .hero-panel,
  .hero-card {
    padding: 20px;
  }
}
