:root {
  color-scheme: dark;
  --ink: #101312;
  --ink-2: #171b19;
  --paper: #f6f2e8;
  --paper-soft: #e9e0cf;
  --line: rgba(246, 242, 232, 0.16);
  --line-strong: rgba(246, 242, 232, 0.28);
  --muted: rgba(246, 242, 232, 0.68);
  --green: #436a54;
  --green-dark: #233d32;
  --brass: #c69b4d;
  --oxide: #a75f45;
  --blue: #506a82;
  --shadow: rgba(0, 0, 0, 0.32);
  --max: 1180px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(180deg, #101312 0%, #171b19 48%, #f6f2e8 48%, #f6f2e8 100%);
  min-width: 320px;
}

body.article-body {
  color: var(--ink);
  background: var(--paper);
}

body.book-body {
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(16, 19, 18, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(16, 19, 18, 0.9);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(198, 155, 77, 0.75);
  color: var(--brass);
  background: rgba(16, 19, 18, 0.8);
  border-radius: 8px;
}

.brand-text {
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: rgba(246, 242, 232, 0.08);
  outline: none;
}

.site-nav a.active {
  color: var(--paper);
  background: rgba(198, 155, 77, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.06);
  color: var(--paper);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  content: "";
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  padding: 150px 32px 38px;
  overflow: hidden;
  background: #101312;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 18, 0.92) 0%, rgba(16, 19, 18, 0.72) 42%, rgba(16, 19, 18, 0.26) 100%),
    linear-gradient(0deg, rgba(16, 19, 18, 0.96) 0%, rgba(16, 19, 18, 0) 42%),
    rgba(16, 19, 18, 0.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 86px;
}

.eyebrow,
.panel-kicker,
.result-kicker,
.product-type {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.35rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 2.65rem;
  line-height: 1.08;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(246, 242, 232, 0.82);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #101312;
  background: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff8ea;
}

.button-ghost,
.button-secondary {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(246, 242, 232, 0.08);
}

.button-ghost:hover,
.button-secondary:hover,
.button-ghost:focus-visible,
.button-secondary:focus-visible {
  border-color: rgba(198, 155, 77, 0.72);
  background: rgba(198, 155, 77, 0.12);
}

.button-icon {
  font-size: 1.1rem;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 18, 0.82);
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel > div,
.hero-panel > a {
  min-height: 128px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.hero-panel > div:last-child,
.hero-panel > a:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.45;
}

.latest-article-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px 16px;
  align-content: center;
  color: var(--paper);
  transition: background 160ms ease, transform 160ms ease;
}

.latest-article-card:hover,
.latest-article-card:focus-visible {
  background: rgba(246, 242, 232, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.latest-article-card img,
.latest-article-placeholder {
  grid-row: span 2;
  width: 86px;
  height: 86px;
  border-radius: 8px;
}

.latest-article-card img {
  object-fit: cover;
}

.latest-article-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 155, 77, 0.38);
  color: var(--brass);
  background:
    linear-gradient(135deg, rgba(67, 106, 84, 0.24), rgba(80, 106, 130, 0.14)),
    rgba(246, 242, 232, 0.06);
  font-weight: 900;
}

.latest-article-card .panel-kicker {
  margin-bottom: 0;
}

.latest-article-card-muted strong {
  color: rgba(246, 242, 232, 0.78);
}

.section {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  margin-top: 10px;
}

.intro {
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 38px;
  align-items: start;
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro-copy {
  color: rgba(16, 19, 18, 0.76);
  font-size: 1.06rem;
}

.profile-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(35, 61, 50, 0.08), rgba(198, 155, 77, 0.12)),
    #fffaf0;
  box-shadow: 0 22px 70px rgba(16, 19, 18, 0.08);
}

.profile-photo {
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  aspect-ratio: 173 / 244;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.04);
}

.profile-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 8px 6px;
}

.profile-meta span {
  color: var(--green-dark);
  font-weight: 800;
}

.profile-meta strong {
  margin-bottom: 4px;
  font-size: 1.44rem;
  line-height: 1.35;
}

.profile-meta p {
  margin-bottom: 0;
  color: rgba(16, 19, 18, 0.62);
  font-size: 1rem;
  line-height: 1.68;
}

.proof-grid {
  color: var(--paper);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid .section-heading {
  grid-column: 1 / -1;
}

.proof-card,
.product-card {
  min-height: 276px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.055);
}

.proof-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(67, 106, 84, 0.3), rgba(167, 95, 69, 0.12)),
    rgba(246, 242, 232, 0.055);
}

.proof-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 40px;
  border: 1px solid rgba(198, 155, 77, 0.45);
  border-radius: 8px;
  color: var(--brass);
}

.proof-card p,
.product-card p {
  color: var(--muted);
}

.start-section,
.diagnostic-section,
.consulting-section,
.products-section,
.book-section,
.company-section,
.contact-section {
  color: var(--ink);
}

.selector {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid rgba(16, 19, 18, 0.14);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 26px 90px rgba(16, 19, 18, 0.08);
}

.selector-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid rgba(16, 19, 18, 0.12);
  background: rgba(67, 106, 84, 0.08);
}

.selector-tab {
  min-height: 54px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.selector-tab.active,
.selector-tab:hover,
.selector-tab:focus-visible {
  border-color: var(--green);
  background: var(--green-dark);
  color: var(--paper);
  outline: none;
}

.selector-result {
  min-height: 310px;
  display: grid;
  align-content: center;
  padding: 46px;
}

.selector-result h3,
.diagnostic-result h3 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1.15;
}

.selector-result p,
.diagnostic-result p,
.consulting-copy,
.book-copy p,
.company-copy p {
  color: rgba(16, 19, 18, 0.72);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  color: var(--green-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(35, 61, 50, 0.35);
}

.text-link:hover,
.text-link:focus-visible {
  color: #15281f;
  border-color: currentColor;
  outline: none;
}

.article-teaser {
  display: grid;
  grid-template-columns: 130px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: -18px 0 28px;
  padding: 22px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 61, 50, 0.08), rgba(80, 106, 130, 0.1)),
    #fffaf0;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease;
}

.article-teaser:hover,
.article-teaser:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(35, 61, 50, 0.34);
  outline: none;
}

.article-teaser-label {
  width: fit-content;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-teaser strong {
  font-size: 1.16rem;
  line-height: 1.35;
}

.article-teaser span:last-child {
  color: rgba(16, 19, 18, 0.66);
  line-height: 1.55;
}

.diagnostic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.diagnostic-list {
  display: grid;
  gap: 10px;
}

.check-item {
  min-height: 66px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
  color: rgba(16, 19, 18, 0.78);
  cursor: pointer;
}

.check-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.diagnostic-result {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 28px;
  border: 1px solid rgba(16, 19, 18, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(198, 155, 77, 0.12), rgba(80, 106, 130, 0.1)),
    #fffaf0;
}

.progress-track {
  height: 10px;
  margin: 24px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 19, 18, 0.12);
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--oxide), var(--brass), var(--green));
  transition: width 180ms ease;
}

.consulting-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
}

.consulting-copy {
  font-size: 1.06rem;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  min-height: 128px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--brass);
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: rgba(16, 19, 18, 0.68);
}

.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--ink);
  color: var(--paper);
}

.product-card:nth-child(2) {
  background: #1f2522;
}

.product-card:nth-child(3) {
  background: #22252a;
}

.product-card h3 {
  margin-bottom: 18px;
  font-size: 1.55rem;
}

.product-card .text-link {
  color: var(--paper);
  border-color: rgba(246, 242, 232, 0.42);
}

.book-section {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 68px;
  align-items: center;
}

.book-cover-link {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(35, 61, 50, 0.1), rgba(198, 155, 77, 0.12)),
    #fffaf0;
  box-shadow: 24px 32px 80px rgba(16, 19, 18, 0.18);
  transition: transform 160ms ease, border-color 160ms ease;
}

.book-cover-link:hover,
.book-cover-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 61, 50, 0.35);
  outline: none;
}

.book-cover-link img {
  width: 100%;
  border-radius: 6px;
}

.book-visual {
  min-height: 460px;
  display: grid;
  align-content: end;
  padding: 32px;
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(150deg, rgba(35, 61, 50, 0.92), rgba(16, 19, 18, 0.96)),
    var(--green-dark);
  box-shadow: 24px 32px 80px rgba(16, 19, 18, 0.22);
}

.book-visual span {
  margin-bottom: 90px;
  color: var(--brass);
  font-weight: 800;
}

.book-visual strong {
  font-size: 2.15rem;
  line-height: 1.08;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.book-copy .button-secondary {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.button-download {
  color: var(--ink);
  border-color: rgba(16, 19, 18, 0.2);
  background: #fffaf0;
}

.button-download:hover,
.button-download:focus-visible {
  border-color: rgba(35, 61, 50, 0.38);
  background: #fffdf7;
}

.book-detail-hero {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 64px));
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin: 0 auto;
  padding: 148px 0 70px;
  color: var(--paper);
}

.book-detail-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  background:
    linear-gradient(135deg, rgba(167, 95, 69, 0.28), rgba(35, 61, 50, 0.1)),
    var(--ink);
}

.book-detail-cover {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.07);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.book-detail-cover img {
  width: 100%;
  border-radius: 6px;
}

.book-detail-copy h1 {
  margin-bottom: 8px;
  font-size: 4.6rem;
}

.book-subtitle {
  margin-bottom: 26px;
  color: var(--brass);
  font-size: 1.5rem;
  font-weight: 800;
}

.book-detail-lead {
  max-width: 760px;
  color: rgba(246, 242, 232, 0.76);
  font-size: 1.12rem;
}

.book-reader-shell {
  width: min(var(--max), calc(100% - 64px));
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 0 auto;
  padding: 78px 0 96px;
}

.book-reader-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.book-reader-panel h2 {
  font-size: 1.75rem;
}

.book-reader-panel p {
  margin-bottom: 0;
  color: rgba(16, 19, 18, 0.66);
}

.reader-select-label {
  color: var(--green-dark);
  font-weight: 800;
}

.book-reader-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(16, 19, 18, 0.16);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.reader-progress {
  color: rgba(16, 19, 18, 0.62);
  font-size: 0.94rem;
}

.book-page-surface {
  min-height: 680px;
  padding: 46px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 24px 80px rgba(16, 19, 18, 0.08);
}

.book-page-header {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(16, 19, 18, 0.12);
}

.book-page-header h2 {
  font-size: 2.25rem;
}

.book-page-content {
  color: rgba(16, 19, 18, 0.78);
}

.book-page-content p {
  font-size: 1.06rem;
}

.book-page-content h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 1.45rem;
}

.book-toc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 18px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(16, 19, 18, 0.08);
}

.book-toc-row span:last-child {
  text-align: right;
  color: rgba(16, 19, 18, 0.48);
}

.book-reader-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 19, 18, 0.12);
}

.reader-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(16, 19, 18, 0.16);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.reader-button-primary {
  background: var(--ink);
  color: var(--paper);
}

.reader-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: start;
}

.company-points {
  display: grid;
  gap: 12px;
}

.company-points div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  background: #fffaf0;
}

.company-points strong {
  font-size: 1.05rem;
}

.company-points span {
  color: rgba(16, 19, 18, 0.68);
}

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

.contact-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 61, 50, 0.38);
  outline: none;
}

.contact-card span {
  color: var(--green);
  font-weight: 800;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.contact-card small {
  color: rgba(16, 19, 18, 0.62);
  line-height: 1.55;
}

.contact-lines {
  display: grid;
  gap: 8px;
}

.contact-lines a {
  width: fit-content;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(35, 61, 50, 0.28);
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  color: var(--green-dark);
  border-color: currentColor;
  outline: none;
}

.contact-card.muted {
  opacity: 0.72;
  cursor: not-allowed;
}

.site-footer {
  width: min(var(--max), calc(100% - 64px));
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  color: rgba(16, 19, 18, 0.62);
  border-top: 1px solid rgba(16, 19, 18, 0.12);
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
}

.article-body main {
  background: var(--paper);
}

.article-shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.article-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  gap: 50px;
  align-items: center;
  padding: 148px 0 64px;
  color: var(--paper);
}

.article-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  background: var(--ink);
}

.article-hero h1 {
  margin-bottom: 24px;
  font-size: 4rem;
  line-height: 1;
}

.article-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(246, 242, 232, 0.78);
  font-size: 1.12rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(246, 242, 232, 0.76);
  background: rgba(246, 242, 232, 0.06);
  font-size: 0.9rem;
}

.article-visual {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.06);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.article-visual img {
  width: 100%;
  border-radius: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0 90px;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 12px;
}

.aside-card {
  padding: 20px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.aside-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-weight: 800;
}

.aside-card p {
  margin-bottom: 0;
  color: rgba(16, 19, 18, 0.66);
  font-size: 0.95rem;
}

.article-content {
  max-width: 820px;
}

.article-content > p {
  color: rgba(16, 19, 18, 0.75);
  font-size: 1.08rem;
}

.article-content h2 {
  margin: 46px 0 18px;
  font-size: 2rem;
}

.article-content blockquote {
  margin: 36px 0;
  padding: 28px;
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(198, 155, 77, 0.13), rgba(35, 61, 50, 0.08)),
    #fffaf0;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 750;
  line-height: 1.48;
}

.article-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.article-highlight-grid div {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.article-highlight-grid strong {
  color: var(--green-dark);
  line-height: 1.35;
}

.article-highlight-grid span {
  color: rgba(16, 19, 18, 0.64);
  line-height: 1.55;
}

.article-cta {
  margin-top: 58px;
  padding: 34px;
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(67, 106, 84, 0.32), rgba(80, 106, 130, 0.18)),
    var(--ink);
}

.article-cta h2 {
  margin: 0 0 14px;
  color: var(--paper);
}

.article-cta p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.72);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-panel,
  .proof-grid,
  .diagnostic,
  .consulting-layout,
  .book-section,
  .company-section,
  .book-detail-hero,
  .book-reader-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel > div,
  .hero-panel > a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel > div:last-child,
  .hero-panel > a:last-child {
    border-bottom: 0;
  }

  .proof-card.featured {
    grid-column: span 1;
  }

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

  .intro .section-heading {
    grid-column: auto;
  }

  .profile-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .diagnostic-result {
    position: static;
  }

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

  .article-hero h1 {
    font-size: 3.2rem;
  }

  .book-detail-cover {
    width: min(360px, 100%);
  }

  .book-reader-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 19, 18, 0.96);
    box-shadow: 0 20px 60px var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
  }

  .hero {
    min-height: 700px;
    padding: 118px 18px 28px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 18, 0.96) 0%, rgba(16, 19, 18, 0.78) 100%),
      linear-gradient(0deg, rgba(16, 19, 18, 0.98) 0%, rgba(16, 19, 18, 0.18) 100%);
  }

  .hero-content {
    padding-bottom: 38px;
  }

  h1 {
    font-size: 2.65rem;
    line-height: 1.03;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-panel,
  .section,
  .site-footer,
  .book-detail-hero,
  .book-reader-shell {
    width: min(100% - 36px, var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .section-heading,
  .intro,
  .selector,
  .article-teaser,
  .article-hero,
  .article-layout,
  .article-highlight-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: min(260px, 100%);
  }

  .article-shell {
    width: min(100% - 36px, var(--max));
  }

  .article-hero {
    padding: 118px 0 44px;
  }

  .article-hero h1 {
    font-size: 2.48rem;
    line-height: 1.04;
  }

  .article-lead {
    font-size: 1.02rem;
  }

  .article-layout {
    padding: 54px 0 72px;
  }

  .article-aside {
    position: static;
  }

  .article-content h2 {
    font-size: 1.62rem;
  }

  .article-content blockquote {
    padding: 22px;
    font-size: 1.12rem;
  }

  .article-cta {
    padding: 24px;
  }

  .book-detail-hero {
    padding: 118px 0 48px;
  }

  .book-detail-copy h1 {
    font-size: 3rem;
  }

  .book-subtitle {
    font-size: 1.18rem;
  }

  .book-reader-shell {
    padding: 54px 0 76px;
  }

  .book-page-surface {
    min-height: 0;
    padding: 26px;
  }

  .book-page-header h2 {
    font-size: 1.72rem;
  }

  .book-reader-controls {
    flex-direction: column;
  }

  .selector-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(16, 19, 18, 0.12);
  }

  .selector-tab {
    text-align: center;
  }

  .selector-result {
    padding: 28px;
  }

  .selector-result h3,
  .diagnostic-result h3 {
    font-size: 1.48rem;
  }

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

  .book-visual {
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .brand-text {
    display: none;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .selector-tabs {
    grid-template-columns: 1fr;
  }

  .latest-article-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .latest-article-card img,
  .latest-article-placeholder {
    width: 72px;
    height: 72px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .reader-button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
