:root {
  --bg: #0b1220;
  --bg-lift: #0f172a;
  --panel: #111827;
  --panel-alt: #152033;
  --text: #e8eef8;
  --text-soft: #c5d0e0;
  --muted: #94a3b8;
  --rule: #1e293b;
  --rule-strong: #243044;
  --accent: #2dd4bf;
  --accent-dim: #14b8a6;
  --accent-ink: #042f2e;
  --shell: 68rem;
  --pad: 1.35rem;
  --radius: 8px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.025rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #5eead4;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-weight: 600;
}

.skip:focus {
  left: var(--pad);
  top: var(--pad);
}

.shell {
  width: min(var(--shell), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* Masthead — dark nav, not brick */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: none;
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.95rem 0;
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

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

.nav-contact {
  color: var(--accent) !important;
}

.nav-contact:hover {
  color: #5eead4 !important;
}

/* Hero */
.hero {
  padding: 3.75rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.85fr);
  gap: 2.5rem 2.75rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 18em;
}

.lede {
  margin: 0 0 1rem;
  color: var(--text-soft);
  max-width: 52ch;
}

.lede.muted {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: #5eead4;
  color: var(--accent-ink);
}

.btn-primary:focus-visible {
  outline-color: var(--accent);
}

.link-quiet {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.link-quiet:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Typical engagements — bordered panel, not glass */
.engagements {
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.25rem;
}

.engagements h2 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.engagements ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.engagements li {
  padding: 0.55rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

.engagements li:last-of-type {
  border-bottom: none;
}

.engagements-note {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Bands */
.band {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--rule);
}

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

.band h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 62ch;
}

.band p {
  color: var(--text-soft);
  max-width: 62ch;
}

/* Problems */
.problems {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 52rem;
}

.problems li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.1rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--rule);
}

.problems li:first-child {
  border-top: 1px solid var(--rule);
}

.problems li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Services — 2-col bordered panels */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.service {
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}

.service-span {
  grid-column: 1 / -1;
}

.service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
}

/* Process 01–04 rows */
.process {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.process > li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.35rem 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.process > li:last-child {
  border-bottom: 1px solid var(--rule);
}

.process-num {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.4;
  padding-top: 0.1rem;
}

.process h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.process p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(12rem, 0.7fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.about-grid p {
  margin: 0 0 1rem;
}

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

.facts {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.facts > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

.facts > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.facts > div:first-child {
  padding-top: 0;
}

.facts dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* Contact */
.contact {
  background: var(--bg);
}

.contact-email {
  margin: 0 0 1.15rem !important;
}

.contact-email a {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.aside {
  margin-top: 1.15rem !important;
  color: var(--muted) !important;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .engagements {
    max-width: 28rem;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 1.15rem;
  }

  body {
    font-size: 1rem;
  }

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

  .hero {
    padding: 2.75rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .band {
    padding: 3rem 0;
  }

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

  .service-span {
    grid-column: auto;
  }

  .process > li {
    grid-template-columns: 2.15rem 1fr;
  }

  .facts > div {
    grid-template-columns: 4.75rem 1fr;
  }
}

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