/* Homepage visual refinement: replaces earlier consistency stylesheet. */
.kh { --section-space:72px; --content-width:min(1180px,90%); }
.kh .kh-wrap { width:var(--content-width); }
.kh .kh-section { padding-block:var(--section-space); }
.kh .kh-intro { padding:56px 0 64px; background:#faf8f1; }
.kh .kh-intro h1,.kh .kh-intro .kh-kicker,.kh .kh-intro .kh-lead,
.kh .kh-end,.kh .kh-end h2,.kh .kh-end .kh-kicker,.kh .kh-end p { text-align:center; }
.kh .kh-intro .kh-lead,.kh .kh-end p { margin:0 auto 24px !important; }
.kh .kh-end h2,.kh .kh-intro h1 { margin-bottom:24px; }
.kh .kh-hero { margin-bottom:28px !important; }
/* Full-bleed section bands with the original content width. */
.kh #disciplines,.kh .kh-section:has(> .kh-feature),.kh .kh-end {
 width:100%; padding-inline:max(5%,calc((100% - 1180px)/2));
}
.kh #disciplines { background:#e7e9dc; }
.kh .kh-section:has(> .kh-feature) { background:#ede5d8; }
.kh .kh-end { background:#faf8f1; }
.kh .kh-origin { background:#e3e5d2; padding:var(--section-space) max(5%,calc((100% - 1180px)/2)); grid-template-columns:1fr 1fr; }
.kh .kh-heading,.kh .kh-feature-copy,.kh .kh-origin-copy,.kh .kh-services article,.kh .kh-split { text-align:left; }
.kh .kh-heading { margin-bottom:36px; }
.kh .kh-art-caption,.kh .kh-hero .kh-art-caption { text-align:left; padding:12px 2px 0; }
.kh .kh-art { padding:clamp(7px,1.2vw,16px); }
.kh .kh-btn { display:flex; width:fit-content; max-width:100%; min-height:52px; margin:24px auto 0; padding:12px 24px; gap:12px; align-items:center; justify-content:center; text-align:center; font:600 16px/1.5 system-ui,sans-serif; }
.kh .kh-link { display:block; width:fit-content; max-width:100%; margin:24px auto 0; text-align:center; font:600 16px/1.5 system-ui,sans-serif; }
.kh .kh-actions { justify-content:center; align-items:center; gap:20px; }
.kh .kh-actions .kh-btn,.kh .kh-actions .kh-link { margin:0; }
.kh .kh-services article > .kh-link { align-self:center; }
.kh .kh-services details,.kh .kh-steps details { text-align:left; }
.kh .kh-feature-copy { margin-top:28px; }
/* Button follows the paragraph on mobile; desktop uses a balanced grid. */
@media(min-width:761px) {
 .kh .kh-feature-copy { grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:16px 45px; align-items:start; }
 .kh .kh-feature-copy > div { display:contents; }
 .kh .kh-feature-copy > h3 { grid-column:1; grid-row:1; margin:0; }
 .kh .kh-feature-copy > div > p { grid-column:2; grid-row:1 / 3; margin:0; }
 .kh .kh-feature-copy > div > .kh-btn { grid-column:1; grid-row:2; margin:0 auto; }
 .kh-page .site-header .logo-scene { width:min(357px,86vw); }
 .kh-page .site-header .brand { padding:6px 16px 8px; }
 .kh-page .site-header nav,.kh-page .site-header nav a { min-height:50px; }
}
.kh .day-night-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:10px; row-gap:2px; max-width:340px; margin:12px auto 8px; padding:0 8px; text-align:center; }
.kh .day-night-slider-row { grid-column:1; grid-row:1; gap:10px; min-width:0; }
.kh .day-night-bottom { display:contents; }
.kh .day-night-label { grid-column:1 / -1; grid-row:2; text-align:center; font-size:13px; }
.kh .day-night-toggle { grid-column:2; grid-row:1; width:44px; height:44px; padding:0 !important; border:0 !important; background:transparent !important; color:#59432d !important; font-size:0 !important; }
.kh .day-night-toggle::after { content:'\275A\275A'; font-size:14px; }
.kh .day-night-toggle[data-paused="true"]::after { content:'\25B6'; }
.kh .day-night-toggle:focus-visible { outline:2px solid #36502b; outline-offset:2px; }
.kh .day-night-inscription,.kh .living-painting-mobile-hint,.kh .paint-reveal-controls { text-align:center; }
.kh .paint-reveal-controls { margin-inline:auto; }
.kh .paint-reveal-buttons { justify-content:center; }
@media(max-width:760px) {
 .kh { --section-space:36px; --content-width:calc(100% - 40px); }
 .kh #disciplines,.kh .kh-section:has(> .kh-feature),.kh .kh-end,.kh .kh-origin { padding-inline:20px; }
 .kh .kh-intro { padding:32px 0 36px; }
 .kh .kh-hero { margin-bottom:20px !important; }
 .kh .kh-heading { margin-bottom:24px; }
 .kh .kh-intro h1,.kh .kh-end h2 { margin-bottom:16px; }
 .kh .kh-origin { grid-template-columns:1fr; gap:24px; }
 .kh .kh-feature-copy { gap:12px; margin-top:20px; }
 .kh .kh-btn,.kh .kh-link { font-size:14px; margin-top:20px; }
 .kh .kh-btn { min-height:46px; padding:12px 20px; }
 .kh .kh-actions { flex-direction:column; gap:14px; }
 .kh .kh-art-caption,.kh .kh-hero .kh-art-caption { padding-top:8px; }
 .kh .day-night-controls { max-width:230px; margin-top:6px; }
 .kh .day-night-label { font-size:11px !important; }
 .kh .day-night-slider-row { gap:8px; }
}