:root {
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --text-heading: #0f172a;
  --accent: #24678d;
  --accent-dark: #194c69;
  --accent-soft: #eef5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --max-width: 1080px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Header & Navigation */
.site-header {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--accent);
  flex-shrink: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-heading);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg-page);
  padding: 16px 0;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* Main Content */
.main-content {
  flex: 1 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero */
.hero-band {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-page);
}

.hero-inner {
  max-width: 760px;
}

.hero-title {
  margin: 0 0 20px;
  color: var(--text-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 64ch;
}

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

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  line-height: 1.2;
}

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

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

.btn-secondary {
  background-color: var(--bg-page);
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text-heading);
}

/* Section Bands */
.section-band {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-page);
}

.section-band--subtle {
  background: var(--bg-subtle);
}

.section-band:last-child {
  border-bottom: 0;
}

.band-header {
  margin-bottom: 36px;
}

.band-header--wide {
  max-width: 720px;
}

.band-header h2,
.split-aside h2 {
  margin: 0 0 10px;
  color: var(--text-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.band-subtitle,
.split-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.band-intro {
  margin: 16px 0 0;
  color: var(--text-primary);
  font-size: 16px;
}

/* 4-Column Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Two-Column Split Sections */
.split-block {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.split-body {
  max-width: 68ch;
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.prose ul.service-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.prose ul.service-list li {
  margin-bottom: 8px;
}

/* Core Components Grid */
.components-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.component-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
}

.component-card h3 {
  margin: 0 0 8px;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.component-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.component-card--cta {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Timeline & Founder Card */
.timeline-list {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.timeline-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.timeline-item dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
}

.founder-card {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.founder-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.founder-card h3 {
  margin: 0;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 600;
}

.founder-role {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.founder-summary {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-item {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-subtle);
}

.contact-item--wide {
  grid-column: 1 / -1;
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  margin: 0;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

a.contact-value:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Prose & Single Pages */
.prose p {
  margin: 0 0 16px;
}

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

.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--accent-dark);
}

.prose h1,
.prose h2,
.prose h3 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
}

.prose h1 {
  font-size: 32px;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.prose h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.single-page-band {
  padding: 48px 0 72px;
}

.single-back {
  margin-bottom: 24px;
}

.page-article {
  max-width: 72ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sep {
  color: var(--border-strong);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-band {
    padding: 48px 0;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-band {
    padding: 48px 0;
  }

  .components-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
