:root {
  --ink: #13201d;
  --muted: #5f6b66;
  --paper: #f6f2ea;
  --panel: #ffffff;
  --line: #d8d0c2;
  --dark: #101817;
  --dark-soft: #17231f;
  --accent: #21766f;
  --accent-dark: #15534e;
  --gold: #ca9440;
  --focus: #0b76d1;
  --shadow: 0 18px 46px rgba(17, 24, 22, 0.12);
  --max: 1180px;
  --prose: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: rgba(246, 242, 234, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.brand,
.nav {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--dark);
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  gap: 4px;
}

.nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  padding: 10px 11px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-linkedin {
  border: 1px solid var(--line);
  color: var(--accent-dark) !important;
}

.hero {
  background: var(--dark);
  color: #fffaf0;
}

.executive-hero {
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 9vw, 112px) 32px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(36px, 7vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  margin: 0 auto;
  max-width: var(--max);
}

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

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.page-title h1,
.contact-panel h1 {
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
}

.hero-text,
.lead,
.page-title p {
  color: rgba(255, 250, 240, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 24px 0 0;
  max-width: var(--prose);
}

.page-title p,
.lead {
  color: var(--muted);
}

.availability {
  border-left: 4px solid var(--accent);
  color: rgba(255, 250, 240, 0.84);
  font-weight: 650;
  margin: 28px 0 0;
  max-width: 680px;
  padding-left: 16px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fffaf0;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.35);
  color: #fffaf0;
}

.button.dark,
.button.secondary.dark {
  border-color: var(--line);
  color: var(--ink);
}

.button.primary.dark {
  background: var(--accent);
  color: #fffaf0;
}

.headshot-card {
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.16);
  margin: 0;
  padding: 14px;
}

.headshot-card img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.headshot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 2px 2px;
}

.headshot-card span {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.94rem;
}

.pillar-strip {
  background: var(--dark-soft);
  color: #fffaf0;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.pillar-strip article {
  background: rgba(255, 255, 255, 0.035);
  padding: 30px 32px;
}

.pillar-strip span {
  color: var(--gold);
  display: block;
  font-size: 1.05rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.pillar-strip p {
  color: rgba(255, 250, 240, 0.78);
  margin: 0;
}

.section,
.page {
  margin: 0 auto;
  max-width: var(--max);
  padding: 72px 32px;
}

.section.narrow {
  max-width: 900px;
}

.section h2,
.page-title h1 {
  color: var(--ink);
}

.section h2,
.footer-cta h2,
.showcase-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  margin: 0;
}

.section-heading {
  margin-bottom: 28px;
  max-width: var(--prose);
}

.metric-grid,
.product-grid,
.capability-grid,
.proof-metrics,
.lab-grid {
  display: grid;
  gap: 18px;
}

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

.metric-card,
.product-grid article,
.anchored-metric,
.lab-card,
.system-feature,
.career-role,
.privacy-block {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-card {
  color: inherit;
  display: grid;
  min-height: 220px;
  padding: 24px;
  text-decoration: none;
}

.metric-card strong,
.anchored-metric strong {
  color: var(--accent-dark);
  display: block;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.9;
  margin-bottom: 14px;
}

.metric-card span {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.1;
}

.metric-card p,
.product-grid p,
.anchored-metric p,
.system-feature p,
.system-row p,
.career-role p,
.career-role li,
.lab-card p,
.privacy-block p {
  color: var(--muted);
}

.metric-card p {
  align-self: end;
  font-size: 0.94rem;
  margin: 18px 0 0;
}

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

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

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

.product-grid article {
  padding: 24px;
}

.capability-grid article {
  background: var(--dark);
  border: 1px solid rgba(255, 250, 240, 0.14);
  box-shadow: var(--shadow);
  color: #fffaf0;
  padding: 24px;
}

.capability-grid h3 {
  color: #fffaf0;
  font-size: 1.25rem;
  line-height: 1.14;
  margin: 0 0 12px;
}

.capability-grid p {
  color: rgba(255, 250, 240, 0.76);
  margin: 0;
}

.compact-heading {
  margin-bottom: 0;
  margin-top: 18px;
}

.product-grid h3,
.anchored-metric h2,
.lab-card h2,
.system-feature h2,
.system-row h3,
.career-role h2,
.privacy-block h2 {
  font-size: 1.35rem;
  line-height: 1.14;
  margin: 0 0 12px;
}

.product-grid span {
  color: var(--accent-dark);
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  margin-top: 18px;
}

.footer-cta {
  align-items: center;
  background: var(--dark);
  color: #fffaf0;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto 72px;
  max-width: var(--max);
  padding: clamp(28px, 5vw, 48px);
}

.footer-cta h2 {
  color: #fffaf0;
}

.page {
  min-height: calc(100vh - 144px);
}

.page-title {
  margin-bottom: 48px;
  max-width: 980px;
}

.page-title .title-actions {
  margin-top: 26px;
}

.career-timeline {
  display: grid;
  gap: 18px;
}

.career-role {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  padding: 28px;
}

.role-meta span {
  color: var(--gold);
  display: block;
  font-size: 0.86rem;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.role-meta p {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
}

.scope {
  font-size: 1.04rem;
  margin-top: 0;
}

.career-role ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.system-showcase {
  display: grid;
  gap: 24px;
}

.system-feature {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  overflow: hidden;
}

.system-feature div {
  align-content: center;
  display: grid;
  padding: clamp(28px, 5vw, 46px);
}

.system-feature img,
.lab-card img {
  height: 100%;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.enterprise-section {
  padding-left: 0;
  padding-right: 0;
}

.system-list {
  border-top: 1px solid var(--line);
}

.system-list.compact {
  border-top: 0;
}

.system-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  padding: 30px 0;
}

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

.anchored-metric {
  padding: 26px;
}

.anchored-metric p {
  margin: 12px 0 0;
}

.timeline {
  padding-left: 0;
  padding-right: 0;
}

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

.timeline li {
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--accent);
  color: var(--muted);
  padding: 18px 22px;
}

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

.lab-card {
  display: grid;
  overflow: hidden;
}

.lab-card.wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.lab-card div {
  padding: 26px;
}

.lab-card img {
  aspect-ratio: 16 / 10;
}

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

.contact-panel {
  background: var(--dark);
  color: #fffaf0;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  padding: clamp(28px, 5vw, 54px);
}

.contact-panel h1 {
  color: #fffaf0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.contact-panel p {
  color: rgba(255, 250, 240, 0.76);
}

.location-line {
  color: var(--gold) !important;
  font-weight: 800;
}

.contact-list {
  align-content: start;
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.18);
  color: #fffaf0;
  display: block;
  font-weight: 800;
  overflow-wrap: anywhere;
  padding: 14px 16px;
  text-decoration: none;
}

.contact-list .primary-contact {
  background: var(--accent);
}

.privacy-block {
  max-width: var(--prose);
  padding: 24px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .metric-grid,
  .product-grid,
  .product-grid.detailed,
  .capability-grid,
  .proof-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

  .nav {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
    width: 100%;
  }

  .executive-hero {
    min-height: auto;
    padding: 48px 20px;
  }

  .hero-grid,
  .pillar-strip,
  .career-role,
  .system-feature,
  .system-row,
  .lab-card.wide,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .headshot-card {
    max-width: 420px;
  }

  .section,
  .page {
    padding: 52px 20px;
  }

  .enterprise-section {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 52px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 18px 20px;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .page-title h1,
  .contact-panel h1 {
    font-size: 2.45rem;
  }

  .metric-grid,
  .product-grid,
  .product-grid.detailed,
  .capability-grid,
  .proof-metrics,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-card.wide {
    grid-column: auto;
  }

  .button,
  .hero-actions,
  .title-actions {
    width: 100%;
  }

  .button {
    justify-content: center;
  }
}
