:root {
  --bg: #071018;
  --bg-2: #0b1520;
  --panel: rgba(19, 29, 42, 0.62);
  --panel-strong: rgba(14, 21, 31, 0.82);
  --text: #f7f8fb;
  --muted: #b5c1cf;
  --line: rgba(255,255,255,0.1);
  --line-strong: rgba(255,255,255,0.16);
  --accent: #d3a767;
  --accent-2: #f1cf99;
  --shadow: 0 25px 80px rgba(0,0,0,0.36);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(211,167,103,0.16), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(87,132,176,0.18), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, #09111a 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 42px 0 82px; }

.glass-panel,
.glass-bar {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-panel { border-radius: var(--radius); }
.glass-panel-strong {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border-color: var(--line-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
}
.brand { font-weight: 900; letter-spacing: .03em; }
nav { display: flex; gap: 22px; }
nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color .25s ease, transform .25s ease;
}
nav a:hover { color: var(--text); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 700;
}

.hero { padding-top: 24px; }
.hero-shell {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(211,167,103,0.18), transparent 30%);
  pointer-events: none;
}
.hero-copy,
.hero-media,
.podcast-copy,
.podcast-panel { position: relative; z-index: 1; }
.eyebrow, .section-label, .card-kicker, .kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .77rem;
  font-weight: 800;
}
.hero h1,
h2,
h3,
.section-heading,
.floating-title {
  font-family: "Playfair Display", serif;
}
.hero h1 {
  font-size: clamp(2.85rem, 5.4vw, 5rem);
  line-height: .98;
  margin: 12px 0 16px;
}
.lede,
.glass-panel p,
.highlight-card p,
.footer-grid p {
  color: var(--muted);
  line-height: 1.75;
}
.hero-cta,
.card-actions,
.intro-actions,
.cta-actions,
.compact-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(211,167,103,.22);
}
.btn-secondary {
  background: rgba(255,255,255,.02);
  color: var(--text);
  border-color: var(--line);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.hero-stats div,
.highlight-card,
.resume-card,
.capabilities-card,
.cta-shell,
.podcast-shell,
.about-layout > article,
.floating-card { padding: 22px; }
.hero-stats div {
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.hero-stats span { color: var(--muted); font-size: .95rem; }
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  position: relative;
}
.portrait-frame {
  width: min(100%, 430px);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  box-shadow: 0 38px 80px rgba(0,0,0,.38);
}
.portrait-frame img {
  border-radius: 28px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 240px;
  border-radius: 24px;
}
.floating-title {
  margin: 6px 0 0;
  font-size: 1.3rem;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.about-layout h2,
.section-heading,
.podcast-copy h2,
.cta-shell h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 16px; }
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.capability-grid div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.capability-grid span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  margin-bottom: 8px;
}
.capability-grid strong { display: block; }

.section-heading-wrap { margin-bottom: 18px; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight-card {
  border-radius: 24px;
  min-height: 100%;
}
.highlight-card h3 { font-size: 1.45rem; margin: 8px 0 12px; }

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.resume-card {
  border-radius: 26px;
  overflow: hidden;
}
.card-header { padding: 24px 24px 14px; }
.card-header h3 { margin: 8px 0 8px; font-size: 1.7rem; }
.card-header p:last-child { margin-bottom: 0; }
.resume-mobile-note {
  display: none;
  color: var(--muted);
  font-size: .95rem;
  padding: 0 24px 12px;
}
.resume-card iframe {
  width: calc(100% - 28px);
  height: 660px;
  margin: 0 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.card-actions { padding: 18px 24px 24px; }

.podcast-shell {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  padding: 30px;
}
.audio-player { width: 100%; margin-top: 16px; }
.podcast-panel {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}
.podcast-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(211,167,103,0.24), transparent 36%), linear-gradient(135deg, #162233, #0a1018 70%);
}
.podcast-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.42) 100%);
}
.podcast-title {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff !important;
  max-width: 240px;
  font-weight: 800;
}
.wave {
  position: absolute;
  bottom: 0;
  width: 24%;
  background: linear-gradient(180deg, rgba(241,207,153,0.95), rgba(211,167,103,0.18));
  border-radius: 999px 999px 0 0;
  opacity: .95;
  animation: pulse 2.8s ease-in-out infinite;
  z-index: 1;
}
.wave-1 { left: 10%; height: 35%; }
.wave-2 { left: 38%; height: 58%; animation-delay: .25s; }
.wave-3 { left: 66%; height: 42%; animation-delay: .5s; }
@keyframes pulse { 0%,100% { transform: scaleY(.88);} 50% { transform: scaleY(1.08);} }

.cta-shell {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.footer-grid a { color: var(--text); }

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,4,8,0.96);
  transition: opacity .9s ease, visibility .9s ease;
}
.intro-screen.hidden { opacity: 0; visibility: hidden; }
.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(920px, calc(100% - 36px));
  padding: 38px 28px;
}
.quote-script {
  font-family: Allura, cursive;
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  line-height: 1.2;
  color: #fff;
  margin: 10px 0 16px;
}
.quote-attrib, .intro-note { color: rgba(255,255,255,.8); }
.intro-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.05), transparent 42%);
}
.intro-orb {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .25;
}
.orb-a { background: rgba(211,167,103,.35); top: -8vw; left: -5vw; }
.orb-b { background: rgba(87,132,176,.35); bottom: -10vw; right: -6vw; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .container { width: min(100% - 24px, 1180px); }
  .section { padding: 28px 0 54px; }
  .nav-wrap {
    border-radius: 24px;
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  nav.open { display: flex; }
  nav a { padding: 12px 2px; }
  .hero-shell,
  .two-col,
  .resume-grid,
  .podcast-shell,
  .cta-shell,
  .footer-grid,
  .highlights-grid { grid-template-columns: 1fr; }
  .hero-shell { padding: 24px; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; }
  .portrait-frame { max-width: 430px; }
  .floating-card {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .resume-card iframe { height: 460px; }
  .btn, .nav-toggle { min-height: 46px; }
}
@media (max-width: 640px) {
  .card-actions .btn,
  .hero-cta .btn,
  .intro-actions .btn,
  .cta-actions .btn,
  .compact-cta .btn { width: 100%; }
  .resume-mobile-note { display: block; padding: 0 20px 10px; }
  .resume-card iframe { display: none; }
  .card-header, .card-actions { padding-left: 20px; padding-right: 20px; }
  .capability-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .intro-content { padding: 30px 20px; }
  .quote-script { font-size: clamp(1.5rem, 9vw, 2.35rem); }
  .podcast-panel { min-height: 210px; }
  .podcast-title { max-width: 200px; }
}
