/* Existing compact Home directory, now a static shared stone band. */
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact]{display:block;position:relative;inset:auto;inline-size:100%;max-inline-size:none;margin:0;padding:32px 0 24px;border:0;box-shadow:none;background:#DCE2DF;color:#24212A;font:400 .9375rem/1.5 'Bricolage Grotesque',sans-serif;isolation:isolate;overflow:visible;transform:none!important;opacity:1!important;clip-path:none!important}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] *,body[data-kd-design][data-preview-path] [data-kf-statements],body[data-kd-design][data-preview-path] [data-kf-statements] *{box-sizing:border-box;min-width:0;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important;transition:none!important;opacity:1!important;clip-path:none!important}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact]>.kh-footer-inner{position:relative;inline-size:min(72.5rem,calc(100% - 2 * clamp(1.25rem,4vw,3rem)));max-inline-size:none;margin-inline:auto;padding:0;background:#DCE2DF;color:#24212A}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kh-footer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kh-footer-mark{display:block;inline-size:32px;block-size:32px;max-inline-size:none;margin:0;object-fit:contain;filter:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kf-brand-link{display:inline-flex;align-items:center;justify-content:flex-start;min-inline-size:44px;min-block-size:44px;padding:0;flex:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:1.25rem 16px;margin:0;padding:0;border:0}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation nav{display:flex;position:static;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;padding:0;border:0;background:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation h2{margin:0 0 .625rem;padding:0;color:#24212A;font:600 .875rem/1.4 'Bricolage Grotesque',sans-serif;letter-spacing:0}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation nav[aria-label=Information]{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:0 1.25rem;align-content:start}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation nav[aria-label=Information] h2{grid-column:1/-1}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] :is(a,summary,button){min-block-size:44px;max-inline-size:100%;margin:0;color:#24212A;font:inherit;white-space:normal;overflow-wrap:anywhere;text-decoration:none;touch-action:manipulation}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] a{display:inline-flex;align-items:center;gap:.375rem;border:0;background:transparent}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] :is(a,summary,button):focus-visible{outline:3px solid #24212A;outline-offset:4px}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-utilities,body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-colophon{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:1rem 1.5rem;margin:1.25rem 0 0;padding:0;border:0;background:none;color:#24212A}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-colophon{font-size:.875rem;line-height:1.5}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-colophon p{margin:0;color:#24212A;font:inherit}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .studio-credit{display:flex;flex-direction:column;align-items:start;gap:.25rem;font-size:.8125rem}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .studio-lockup{display:inline;max-inline-size:100%;padding:0;background:none;color:inherit;white-space:normal}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .foot-more{display:block;max-inline-size:40rem;padding:0;border:0;background:none;color:inherit;box-shadow:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .foot-more summary{display:flex;align-items:center;gap:1rem;cursor:pointer}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .foot-more p{margin:.8rem 0 0;color:inherit;font:inherit}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] [hidden]{display:none!important}
/* Exact original pencil curve/ellipse mechanism; only its ink and marker move. */
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kf-footer-line{display:block;inline-size:100%;block-size:18px;padding-inline:4px;margin:0 0 clamp(1rem,3vw,2rem);color:#9B3047;pointer-events:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kf-footer-line svg{display:block;inline-size:100%;block-size:100%;overflow:visible;fill:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kf-footer-line path{fill:none;stroke-linecap:round;stroke-width:1.3}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .scroll-chapter-track{stroke:#24212A59}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .scroll-chapter-ink{stroke:currentColor;stroke-dasharray:1;stroke-dashoffset:0;vector-effect:none}
body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .scroll-chapter-marker{fill:currentColor}
@media(min-width:900px){body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation{grid-template-columns:1fr 1fr 1.5fr;gap:2rem 16px}body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .footer-navigation nav[aria-label=Information]{grid-column:auto;grid-template-columns:1fr 1fr}}
@media print{body[data-kd-design][data-preview-path] footer.kh-footer[data-kf-compact] .kf-footer-line{display:none}}

/* Exact preceding editorial treatment, re-scoped without moving it. */
/* Colour-only shared-footer treatment; layout, content and motion are retained. */
body#top[data-kd-design] [data-kf-statements]{background:#efc364!important;color:#171c25;--footer-gold:#171c25;--footer-ink:#171c25}
body#top[data-kd-design] [data-kf-statements] :is(h2,h3,p,blockquote,cite,nav,a,summary,button,.footer-eyebrow,.footer-manifesto,.studio-credit,.scroll-footer-line){color:#171c25!important}
body#top[data-kd-design] [data-kf-statements] :is(a:hover,a:active,a:focus-visible,summary:hover,summary:focus-visible,button:focus-visible){color:#171c25!important}
body#top[data-kd-design] [data-kf-statements] :focus-visible{outline-color:#171c25!important}
body#top[data-kd-design] [data-kf-statements] :is(.foot-values,.foot-more,.footer-utilities,.footer-colophon){border-color:rgb(23 28 37 / .35)}
body#top[data-kd-design] [data-kf-statements] :is(blockquote,.dignity,.foot-values .text-link){border-color:#171c25}
body#top[data-kd-design] [data-kf-statements] .foot-values .text-link:hover{background:rgb(23 28 37 / .06)}
body#top[data-kd-design] [data-kf-statements] .foot-more button{background:transparent;border-color:#171c25}
body#top[data-kd-design] [data-kf-statements] .scroll-chapter-track{stroke:rgb(23 28 37 / .35)}
/* The original Polymath image, paper carrier and unfiltered asset are untouched. */

/* Only the existing Country panel; the saffron footer and its motion stay owned by their original controllers. */
body#top[data-kd-design] [data-kf-country-static]{position:relative;z-index:1;isolation:isolate;background:#000;color:#fff9f1;box-shadow:0 0 0 16px #000}
body#top[data-kd-design] [data-kf-country-static] :is(h2,p,blockquote,strong,a,span){color:#fff9f1!important}
body#top[data-kd-design] [data-kf-statements] [data-kf-country-static] :is(h2,p,blockquote,strong,a,span){color:#fff9f1!important}
body#top[data-kd-design] [data-kf-country-static] a{border-color:#fff9f180!important}
body#top[data-kd-design] [data-kf-country-static] a:focus-visible{outline:2px solid #fff9f1!important;outline-offset:4px}
body#top[data-kd-design] [data-kf-statements] [data-kf-country-static] a:focus-visible{outline:2px solid #fff9f1!important;outline-offset:4px}
body#top[data-kd-design] [data-kf-country-static] .kc-edge{position:absolute;left:-16px;right:-16px;bottom:-16px;height:8px;display:grid;grid-template-columns:7fr 3fr;pointer-events:none;overflow:hidden}
body#top[data-kd-design] [data-kf-country-static] .kc-edge-red{background:#9b3047;transform:none;transform-origin:left center}
body#top[data-kd-design] [data-kf-country-static] .kc-edge-saffron{background:#efc364;transform:none;transform-origin:right center}
@media(prefers-reduced-motion:reduce){body#top[data-kd-design] [data-kf-country-static] .kc-edge>span{transform:none!important}}
