:root {
  --bg: #000000;
  --panel: #0f0f0f;
  --panel-soft: #121212;
  --text: #FFFFFF;
  --muted: #D1D5DB;
  --line: #2a2a2a;
  --accent: #C9A75B;
  --accent-soft: rgba(201, 167, 91, 0.14);
  --white: #FFFFFF;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #000000 0%, #080808 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.footer-inner,
.hero-grid,
.contact-panel,
.bio-block,
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner,
.footer-inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-only {
  padding: 0.15rem 0;
}

.logo {
  width: 150px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 1.05rem;
}

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

.hero,
.section,
.page-hero {
  padding: 5rem 0;
}

.page-hero {
  padding-bottom: 2rem;
}

.hero-grid,
.contact-panel,
.bio-block {
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  flex: 1 1 0;
}

.eyebrow,
.section-label,
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 10ch;
}

.page-title {
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
}

.button {
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

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

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.text-link {
  color: var(--accent);
}

.panel-card,
.card,
.contact-card,
.profile-card,
.service-panel {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(9, 9, 9, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card,
.service-panel {
  padding: 2rem;
  height: 100%;
}

.panel-card ul,
.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cards,
.check-grid,
.team-grid,
.service-stack,
.founder-layout {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.card,
.profile-card {
  padding: 1.5rem;
}

.card p,
.section p,
.contact-note,
.footer-note,
.profile-copy p,
.plain-list {
  color: var(--muted);
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.check-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-soft);
  font-weight: 600;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.profile-image,
.bio-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.founder-layout {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.bio-block {
  padding: 0;
}

.bio-block.reverse {
  flex-direction: row-reverse;
}

.bio-image {
  width: min(100%, 340px);
  flex: 0 0 340px;
  min-height: 340px;
  max-height: none;
}

.bio-copy {
  flex: 1 1 auto;
}

.service-stack {
  grid-template-columns: 1fr;
}

.contact-card {
  min-width: 300px;
  padding: 1.5rem;
}

.contact-link {
  display: inline-block;
  margin: 0.4rem 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  color: var(--muted);
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .hero-grid,
  .contact-panel,
  .bio-block,
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner,
  .footer-inner {
    min-height: auto;
    padding: 1rem 0;
  }

  .logo {
    width: 112px;
    height: 48px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .cards,
  .check-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .page-hero {
    padding: 4rem 0;
  }

  h1,
  .page-title {
    max-width: none;
  }

  .contact-card {
    width: 100%;
    min-width: 0;
  }

  .bio-block,
  .bio-block.reverse {
    flex-direction: column;
  }

  .bio-image {
    width: 100%;
    flex: auto;
    min-height: 260px;
  }
}
