@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0d0f14;
  --bg-surface: #111520;
  --bg-card: #141821;
  --border: rgba(255, 255, 255, 0.07);
  --text: #dce0ee;
  --text-muted: #6b7394;
  --text-light: #3a3f58;
  --accent: #818cf8;
  --accent-bg: rgba(129, 140, 248, 0.1);
  --accent-hover: #6366f1;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ─────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  background: rgba(13, 15, 20, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

.nav-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-linkedin { display: flex; }

/* ── HERO ────────────────────────────────── */

#hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero */
#hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
}

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 430px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-photo { flex-shrink: 0; }

.photo-frame {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(140deg, #818cf8 0%, #a78bfa 50%, #38bdf8 100%);
  box-shadow: 0 0 40px rgba(129, 140, 248, 0.2);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ── BUTTONS ─────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.18s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.btn-white:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ── SECTIONS ────────────────────────────── */

section { padding: 96px 0; }

.bg-surface {
  background-color: var(--bg-surface);
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

p:last-child { margin-bottom: 0; }

/* ── ABOUT ───────────────────────────────── */

#about h2 { margin-bottom: 28px; }

#about p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 680px;
}

/* ── EXPERTISE ───────────────────────────── */

#expertise h2 { margin-bottom: 40px; }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.expertise-card:hover {
  border-color: rgba(129, 140, 248, 0.25);
  transform: translateY(-2px);
}

.expertise-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.expertise-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

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

/* ── TIMELINE ────────────────────────────── */

#experience .container { margin-bottom: 64px; }

#experience h2 { margin-bottom: 8px; }

.timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 32px 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 0;
}

.timeline-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-surface);
  z-index: 2;
}

.tl-card-wrap {
  position: relative;
  width: calc(50% - 44px);
  perspective: 800px;
}

.tl-card-wrap.right { margin-left: auto; }

.tl-card-wrap.left::after {
  content: '';
  position: absolute;
  right: -44px;
  top: 34px;
  width: 44px;
  height: 2px;
  background: var(--border);
}

.tl-card-wrap.right::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 34px;
  width: 44px;
  height: 2px;
  background: var(--border);
}

.tl-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tl-card.flipped { transform: rotateY(180deg); }

.tl-card-front,
.tl-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.tl-card-front { padding: 14px 16px; }

.tl-card:hover .tl-card-front,
.tl-card.flipped .tl-card-back {
  border-color: rgba(129, 140, 248, 0.25);
}

.tl-card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tl-card-wrap.right .tl-card-front {
  text-align: right;
}

.tl-card-wrap.right .tl-logo-area {
  justify-content: flex-end;
}

.tl-logo-area {
  height: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.tl-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

/* Invert dark logos to show on dark background */
.tl-logo-img.disney {
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Lighten Stripe's purple slightly for dark bg */
.tl-logo-img.stripe {
  height: 22px;
  filter: brightness(1.15);
}

.tl-logo-img.espn { height: 20px; }

/* Topstep: white fills, shows fine on dark */
.tl-logo-img.topstep { height: 24px; }

/* Ready.net and Degreed: dark fills, invert to white */
.tl-logo-img.ready {
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.tl-logo-img.degreed {
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Workera: logomark, may need inversion */
.tl-logo-img.workera {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Monster: PNG logo */
.tl-logo-img.monster {
  height: 28px;
  width: auto;
}

.tl-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tl-dates {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0;
}


.tl-blurb {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── ADVISORY ────────────────────────────── */

.advisory-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 40px;
}

.advisory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.advisory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.advisory-card:hover {
  border-color: rgba(129, 140, 248, 0.25);
  transform: translateY(-2px);
}

.advisory-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* ── CONTACT ─────────────────────────────── */

#contact {
  background-color: var(--bg-surface);
  background-image:
    radial-gradient(ellipse 800px 500px at 50% 50%, rgba(129, 140, 248, 0.1) 0%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  border-top: 1px solid rgba(129, 140, 248, 0.15);
  padding: 96px 0;
}

.contact-inner { text-align: center; }

#contact .section-label { color: var(--accent); }

#contact h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 2.5rem;
}

#contact p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  align-self: center;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ──────────────────────────────── */

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 768px) {
  .expertise-grid,
  .advisory-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
    transform: none;
  }

  .tl-dot {
    left: 14px;
    transform: none;
  }

  .tl-card-wrap {
    width: calc(100% - 92px);
    margin-left: 92px !important;
    margin-bottom: 12px;
  }

  .tl-card-wrap.left::after {
    right: auto;
    left: -72px;
    width: 72px;
  }

  .tl-card-wrap.right::before {
    left: -72px;
    width: 72px;
  }

  .tl-card-wrap.right .tl-card-front {
    text-align: left;
  }

  .tl-card-wrap.right .tl-logo-area {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  h2 { font-size: 1.9rem; }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 36px;
    text-align: center;
  }

  .hero-text h1 { font-size: 2.75rem; }

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

  .hero-ctas { justify-content: center; }

  .photo-frame {
    width: 160px;
    height: 160px;
  }

  .nav-links { gap: 18px; }
}
