:root {
  --ink: #17202a;
  --muted: #5b6570;
  --line: #dce3e6;
  --paper: #ffffff;
  --soft: #f5f8f8;
  --teal: #0d6f6b;
  --teal-dark: #064f53;
  --blue: #1e5f8f;
  --gold: #b88936;
  --shadow: 0 24px 60px rgba(20, 40, 52, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: rgba(6, 20, 26, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
}

.brand-photo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
}

.hero-media,
.hero-signals,
.hero-pulse,
.hero-hud,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/health-tech-hero-ai-rpm.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-signals {
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.78;
}

.hero-signals span {
  position: absolute;
  right: -18%;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 210, 219, 0.72), rgba(184, 137, 54, 0.44), transparent);
  filter: drop-shadow(0 0 12px rgba(69, 210, 219, 0.38));
  animation: signalDrift 9s linear infinite;
}

.hero-signals span:nth-child(1) {
  top: 32%;
}

.hero-signals span:nth-child(2) {
  top: 49%;
  width: 44%;
  animation-delay: -3s;
  animation-duration: 12s;
}

.hero-signals span:nth-child(3) {
  top: 65%;
  width: 58%;
  animation-delay: -6s;
  animation-duration: 10.5s;
}

.hero-pulse {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 44%, rgba(69, 210, 219, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 36%, rgba(184, 137, 54, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 60%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px);
  animation: healthPulse 3.8s ease-in-out infinite;
}

.hero-hud {
  z-index: 3;
  pointer-events: none;
  font-size: 0.78rem;
}

.hud-card {
  position: absolute;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, rgba(7, 32, 40, 0.62), rgba(10, 56, 61, 0.36));
  border: 1px solid rgba(99, 224, 229, 0.32);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24), inset 0 0 28px rgba(69, 210, 219, 0.08);
  backdrop-filter: blur(10px);
}

.hud-topline,
.hud-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hud-topline span,
.hud-metrics span,
.hud-ring span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
  text-transform: uppercase;
}

.hud-topline strong,
.hud-metrics strong {
  color: #ffffff;
  font-size: 1rem;
}

.hud-ecg {
  right: clamp(70px, 9vw, 150px);
  top: 24%;
  width: min(360px, 29vw);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  animation: hudFloat 5.4s ease-in-out infinite;
}

.hud-ecg .hud-topline {
  display: none;
}

.ecg-line {
  display: block;
  width: 100%;
  height: 76px;
  margin-top: 0;
}

.ecg-line polyline {
  fill: none;
  stroke: #53ecf0;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(83, 236, 240, 0.7));
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: ecgTrace 2.7s linear infinite;
}

.hud-ai {
  right: clamp(28px, 5vw, 90px);
  top: 50%;
  width: min(260px, 22vw);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  animation: hudFloat 6.2s ease-in-out infinite reverse;
}

.hud-ai .hud-topline {
  display: none;
}

.hud-progress {
  height: 8px;
  margin-top: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.hud-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #53ecf0);
  border-radius: inherit;
  animation: aiProgress 3.4s ease-in-out infinite;
}

.hud-metrics {
  right: clamp(230px, 26vw, 430px);
  bottom: 20%;
  display: grid;
  gap: 10px;
  width: 190px;
  padding: 14px 16px;
  animation: hudFloat 7s ease-in-out infinite;
}

.hud-metrics div {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hud-metrics div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hud-ring {
  position: absolute;
  right: clamp(68px, 9vw, 150px);
  bottom: 17%;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  color: #ffffff;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 34, 42, 0.66) 0 48%, transparent 49%),
    conic-gradient(from 0deg, #53ecf0 0 74%, rgba(255, 255, 255, 0.16) 74% 100%);
  box-shadow: 0 0 32px rgba(83, 236, 240, 0.22);
  animation: ringSpin 8s linear infinite;
}

.hud-ring span {
  font-size: 0.66rem;
  animation: ringCounter 8s linear infinite;
}

@keyframes signalDrift {
  from {
    transform: translateX(0);
    opacity: 0;
  }

  12%,
  82% {
    opacity: 1;
  }

  to {
    transform: translateX(-150%);
    opacity: 0;
  }
}

@keyframes healthPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.015);
  }
}

@keyframes ecgTrace {
  0% {
    stroke-dashoffset: 420;
    opacity: 0.32;
  }

  18%,
  78% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
}

@keyframes hudFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes aiProgress {
  0% {
    width: 34%;
  }

  45%,
  70% {
    width: 96%;
  }

  100% {
    width: 58%;
  }
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringCounter {
  to {
    transform: rotate(-360deg);
  }
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 18, 25, 0.91) 0%, rgba(8, 28, 34, 0.78) 38%, rgba(7, 21, 28, 0.24) 72%),
    linear-gradient(180deg, rgba(6, 18, 25, 0.26) 0%, rgba(6, 18, 25, 0.14) 58%, rgba(255, 255, 255, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(710px, 100%);
  color: #ffffff;
}

.eyebrow,
.section-kicker,
.work-tag {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  border-color: rgba(255, 255, 255, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.intro-section,
.skills-section,
.training-section,
.endorsements-section,
.work-section,
.approach-section,
.contact-section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(32px, 7vw, 90px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid .profile-copy,
.content-grid > p {
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.25rem);
}

.profile-copy {
  display: grid;
  gap: 18px;
}

.profile-copy p {
  margin: 0;
}

h2 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.05rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.24;
}

.band {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.skills-section {
  background: #ffffff;
}

.skills-grid {
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.skill-meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  padding-top: 10px;
}

.skill-meter {
  min-width: 0;
}

.skill-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 760;
}

.skill-label strong {
  color: var(--gold);
  font-size: 1.05em;
}

.meter-track {
  display: block;
  height: 7px;
  overflow: hidden;
  background: #e9eef0;
  border-radius: 999px;
}

.meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e0a72e);
  border-radius: inherit;
}

.skills-section.is-visible .meter-fill {
  animation: fillMeter 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.skill-meter:nth-child(2) .meter-fill,
.skill-meter:nth-child(4) .meter-fill,
.skill-meter:nth-child(7) .meter-fill {
  animation-delay: 120ms;
}

.skill-meter:nth-child(3) .meter-fill,
.skill-meter:nth-child(6) .meter-fill,
.skill-meter:nth-child(9) .meter-fill {
  animation-delay: 220ms;
}

@keyframes fillMeter {
  from {
    width: 0;
  }

  to {
    width: var(--score);
  }
}

.training-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.training-grid,
.testimonial-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 18px;
}

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

.training-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 40, 52, 0.06);
  opacity: 0;
  transform: translateY(18px);
}

.training-card {
  min-height: 238px;
  padding: 24px;
}

.training-card.is-visible,
.testimonial-card.is-visible {
  animation: riseIn 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.training-card:nth-child(2),
.testimonial-card:nth-child(2) {
  animation-delay: 90ms;
}

.training-card:nth-child(3),
.testimonial-card:nth-child(3) {
  animation-delay: 170ms;
}

.training-card:nth-child(4),
.testimonial-card:nth-child(4) {
  animation-delay: 250ms;
}

.featured-training {
  grid-column: span 2;
}

.training-type {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.training-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  margin-bottom: 18px;
}

.org-logo {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 8px 18px rgba(20, 40, 52, 0.08);
}

.org-stanford {
  color: #ffffff;
  background: #8c1515;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.org-microsoft {
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 5px;
  background: #ffffff;
  border: 1px solid #d9e2e5;
}

.org-microsoft span {
  width: 100%;
  height: 100%;
}

.org-microsoft span:nth-child(1) {
  background: #f25022;
}

.org-microsoft span:nth-child(2) {
  background: #7fba00;
}

.org-microsoft span:nth-child(3) {
  background: #00a4ef;
}

.org-microsoft span:nth-child(4) {
  background: #ffb900;
}

.org-cisco {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 2px;
  padding: 7px 6px;
  background: #eef8fb;
  border: 1px solid #cae8ef;
}

.org-cisco span {
  display: block;
  width: 4px;
  margin-inline: auto;
  background: #049fd9;
  border-radius: 999px;
}

.org-cisco span:nth-child(1),
.org-cisco span:nth-child(4) {
  height: 12px;
}

.org-cisco span:nth-child(2),
.org-cisco span:nth-child(3) {
  height: 20px;
}

.org-novell {
  color: #ffffff;
  background: #d71920;
  font-size: 1.05rem;
}

.org-security {
  position: relative;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: 9px 9px 12px 12px;
  font-size: 0.68rem;
}

.org-security::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 0;
  height: 0;
  border-inline: 10px solid transparent;
  border-top: 8px solid var(--teal-dark);
}

.training-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.endorsements-section {
  background: #ffffff;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 24px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.testimonial-card:hover,
.testimonial-card:focus-visible {
  border-color: rgba(13, 111, 107, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.quote {
  position: relative;
  margin: 0 0 auto;
  color: var(--ink);
  font-size: 1.02rem;
}

.quote::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--gold);
}

.testimonial-card h3 {
  margin-top: 26px;
}

.testimonial-card h3 + p {
  margin: 8px 0 0;
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 820;
  border-bottom: 2px solid var(--gold);
}

.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.testimonial-modal.is-open {
  display: flex;
}

.testimonial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 26, 0.68);
  backdrop-filter: blur(8px);
}

.testimonial-dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: min(760px, 86vh);
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.testimonial-dialog h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.testimonial-full {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.testimonial-full p {
  margin: 0;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.body-locked {
  overflow: hidden;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.capability-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 40, 52, 0.06);
}

.card-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  color: var(--blue);
  font-weight: 850;
}

.capability-card h3 {
  margin-top: 44px;
}

.capability-card p,
.work-item p,
.principles p,
.contact-inner p {
  margin: 12px 0 0;
  color: var(--muted);
}

.work-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(13, 111, 107, 0.26), transparent 34%),
    linear-gradient(180deg, #10212a 0%, #0b181f 100%);
  color: #ffffff;
}

.work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.work-section .section-heading {
  position: relative;
  z-index: 1;
}

.work-section h2 {
  color: #ffffff;
}

.work-section .section-kicker {
  color: #d6ad67;
}

.work-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.work-item {
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.work-item:hover,
.work-item:focus-within {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(83, 236, 240, 0.34);
}

.work-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: #10212a;
  background: #d6ad67;
  border-radius: 999px;
  font-size: 0.72rem;
}

.work-item h3 {
  color: #ffffff;
  font-size: 1.22rem;
}

.work-location {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.work-item > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.inline-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(13, 111, 107, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 820;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.inline-read-more:hover,
.inline-read-more:focus-visible {
  background: var(--teal);
  transform: translateY(-1px);
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 52;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.experience-modal.is-open {
  display: flex;
}

.experience-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(13, 111, 107, 0.28), transparent 34%),
    rgba(8, 20, 26, 0.74);
  backdrop-filter: blur(10px);
}

.experience-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(780px, 86vh);
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  color: #ffffff;
  background: rgba(16, 33, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.36);
}

.experience-dialog h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.experience-role {
  margin: 14px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.experience-detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-detail-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.experience-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.experience-dialog .modal-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.approach-section {
  background: #10212a;
  color: #ffffff;
}

.approach-section .section-kicker {
  color: #d6ad67;
}

.approach-section h2 {
  color: #ffffff;
}

.principles {
  display: grid;
  gap: 24px;
}

.principles > div {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.principles h3 {
  color: #ffffff;
}

.principles p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  background: var(--soft);
}

.contact-inner {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button.outline {
  color: var(--teal-dark);
  background: #ffffff;
  border-color: var(--line);
}

.button.outline:hover,
.button.outline:focus-visible {
  border-color: var(--teal);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 760;
}

.floating-brand {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 33, 42, 0.12);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(8, 20, 26, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-brand:hover,
.floating-brand:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(8, 20, 26, 0.24);
}

.floating-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

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

  .skill-meter-grid,
  .training-grid,
  .testimonial-grid,
  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid .profile-copy,
  .content-grid > p {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
    min-height: auto;
    padding: 16px 20px;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 920px;
    padding: 260px 20px 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 18, 25, 0.93) 0%, rgba(8, 28, 34, 0.78) 58%, rgba(7, 21, 28, 0.38) 100%),
      linear-gradient(180deg, rgba(6, 18, 25, 0.24) 0%, rgba(6, 18, 25, 0.1) 55%, rgba(255, 255, 255, 1) 100%);
  }

  .hero-hud {
    opacity: 0.95;
  }

  .hud-ecg {
    top: 148px;
    right: 20px;
    left: 20px;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hud-ecg .hud-topline {
    display: none;
  }

  .ecg-line {
    height: 42px;
    margin-top: 0;
  }

  .hud-ai {
    top: auto;
    right: 92px;
    bottom: 112px;
    left: 28px;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hud-ai .hud-topline {
    display: none;
  }

  .hud-progress {
    margin-top: 0;
  }

  .hud-metrics,
  .hud-ring {
    display: none;
  }

  .hero-actions,
  .contact-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    margin-bottom: 70px;
  }

  .button {
    width: 100%;
  }

  .floating-brand {
    width: 48px;
    height: 48px;
    padding: 7px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .skill-meter-grid,
  .training-grid,
  .testimonial-grid,
  .work-list {
    grid-template-columns: 1fr;
  }

  .featured-training {
    grid-column: auto;
  }

  .capability-card {
    min-height: 236px;
  }

  .section-heading {
    text-align: left;
  }
}
