/* Homepage editorial sections share the existing light palette and containers. */
.home-story-section { padding-block: clamp(2.75rem, 5vw, 4.75rem); background: #f8faff; }
.home-story-section:nth-of-type(even) { background: #eef3fa; }
.home-story-section :is(h2, h3) { color: var(--navy); }
.home-story-copy h2, .home-section-heading h2, .home-final-cta h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.05em;
}
.home-story-section h2 > span:not(.word-token),
.home-story-section h2 > span:not(.word-token) .word-ink {
  background-image: var(--primary-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.home-story-copy > p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; line-height: 1.85; max-width: 590px; }
.home-story-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.home-text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: .5rem; color: var(--purple-dark); font-size: .9rem; font-weight: 750; }
.home-text-link:hover { color: var(--blue, #078ac8); }
.home-text-link:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; border-radius: 3px; }
.home-about-board { padding: clamp(2rem, 4vw, 3.5rem); background: linear-gradient(145deg, #e5effd, #f1eaff); border: 1px solid #d9e2f3; border-radius: 24px; }
.home-board-label { display: block; color: var(--purple-dark); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 2.4rem; }
.home-about-board > strong { display: block; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.25; letter-spacing: -.045em; color: var(--navy); }
.home-about-board > strong > span { color: var(--purple-dark); }
.home-board-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.4rem; }
.home-board-tags > span { padding: 9px 14px; border: 1px solid #cfd9ed; border-radius: 999px; background: #ffffff90; color: var(--navy); font-size: .75rem; font-weight: 650; }
.home-founder-card { display: grid; grid-template-columns: minmax(240px, 395px) minmax(0, 590px); gap: clamp(2rem, 6vw, 5rem); align-items: center; justify-content: center; }
.home-founder-profile { display: flex; flex-direction: column; align-items: center; padding: 1.25rem; border: 1px solid #dbe2ef; border-radius: 22px; background: #fff; text-align: center; }
.home-founder-photo { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; max-height: 420px; object-fit: cover; object-position: center 25%; border-radius: 14px; background: #edf2fa; margin-bottom: 1rem; }
.home-founder-profile > strong { color: var(--navy); font-size: 1.35rem; font-weight: 750; }
.home-founder-profile > span { margin-top: .5rem; color: var(--muted); font-size: .83rem; }
.home-founder-profile > .home-founder-brand { margin-top: 1.5rem; padding-top: 1rem; width: 100%; border-top: 1px solid #e4e9f3; color: var(--purple-dark); font-weight: 750; }
.home-section-heading { max-width: 740px; margin-bottom: 2rem; }
.home-section-heading > p { max-width: 630px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.home-principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-principle-card { padding: 1.8rem; border: 1px solid #dde4f1; border-radius: 18px; background: #fff; }
.home-card-number { display: inline-block; color: var(--purple-dark); font-size: .75rem; font-weight: 800; margin-bottom: 2rem; }
.home-principle-card h3 { font-size: 1.2rem; line-height: 1.4; letter-spacing: -.03em; margin-bottom: .75rem; }
.home-principle-card p { color: var(--muted); font-size: .92rem; line-height: 1.75; margin: 0; }
.home-results { background: #eef3fa; }
.home-results .stats-row { margin-top: 0; }
.home-results-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .85rem; }
.home-framework-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.home-framework-steps li { border-top: 2px solid #d3ddf0; padding-top: 1.5rem; }
.home-step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e9e9ff; color: var(--purple-dark); font-size: .8rem; font-weight: 800; margin-bottom: 1.25rem; }
.home-framework-steps h3 { font-size: 1.3rem; letter-spacing: -.04em; margin-bottom: .7rem; }
.home-framework-steps p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin: 0; }
.home-connection-stack { display: grid; gap: 14px; }
.home-connection-stack article { padding: 1.5rem 1.7rem; border: 1px solid #dae2ef; border-radius: 16px; background: #fff; }
.home-connection-stack article > span { font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--purple-dark); }
.home-connection-stack h3 { font-size: 1.1rem; line-height: 1.4; margin: .7rem 0 .5rem; letter-spacing: -.025em; }
.home-connection-stack p { font-size: .87rem; line-height: 1.65; color: var(--muted); margin: 0; }
.home-ai-visual { position: relative; overflow: hidden; min-height: 490px; border-radius: 24px; border: 1px solid #dce4ef; background: #fff; }
.home-ai-visual img { display: block; width: 100%; height: 490px; object-fit: cover; object-position: center 58%; }
.home-ai-visual > span { position: absolute; inset: auto 22px 22px; padding: 20px; background: #ffffffeb; border: 1px solid #e3e8f2; border-radius: 14px; color: var(--navy); font-size: 1.2rem; line-height: 1.35; font-weight: 750; letter-spacing: -.03em; }
.home-ai-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.home-ai-list li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid #c8c2f3; }
.home-ai-list strong { font-size: .88rem; color: var(--navy); }
.home-ai-list li > span { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.home-final-cta { background: #f8faff; }
.home-final-cta-card { padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(120deg, #e9f2ff, #f0eaff); border: 1px solid #d9dff3; border-radius: 24px; text-align: center; }
.home-final-cta-card > p { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }
.home-final-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.home-final-actions .home-text-link { margin: 0; }
.home-final-actions .btn { display: inline-flex; align-items: center; gap: 16px; }
:where(.home-story-section, #services, #results, #faq, #audit, #case-study) { scroll-margin-top: 90px; }
@media (max-width: 991.98px) {
  .home-story-split { gap: 2rem; }
  .home-founder-card { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 2rem; }
  .home-principle-grid { gap: 16px; }
  .home-principle-card { padding: 1.4rem; }
  .home-framework-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .home-story-split, .home-founder-card { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .home-principle-grid { grid-template-columns: minmax(0, 1fr); }
  .home-ai-visual { min-height: 360px; }
  .home-ai-visual img { height: 360px; }
  .home-founder-profile { padding: 1rem; }
  .home-founder-card .home-story-copy { order: -1; }
  .home-ai .home-story-copy { order: -1; }
  .home-story-copy > p { font-size: .94rem; }
  .home-section-heading > p { font-size: .94rem; }
  .home-principle-card h3 { font-size: 1.15rem; }
  .home-final-actions { flex-direction: column; gap: 1.2rem; }
  .home-final-actions .btn { width: 100%; justify-content: center; font-size: .85rem; }
}
@media (max-width: 374.98px) {
  .home-framework-steps { grid-template-columns: minmax(0, 1fr); }
}
