/* Container width and reading rhythm */
[data-md-component="content"] .md-content__inner {
  max-width: 840px;
  margin: 0 auto;
  padding-top: 1.5rem;
}

/* Subtle terrain line header */
.header-coordinate {
  font-family: var(--md-code-font-family);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--md-default-fg-color--light);
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Hero Section */
.hero-block {
  margin-bottom: 2.75rem;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--md-default-fg-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--md-default-fg-color--light);
  margin-bottom: 1.75rem;
}

/* CTA Action Row */
.cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-consult {
  background-color: #b33922; /* Warm laterite ochre */
  color: #ffffff !important;
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  font-family: var(--md-code-font-family);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
}

.btn-consult:hover {
  background-color: #942d19;
}

.link-work {
  font-family: var(--md-code-font-family);
  font-size: 0.85rem;
  color: var(--md-default-fg-color) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* What I Do - Clean List Structure (No generic cards) */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin: 1.75rem 0 2.5rem 0;
}

.service-item h4 {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.service-item p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.service-tools {
  font-family: var(--md-code-font-family);
  font-size: 0.75rem;
  color: var(--md-default-fg-color--light);
}

/* Case Study Ledger Layout */
.study-ledger {
  border-left: 2px solid #b33922;
  padding-left: 1.5rem;
  margin: 1.5rem 0 2.5rem 0;
}

.study-meta {
  font-family: var(--md-code-font-family);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--md-default-fg-color--light);
  margin-bottom: 0.35rem;
}

.metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: var(--md-code-bg-color);
  padding: 0.75rem 1rem;
  border-radius: 3px;
  margin: 0.85rem 0;
  font-family: var(--md-code-font-family);
  font-size: 0.82rem;
}

.metric-unit strong {
  color: var(--md-default-fg-color);
}

.btn-link {
  font-family: var(--md-code-font-family);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}