/* Preview: rejected V1–V7 layout experiments removed. Original page layout comes from the shared baseline styles. Later approved spacing and navigation refinements follow. */
/* V14: measure the complete gap across adjacent blocks, not each padding alone.
   Page-title -> first content: 64px desktop / 40px mobile.
   Borders divide that gap in half; subsequent chapters keep their spacious rhythm. */
body.subpage:not(.page-kasane) .subpage-heading{padding-bottom:32px}
body.subpage .subpage-heading + :is(.two-pillars,.about-section,.company-profile,.contact-directory,.news-page-content,.filer-generic-content){padding-top:32px}
/* One final breathing space before the footer's own padding. */
body.subpage main > :is(.about-section,.business-section,.company-profile,.contact-directory,.news-page-content,.filer-generic-content,.ks-contact):last-child{padding-bottom:64px}
@media(max-width:800px){
 body.subpage:not(.page-kasane) .subpage-heading{padding-bottom:20px}
 body.subpage .subpage-heading + :is(.two-pillars,.about-section,.company-profile,.contact-directory,.news-page-content,.filer-generic-content){padding-top:20px}
 body.subpage main > :is(.about-section,.business-section,.company-profile,.contact-directory,.news-page-content,.filer-generic-content,.ks-contact):last-child{padding-bottom:48px}
}

/* Shared page index: the established Kasane/Notari ruled band. */
body.subpage .page-local-nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 36px;max-width:none;margin:0;padding:24px var(--page-gutter);border-top:1px solid var(--sub-rule);border-bottom:1px solid var(--sub-rule)}
body.subpage .page-local-nav a,body.subpage .page-local-nav a:first-child,body.subpage .page-local-nav a+a{display:block;border:0;padding:8px 0;font:600 13px/1.8 var(--type-body);white-space:nowrap;color:var(--ink);text-decoration:none}
body.subpage .page-local-nav a:hover{color:var(--tone-176b70,#176b70)}
body.subpage .page-local-nav a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
body.page-business .two-pillars{padding-bottom:48px}
body.page-business .page-local-nav + .business-section{border-top:0;padding-top:48px}
@media(max-width:800px){
 body.subpage .page-local-nav{gap:10px 24px;padding-block:16px}
 body.subpage .page-local-nav a,body.subpage .page-local-nav a:first-child,body.subpage .page-local-nav a+a{font-size:12px;padding:8px 0}
 body.page-business .two-pillars{padding-bottom:32px}
 body.page-business .page-local-nav + .business-section{padding-top:32px}
}

/* Mobile actions share the available column width. */
@media(max-width:800px){
 body.page-kasane .ks-contact a.ks-button.filer-card-standard{max-width:100%}
}

/* Section numbers match the business chapters below. */
.page-local-nav .page-local-number{display:inline-block;margin-right:14px;font-family:var(--type-latin);font-variant-numeric:normal;}

/* The introduction starts at the shared 64px / 40px title gap. */
body.page-business .two-pillars>h2:first-child{margin-top:0}

/* Business brand signatures: optical weights, not equal bounding-box widths.
   Kasane's fine, wide wordmark needs more width but slightly less height. */
body.page-business .business-section{padding-block:64px;align-items:start}
body.page-business .business-label>span:first-child{margin-bottom:16px}
body.page-business .business-label h2{margin:0 0 24px}
body.page-business .business-label>.business-brand-logo{width:184px;height:auto;max-width:100%;margin:0}
body.page-business .business-label>.kasane-logo{width:250px;max-width:100%;margin:0}
body.page-business .business-label>.kasane-logo img{display:block;width:100%;height:auto}
body.page-business .business-lead{margin-bottom:24px}
body.page-business .business-summary{margin-top:28px}
@media(max-width:800px){
 body.page-business .business-section{padding-block:48px;gap:32px}
 body.page-business .business-label>span:first-child{margin-bottom:12px}
 body.page-business .business-label h2{margin-bottom:20px}
 body.page-business .business-label>.business-brand-logo{width:160px}
 body.page-business .business-label>.kasane-logo{width:218px}
 body.page-business .business-summary{margin-top:24px}
}

/* Company heading sits outside main; apply the same boundary spacing explicitly. */
body.page-company .company-profile{padding-top:32px;padding-bottom:64px}
@media(max-width:800px){body.page-company .company-profile{padding-top:20px;padding-bottom:48px}}
