/* How We Work local revision. Uses the published page's fonts and palette. */
body[data-page="how-we-work"] { scrollbar-color: var(--brass) var(--dark); }
body[data-page="how-we-work"] ::selection { background: var(--brass); color: var(--dark); }
body[data-page="how-we-work"] :focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
body[data-page="how-we-work"] .light :focus-visible { outline-color: var(--dark); }
body[data-page="how-we-work"] a { text-underline-offset: .22em; }
.hw-hero { padding: 72px 0 64px; }
.hw-hero .hw-intro { max-width: 50ch; font-size: 20px; margin-bottom: 30px; }
.hw-hero h1 { max-width: 900px; line-height: 1.1; }
.hw-capabilities, .hw-partnership { --capability-outset: 64px; --operator-inset: 72px; --operator-gap: 20px; }
.hw-capabilities { padding: 64px 0 var(--capability-outset); border-top: 1px solid var(--rule); }
.capabilities-intro { max-width: none; }
.capabilities-intro h2 { margin: 0; }
.capabilities-intro > p { max-width: 40ch; }
.capability { column-gap: 64px; padding-block: 24px; }
.capability-heading h3 { max-width: 23ch; }
.capability summary { font-size: 14px; }
.hw-capabilities .capability:last-child::before { height: auto; bottom: 0; }
.proof-highlights { padding-block: 64px; background: var(--dark); color: var(--salt); border-bottom: 1px solid var(--rule); }
.proof-highlights .proof-intro,
.proof-highlights .proof-columns,
.proof-highlights .proof-problem,
.proof-highlights .proof-transformation,
.proof-highlights .proof-disclaimer { color: var(--secondary); }
.proof-highlights .proof-number,
.proof-highlights .proof-arrow { color: var(--brass); }
.proof-highlights .proof-reel li,
.proof-highlights .proof-disclaimer { border-color: var(--rule); }
.hw-method { padding: 72px 0; }
.method-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 72px; }
.method-intro h2, .hw-partnership h2 { font-size: clamp(44px, 5.1vw, 64px); line-height: 1.05; margin: 0; }
.method-intro > p { max-width: 38ch; margin: 0; font-size: 18px; line-height: 1.6; color: var(--secondary); }
.method-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 48px 0 0; }
.method-path li { position: relative; border-top: 1px solid var(--rule); padding: 28px 36px 0 0; }
.method-path li:last-child { padding-right: 0; }
.method-path li::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border: 1px solid var(--brass); background: var(--dark); border-radius: 50%; z-index: 1; }
.method-path li:last-child::before { background: var(--brass); }
.method-path.is-active li:not(:last-child)::after { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--brass); animation: how-connect 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.method-path.is-active li:nth-child(2)::after { animation-delay: .2s; }
.method-path h3 { font-size: 32px; line-height: 1.1; margin-bottom: 16px; }
.method-path p { max-width: 32ch; font-size: 16px; line-height: 1.6; color: var(--secondary); margin: 0; }
.hw-partnership { padding: var(--operator-inset) 0 72px; }
.partnership-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
/* Continue the shared capability spine across the surface change into its owner. */
.hw-operator-bridge { position: absolute; left: 0; top: calc(0px - var(--capability-outset) - var(--operator-inset)); width: 17px; height: calc(var(--capability-outset) + var(--operator-inset) - var(--operator-gap)); color: color-mix(in srgb, var(--brass) 76%, var(--dark)); pointer-events: none; }
.hw-operator-bridge::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 2px; width: 1px; background: currentColor; }
.hw-operator-bridge svg { position: absolute; left: 0; bottom: 0; width: 17px; height: 10px; }
.partnership-grid > div > p { max-width: 39ch; font-size: 18px; line-height: 1.6; margin: 24px 0 20px; color: var(--rule); }
.partnership-grid .text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--dark); min-height: 44px; }
.partnership-grid .text-link:hover { text-decoration: underline; }
.partnership-roles { margin: 0; }
.partnership-roles > div { padding: 20px 0; border-top: 1px solid var(--light-rule); }
.partnership-roles > div:last-child { padding-bottom: 0; }
.partnership-roles dt { font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.partnership-roles dd { margin: 0; max-width: 48ch; color: var(--rule); font-size: 17px; line-height: 1.6; }
.partnership-roles dd + dd { margin-top: 12px; }
.hw-questions { padding: 64px 0; }
.hw-questions h2 { font-size: clamp(44px, 5.1vw, 64px); line-height: 1.05; margin-bottom: 32px; }
.hw-questions .faq-list { max-width: none; }
.hw-questions .text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; }
.hw-questions .answer p { max-width: 70ch; }
.hw-closing { border-top: 1px solid var(--rule); padding: 64px 0 72px; }
.hw-closing .button { margin-top: 28px; }
#capabilities, #growth-to-ownership, #engagement, #uncomfortable-truth { scroll-margin-top: 104px; }
@keyframes how-connect { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes how-connect-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) {
  .capabilities-intro, .method-intro { gap: 40px; }
  .partnership-grid { gap: 48px; }
  .method-path li { padding-right: 24px; }
  .method-path h3 { font-size: 30px; }
}
@media (max-width: 760px) {
  body[data-page="how-we-work"] .site-header { position: sticky; top: 0; background: var(--dark); border-bottom: 1px solid var(--rule); }
  .hw-hero { padding: 40px 0; }
  .hw-hero h1 { margin-bottom: 22px; }
  .hw-hero .hw-intro { font-size: 17px; margin-bottom: 24px; max-width: 29ch; }
  .hw-capabilities, .hw-method, .hw-partnership, .hw-questions { padding-block: 44px; }
  .hw-capabilities, .hw-partnership { --capability-outset: 44px; --operator-inset: 44px; --operator-gap: 16px; }
  .capabilities-intro, .method-intro, .partnership-grid { grid-template-columns: 1fr; gap: 20px; }
  .capabilities-intro { margin-bottom: 28px; }
  .capabilities-intro h2, .method-intro h2, .hw-partnership h2, .hw-questions h2 { font-size: 44px; }
  .capabilities-intro > p, .method-intro > p { font-size: 16px; }
  .capability { padding-block: 22px; gap: 12px; }
  .capability-heading h3 { font-size: 30px; }
  .proof-highlights { padding-block: 44px; }
  .method-path { grid-template-columns: 1fr; margin-top: 32px; }
  .method-path li, .method-path li:last-child { border-top: 0; padding: 0 0 28px 28px; }
  .method-path li:not(:last-child) { border-left: 1px solid var(--rule); }
  .method-path li:last-child { padding-bottom: 0; }
  .method-path li::before { left: -5px; top: 5px; }
  .method-path.is-active li:not(:last-child)::after { top: 5px; left: -1px; width: 1px; height: 100%; animation-name: how-connect-down; }
  .method-path h3 { margin-bottom: 10px; }
  .method-path p { max-width: 38ch; }
  .partnership-grid { gap: 24px; }
  .partnership-grid > div > p { font-size: 16px; margin: 20px 0 10px; }
  .partnership-roles > div { padding-block: 18px; }
  .partnership-roles dt { font-size: 30px; margin-bottom: 10px; }
  .partnership-roles dd { font-size: 16px; }
  .hw-questions h2 { margin-bottom: 26px; }
  .hw-closing { padding: 44px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .method-path.is-active li:not(:last-child)::after { animation: none; }
}
