/* Cybersecurity & AI Risk Advisor Profile */

:root {
  --bg: #F8F9FA;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #0B1F33;
  --text-muted: rgba(11, 31, 51, 0.68);
  --navy: #0B1F33;
  --charcoal: #1F2933;
  --accent: #2B6F77;
  --accent-soft: rgba(43, 111, 119, 0.14);
  --border: rgba(11, 31, 51, 0.10);
  --shadow-sm: 0 10px 28px rgba(11, 31, 51, 0.06);
  --shadow-md: 0 18px 48px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 24px 72px rgba(11, 31, 51, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin: 0.35rem 0;
  color: var(--text-muted);
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(52px);
  opacity: 0.38;
  z-index: -1;
}

.page-shell::before {
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(43, 111, 119, 0.32), transparent 70%);
  animation: orbMoveOne 18s ease-in-out infinite;
}

.page-shell::after {
  top: 140px;
  right: -180px;
  background: radial-gradient(circle, rgba(11, 31, 51, 0.12), transparent 70%);
  animation: orbMoveTwo 22s ease-in-out infinite;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 249, 250, 0.86);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
}

.nav-menu a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--navy);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 180ms ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  padding: 6.8rem 0 3.8rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy h1,
.section h2 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.eyebrow,
.section-kicker,
.card-label,
.education-meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(11, 31, 51, 0.56);
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 5.15rem);
  line-height: 1;
  margin: 0 0 1.25rem;
  max-width: 11ch;
}

.hero-description,
.section-subtitle,
.connect-copy {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}

.cta-button,
.connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cta-button {
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(43, 111, 119, 0.22);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.secondary-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-metrics,
.strip-grid,
.capabilities-grid,
.experience-grid,
.framework-grid,
.credentials-grid,
.education-grid {
  display: grid;
  gap: 1rem;
}

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

.metric-card,
.hero-card,
.content-card,
.credential-badge,
.education-card,
.tag-group {
  background: var(--surface);
  border: 1px solid rgba(11, 31, 51, 0.09);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
}

.metric-card {
  padding: 1rem;
}

.metric-card strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.metric-card span,
.content-card p,
.credential-badge p,
.education-card p,
.hero-card p,
.tag-group p {
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-panel {
  position: relative;
  padding: 1.2rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.03), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-avatar {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  background: rgba(11, 31, 51, 0.04);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
}

.card-label {
  margin: 0 0 0.65rem;
}

.card-value {
  display: block;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.credibility-strip {
  padding: 1rem 0 0;
}

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

.strip-grid div {
  padding: 1.1rem;
  border: 1px solid rgba(11, 31, 51, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.strip-grid strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.strip-grid span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 6.25rem 0;
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 2.2rem;
  max-width: 18ch;
}

.capabilities-grid,
.experience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.content-card,
.tag-group {
  padding: 1.45rem;
  height: 100%;
}

.content-card h3,
.tag-group h3,
.education-card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0 0 0.8rem;
}

.engagements,
.frameworks,
.professional-engagement {
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.025), transparent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 31, 51, 0.04);
  border: 1px solid rgba(11, 31, 51, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.credential-badge {
  border-radius: var(--radius-md);
  text-align: left;
  padding: 1.2rem;
}

.credential-badge strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

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

.education-card {
  padding: 1.5rem;
  height: 100%;
}

.education-meta {
  margin: 0 0 0.8rem;
}

.connect-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, #0B1F33, #1F2933);
  box-shadow: var(--shadow-lg);
}

.connect-layout .section-kicker,
.connect-layout .connect-copy {
  color: rgba(255, 255, 255, 0.72);
}

.connect-layout h2 {
  color: #ffffff;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.connect-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.connect-button.linkedin {
  background: #ffffff;
  color: var(--navy);
}

.connect-button:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 111, 119, 0.55);
}

.metric-card,
.hero-panel,
.content-card,
.credential-badge,
.education-card,
.tag-group,
.strip-grid div {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.metric-card:hover,
.hero-panel:hover,
.content-card:hover,
.credential-badge:hover,
.education-card:hover,
.tag-group:hover,
.strip-grid div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 111, 119, 0.32);
}

.content-card:hover h3,
.credential-badge:hover strong,
.education-card:hover h3,
.tag-group:hover h3,
.metric-card:hover strong,
.strip-grid div:hover strong {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  text-align: center;
}

@keyframes orbMoveOne {
  0% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(120px, 90px) scale(1.06); }
  60% { transform: translate(40px, 230px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbMoveTwo {
  0% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-120px, 90px) scale(1.06); }
  75% { transform: translate(-60px, 230px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@media (max-width: 1080px) {
  .hero-content,
  .connect-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .nav-container {
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-menu {
    justify-content: center;
    gap: 0.85rem 1rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-metrics,
  .strip-grid,
  .capabilities-grid,
  .experience-grid,
  .framework-grid,
  .credentials-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .connect-layout {
    padding: 1.4rem;
  }

  .connect-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-container {
    width: min(100%, calc(100% - 1.5rem));
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.5rem);
  }

  .cta-button {
    width: 100%;
  }

  .hero-avatar {
    max-width: 220px;
  }

  .page-shell::before,
  .page-shell::after {
    width: 380px;
    height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
