/* Founder-specific hierarchy and open editorial reading surfaces. */
@layer founder-page-refinement;
@layer founder-page-refinement {
 body[data-founder-refinement] { --founder-rule: #dce2e9; }
 body[data-founder-refinement] :is(.site-header .brand img,.site-footer .footer-logo) { content: normal !important; }
 body[data-founder-refinement] .hero-content h1 .hero-highlight { font-size: 1em !important; line-height: 1.4 !important; }
 body[data-founder-refinement] .hero-content > .eyebrow::before { content: none !important; }
 body[data-founder-refinement] .founder-direct-contact { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px 22px !important; margin: 18px 0 0 !important; font: 500 13px/1.8 'Montserrat',sans-serif !important; }
 body[data-founder-refinement] .founder-direct-contact :is(a,span) { color: #fff !important; }
 body[data-founder-refinement] .founder-direct-contact a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
 body[data-founder-refinement] main > section { padding-block: clamp(32px,4.3vw,66px) !important; margin-block: 0 !important; scroll-margin-top: 100px; }
 body[data-founder-refinement] main .section-heading { max-width: none !important; margin: 0 0 24px !important; text-align: left !important; }
 body[data-founder-refinement] main .section-heading h2 { max-width: none !important; margin: 0 0 14px !important; }
 body[data-founder-refinement] main .section-heading p { margin: 0 !important; max-width: 80ch !important; }
 body[data-founder-refinement] main .section-heading::after,body[data-founder-refinement] main .section-heading h2::after { content: none !important; }
 body[data-founder-refinement] main :is(p,li) { font-size: 16px !important; line-height: 1.8 !important; }
 body[data-founder-refinement] main :is(p,h3) { height: auto !important; min-height: 0 !important; max-height: none !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
 body[data-founder-refinement] main h3 { font: 400 clamp(19px,1.5vw,24px)/1.5 'Prata',Georgia,serif !important; color: var(--lifa-color-primary) !important; }
 body[data-founder-refinement] .founder-story-grid { gap: 42px !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
 body[data-founder-refinement] .founder-story-copy p { margin-bottom: 16px !important; }
 body[data-founder-refinement] .founder-story-copy h2 { max-width: none !important; }
 /* The client meeting fills its column; preserve the complete landscape on phones. */
 body[data-founder-refinement] .founder-portrait-link { width: 100%; align-self: center; }
 body[data-founder-refinement] .founder-portrait-card { width: 100% !important; max-width: none !important; }
 body[data-founder-refinement] .founder-portrait-frame img { width: 100% !important; max-width: none !important; height: auto !important; object-fit: contain !important; }
 body[data-founder-refinement] main :is(.founder-portrait-card,.founder-portrait-frame,.founder-portrait-frame img,.founder-ledger-image,.founder-ledger-image img,.founder-operation figure,.founder-operation img) { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; clip-path: none !important; }
 body[data-founder-refinement] .founder-portrait-card figcaption { padding: 16px 0 0 !important; background: none !important; }
 body[data-founder-refinement] .founder-portrait-card figcaption > span { display: none !important; }
 body[data-founder-refinement] .founder-story-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 20px; }
 body[data-founder-refinement] .founder-story-links a,body[data-founder-refinement] .founder-text-contact { display: inline-flex; align-items: center; min-height: 44px; color: var(--lifa-color-primary); font: 600 14px/1.7 'Montserrat',sans-serif; text-decoration: underline; text-underline-offset: 5px; }
 body[data-founder-refinement] .founder-project-proof { grid-column: 1 / -1; margin-top: 0; padding: 22px 0 0; border-top: 2px solid var(--lifa-color-support); }
 body[data-founder-refinement] .founder-project-proof p { max-width: 95ch; }
 body[data-founder-refinement] .founder-project-proof h3 { margin: 8px 0 12px; }
 body[data-founder-refinement] .founder-project-proof a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font: 600 14px/1.7 Montserrat,sans-serif; text-decoration: underline; text-underline-offset: 5px; }
 body[data-founder-refinement] main img[style*='--content-source-ratio'] { aspect-ratio: auto var(--content-source-ratio) !important; }
 body[data-founder-refinement] .founder-contact-card { top: auto !important; }
 body[data-founder-refinement] .founder-contact-card::after { content: none !important; }
 body[data-founder-refinement] .founder-contact-card h3 { margin-bottom: 16px !important; }
 body[data-founder-refinement] .founder-contact-card .btn { width: 100%; white-space: normal; text-align: center; }
 body[data-founder-refinement] .founder-contact-links a { padding-block: 12px !important; min-height: 44px !important; }
 body[data-founder-refinement] .founder-contact-card small { display: block; font: 400 13px/1.7 'Open Sans',sans-serif; margin-top: 18px; }
 body[data-founder-refinement] .founder-project-paths { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--lifa-color-support); }
 body[data-founder-refinement] .founder-project-paths h4 { margin: 0 0 10px; font: 600 16px/1.6 'Montserrat',sans-serif; color: var(--lifa-color-primary); }
 body[data-founder-refinement] .founder-project-paths p { margin: 0 0 12px; }
 body[data-founder-refinement] .founder-project-paths a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; color: var(--lifa-color-primary); font: 600 14px/1.7 'Montserrat',sans-serif; text-decoration: underline; text-underline-offset: 5px; }
 body[data-founder-refinement] .founder-ledger-intro { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 0 36px !important; }
 body[data-founder-refinement] .founder-ledger-intro > figure { grid-row: 1 !important; }
 body[data-founder-refinement] .founder-ledger-summary h2 { max-width: none !important; margin-block: 14px 18px !important; }
 body[data-founder-refinement] .founder-ledger-summary p { margin: 0 !important; }
 body[data-founder-refinement] .founder-ledger-image { margin: 0 !important; }
 body[data-founder-refinement] .founder-ledger-image img { width: 100% !important; height: auto !important; object-fit: contain !important; }
 body[data-founder-refinement] .founder-operation { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 36px !important; }
 body[data-founder-refinement] .founder-operation:nth-child(2) figure { grid-column: 2 !important; grid-row: 1 !important; }
 body[data-founder-refinement] .founder-operation:nth-child(2) > div { grid-column: 1 !important; grid-row: 1 !important; }
 body[data-founder-refinement] .founder-operation-label { color: var(--lifa-color-support) !important; font: 600 13px/1.7 'Montserrat',sans-serif !important; }
 body[data-founder-refinement] .founder-accountability-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; border: 0 !important; }
 body[data-founder-refinement] .founder-accountability-grid .founder-role { color: var(--lifa-color-support) !important; }
 body[data-founder-refinement] .founder-accountability-grid li { margin-bottom: 10px !important; }
 body[data-founder-refinement] [data-editorial-role='decisions'] { background: var(--lifa-color-reading-surface) !important; }
 body[data-founder-refinement] .founder-resource { display: block !important; height: auto !important; min-height: 0 !important; padding: 18px 0 !important; background: none !important; border: 0 !important; border-top: 1px solid var(--founder-rule) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; color: var(--lifa-color-primary) !important; text-decoration: none !important; }
 body[data-founder-refinement] .founder-resource::before,body[data-founder-refinement] .founder-resource::after { content: none !important; }
 body[data-founder-refinement] .founder-resource h3 { margin: 0 0 10px !important; }
 body[data-founder-refinement] .founder-resource p { margin: 0 0 8px !important; }
 body[data-founder-refinement] .founder-resource .card-link { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 !important; margin: 0 !important; color: var(--lifa-color-primary) !important; font: 600 13px/1.7 'Montserrat',sans-serif !important; text-decoration: underline; text-underline-offset: 4px; text-transform: none !important; }
 body[data-founder-refinement] .founder-service-grid { display: block !important; }
 body[data-founder-refinement] .founder-service-grid .founder-resource { display: grid !important; grid-template-columns: minmax(0,.7fr) minmax(0,1.4fr) minmax(110px,.45fr) !important; gap: 26px !important; align-items: start; }
 body[data-founder-refinement] [data-editorial-role='directory'] { padding-block: 24px !important; }
 body[data-founder-refinement] [data-editorial-role='directory'] h2 { font-size: clamp(24px,2.3vw,34px) !important; }
 body[data-founder-refinement] [data-editorial-role='directory'] :is(.grid,.related-links-grid) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 0 36px !important; }
 body[data-founder-refinement] [data-editorial-role='directory'] .founder-resource h3 { font: 600 16px/1.7 'Montserrat',sans-serif !important; }
 body[data-founder-refinement] [data-editorial-role='directory'] .founder-resource p { font-size: 14px !important; }
 body[data-founder-refinement] [data-editorial-role='directory'] .founder-resource:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
 body[data-founder-refinement] .founder-guides { grid-column: 1 / -1 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px 28px !important; margin-top: 8px !important; border: 0 !important; border-top: 1px solid var(--founder-rule) !important; background: none !important; padding: 18px 0 0 !important; border-radius: 0 !important; box-shadow: none !important; }
 body[data-founder-refinement] .founder-guides > span { flex-basis: 100%; font: 600 15px/1.6 'Montserrat',sans-serif !important; }
 body[data-founder-refinement] .founder-guides a { min-height: 44px; display: inline-flex; align-items: center; }
 body[data-founder-refinement] .cta-band .founder-text-contact { color: #fff !important; }
 body[data-founder-refinement] :is(a,button,[tabindex]):focus-visible { outline: 3px solid var(--lifa-color-primary) !important; outline-offset: 5px !important; }
 /* Native keyboard scrolling clears the header and the fixed contact stack. */
 body[data-founder-refinement] :is(main,.site-footer) :is(a,button,[tabindex]) { scroll-margin-block: 110px 190px; }
 body[data-founder-refinement] :is(.hero,.cta-band) :is(a,button):focus-visible { outline-color: var(--lifa-color-accent) !important; }
 @media (hover:hover) and (pointer:fine) { body[data-founder-refinement] a.founder-resource:hover h3 { text-decoration: underline; text-underline-offset: 5px; } }
 @media(max-width:1000px) {
  body[data-founder-refinement] .founder-story-grid { grid-template-columns: minmax(0,1fr) !important; gap: 26px !important; }
  body[data-founder-refinement] .founder-service-grid .founder-resource { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr) !important; gap: 0 24px !important; }
  body[data-founder-refinement] .founder-service-grid .card-link { grid-column: 2; }
 }
 @media(max-width:760px) {
  body[data-founder-refinement] main > section { padding-block: 32px !important; }
  body[data-founder-refinement] .founder-story-grid,body[data-founder-refinement] .founder-accountability-grid,body[data-founder-refinement] .founder-operation { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
  body[data-founder-refinement] .founder-ledger-intro { display: block !important; }
  body[data-founder-refinement] .founder-ledger-image { margin-top: 24px !important; }
  body[data-founder-refinement] .founder-operation:nth-child(2) figure { grid-column: 1 !important; grid-row: 1 !important; }
  body[data-founder-refinement] .founder-operation:nth-child(2) > div { grid-column: 1 !important; grid-row: 2 !important; }
  body[data-founder-refinement] .founder-service-grid .founder-resource { display: block !important; }
  body[data-founder-refinement] [data-editorial-role='directory'] :is(.grid,.related-links-grid) { grid-template-columns: minmax(0,1fr) !important; }
  body[data-founder-refinement] .founder-direct-contact { flex-direction: column !important; align-items: start !important; gap: 0 !important; }
 }
 @media(max-width:500px) {
  body[data-founder-refinement] .hero-actions { width: calc(100% - 56px) !important; }
 }
}
