:root {
  --ink: #171717;
  --charcoal: #2c3033;
  --muted: #626a70;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dedbd2;
  --soft: #f1eee7;
  --navy: #1a2e4a;
  --teal: #226a66;
  --shadow: 0 18px 46px rgba(23, 23, 23, 0.08);
  --container: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--teal);
  outline-offset: 0;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 1.4rem;
  font-size: 4.8rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-size: 1rem;
}

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

.section {
  padding: 5.75rem 0;
}

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

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 9999;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav__inner {
  width: min(100% - 2rem, var(--container));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand img {
  width: 134px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink);
  text-decoration: none;
}

.nav__cta {
  color: var(--white) !important;
  background: var(--ink);
  padding: 0.66rem 0.95rem;
  border-radius: 999px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  background: var(--paper);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

.hero::after {
  top: 7rem;
  right: 5vw;
  width: 18rem;
  height: 18rem;
  border: 1px solid var(--line);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.66fr);
  gap: 3rem;
  align-items: start;
}

.eyebrow,
.section-kicker,
.panel-label,
.ai-work-tag {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-kicker,
.panel-label {
  margin-bottom: 0.9rem;
}

.section-kicker--light {
  color: #7bbdb9;
}

.hero__sub {
  max-width: 770px;
  margin-bottom: 1rem;
  color: var(--charcoal);
  font-size: 1.14rem;
}

.hero__sub--secondary {
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.08rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  color: var(--white);
  background: var(--ink);
}

.btn--primary:hover {
  background: var(--navy);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--teal {
  color: var(--white);
  background: var(--teal);
}

.btn--teal:hover {
  background: var(--navy);
  text-decoration: none;
}

.btn--full {
  width: 100%;
}

.hero-panel,
.ai-work-card,
.capability-card,
.practice-card,
.service-card,
.industry-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.35rem;
}

.signal-list {
  display: grid;
  gap: 0.85rem;
}

.signal-item {
  padding: 1rem;
  border-left: 3px solid var(--teal);
  background: var(--paper);
}

.signal-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.signal-item span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.proof-strip {
  padding: 3.7rem 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.proof-strip__inner,
.fit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.proof-strip__inner p,
.section-heading p,
.lead,
.capability-card p,
.service-card p,
.industry-card p,
.founder-copy p,
.contact-layout p,
.footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.section-heading--wide {
  max-width: 940px;
}

.capabilities-section {
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.capability-card {
  min-height: 100%;
  padding: 1.45rem;
}

.capability-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.capability-card--primary {
  border-top: 4px solid var(--teal);
}

.capability-card--accent {
  border-top: 4px solid var(--navy);
}

.ai-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ai-work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.ai-work-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 106, 102, 0.5);
  text-decoration: none;
}

.ai-work-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.ai-work-tag {
  color: var(--teal);
}

.ai-work-arrow {
  color: var(--teal);
  font-size: 1.2rem;
}

.ai-work-repo {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.ai-work-card h3 {
  font-size: 1.45rem;
}

.ai-work-card p {
  color: var(--charcoal);
}

.ai-work-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.ai-work-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.58rem;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.claude-code-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.practice-card {
  padding: 1.2rem;
}

.practice-card:nth-child(5) {
  grid-column: 1 / -1;
}

.service-grid,
.industry-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.industry-card {
  padding: 1.25rem;
}

.service-card--lead {
  background: #fffdf9;
  border-top: 4px solid var(--teal);
}

.fit-section {
  background: var(--ink);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.why-grid article {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.why-grid h3 {
  color: var(--white);
}

.why-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.founder-section {
  background: var(--white);
}

.founder-identity {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.founder-name-block {
  border-left: 5px solid var(--teal);
  padding-left: 1.5rem;
}

.founder-name {
  font-size: 4.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.founder-title {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.founder-stat {
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--line);
}

.founder-stat:last-child {
  border-right: 0;
}

.founder-stat span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.founder-stat strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.founder-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.founder-copy {
  max-width: 760px;
}

.founder-certs {
  padding: 1.25rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.founder-certs .panel-label {
  margin-bottom: 0.55rem;
}

.founder-certs p:last-child {
  color: var(--muted);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.contact-direct {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-paths {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-paths article {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.contact-paths h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.contact-paths p {
  font-size: 0.95rem;
}

.contact-direct a,
.footer a {
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  padding: 1.35rem;
}

.form-row + .form-row {
  margin-top: 1rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.form-note {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--muted);
}

.footer {
  padding: 3rem 0 2rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.65fr;
  gap: 2.5rem;
}

.footer__brand img {
  width: 132px;
  height: auto;
  margin-bottom: 1rem;
}

.footer h3 {
  font-size: 0.95rem;
}

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

.footer li + li {
  margin-top: 0.55rem;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .hero__grid,
  .proof-strip__inner,
  .claude-code-layout,
  .fit-layout,
  .contact-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

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

  .founder-stat:nth-child(2) {
    border-right: 0;
  }

  .founder-stat:nth-child(1),
  .founder-stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .founder-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero {
    padding: 4.5rem 0;
  }

  .hero::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__cta {
    width: 100%;
    text-align: center;
  }

  .hero__actions,
  .ai-work-card__top {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ai-work-grid,
  .capability-grid,
  .practice-grid,
  .service-grid,
  .industry-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .practice-card:nth-child(5) {
    grid-column: auto;
  }

  .founder-name {
    font-size: 2.8rem;
  }

  .founder-identity {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-stats {
    grid-template-columns: 1fr;
  }

  .founder-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .founder-stat:last-child {
    border-bottom: 0;
  }
}
