/* Final editorial and usability pass. Kept after the established design system. */
:root{--ks-paper:#f7f8f2;--ks-ink:#121a14;--ks-line:#c9d2c2}
html{scroll-padding-top:110px} [id]{scroll-margin-top:110px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8d9f78;outline-offset:5px}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}
.header .nav-links a{min-height:44px;display:inline-flex;align-items:center}
.header .nav-links{font-size:12px;letter-spacing:.045em}
.footer .footer-links{font-size:13px;gap:22px}.footer .footer-links a{padding-block:8px}
.footer .footer-bottom{font-size:12px;line-height:1.6}.footer .footer-upper{gap:40px}
.hero-copy>p:not(.micro){font-size:17px;line-height:1.75;max-width:475px}.hero-copy>.micro{font-size:12px;color:#c4cdbb;line-height:1.6}
.hero-caption{gap:16px;align-items:start}.hero-caption>span{max-width:65%;line-height:1.5;font-size:11px;color:#d0d8c7}
.hero-caption a{white-space:nowrap;min-height:44px}.hero .browser-bar span{color:#c5cebc}
.expertise-list p{font-size:15px;line-height:1.75}.work-meta p{font-size:14px;line-height:1.7}
/* Crop only the staging notice from the presentation; explicit project status remains alongside it. */
.ks-preview-crop{display:block;overflow:hidden;aspect-ratio:1.6;background:#101310}
.project-screen .ks-preview-crop img,.polish-browser .ks-preview-crop img,.work-desktop .ks-preview-crop img{display:block;width:100%;height:103.5%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center top;transform:translateY(-3.35%)}
.inner-page .polish-dark-masthead{padding-block:76px;background:#152017}
.inner-page .editorial-heading p{font-size:17px;max-width:660px}
.inner-page .polish-section{padding-block:88px}.inner-page .secondary-heading{margin-top:72px}
.inner-page .polish-hero-grid{min-height:450px}.inner-page .polish-hero-photo{min-height:450px}
.inner-page .service-hero{padding-block:68px}.inner-page .service-hero-inner{min-height:430px;gap:55px}
.inner-page p{font-size:16px;line-height:1.8}.inner-page .eyebrow{color:#58694f;font-size:11px}
.inner-page .polish-hero .eyebrow,.inner-page .service-hero .eyebrow,.inner-page .polish-dark-masthead .eyebrow{color:#bcc9ac}
.inner-page .polish-work-image{padding:25px 25px 0;aspect-ratio:1.48}
.inner-page .polish-work-caption{padding:22px 0 12px}.inner-page .polish-work-caption p{font-size:14px;max-width:48ch}
.inner-page .polish-work-grid{row-gap:42px}.inner-page .small-overline{font-size:11px;line-height:1.6;color:#4d6146}
.inner-page .polish-filter{margin-bottom:32px}.inner-page .filter-button{min-height:44px;cursor:pointer}
.inner-page .case-hero{padding-top:66px}.inner-page .case-hero-heading{margin-bottom:40px}
.inner-page .case-hero-screen{max-width:1180px;padding:24px 28px 0}.inner-page .case-grid{gap:72px}
.ks-project-note{display:grid;gap:6px;margin-top:24px;padding:16px 19px;border-left:3px solid #687d57;background:#f2f5ed;max-width:660px;font:14px/1.65 'DM Sans',sans-serif;color:#42543b}
.ks-project-note strong{font-weight:650;color:#20301d}
.ks-service-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.ks-service-groups article{min-width:0;border-top:2px solid #7b8e68;padding-top:24px}.ks-service-groups h3{font-size:25px;line-height:1.25;max-width:20ch}
.ks-service-groups p{font-size:15px;line-height:1.7;margin:16px 0 25px;min-height:76px}
.ks-service-groups ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ks-line)}
.ks-service-groups li{border-bottom:1px solid var(--ks-line)}
.ks-service-groups a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;min-height:54px;font:600 14px/1.5 'DM Sans',sans-serif;color:#273f28}
.ks-service-groups a:hover{color:#536c40}.ks-service-groups a svg{flex:none}
.inner-page .v4-deep,.inner-page .v4-case-focus,.inner-page .v4-product-approach{padding-block:76px}
.inner-page .v4-cards p{font-size:14px}.inner-page .v4-answer{padding-block:62px}
.ks-contact-page .ks-contact-section{background:#131f17}.ks-contact-page .ks-intro-text{font-size:17px}
.ks-contact-page .ks-next li>p,.ks-contact-page .ks-location{font-size:14px;line-height:1.7}
.ks-contact-page .ks-field>label{font-size:14px}.ks-contact-page .ks-hint,.ks-contact-page .ks-privacy,.ks-contact-page .ks-required-note{font-size:12px;color:#506347}
.ks-contact-page .ks-field-error{font-size:13px}.ks-contact-page .ks-panel-heading>p:last-child{font-size:14px}
.ks-contact-page .ks-notes-grid p{font-size:14px}.ks-contact-page .ks-contact-label{font-size:10px}
.ks-contact-page .ks-form-status{font-size:14px}.ks-contact-page .ks-contact-main [hidden]{display:none!important}
/* Keep article assets and reading geometry intact; shared navigation and focus follow the same standard. */
.blog-layout .ks-editorial-prose a{text-underline-offset:4px}.blog-layout .ks-editorial-prose h2{scroll-margin-top:120px}
.blog-layout .ks-category-filter button{min-height:44px;padding-block:10px}
@media(min-width:821px) and (max-width:1100px){.header .nav-links{gap:17px}.header .logo{width:180px}.header .nav-cta{padding-inline:15px}.inner-page .service-hero-inner{gap:30px}.ks-service-groups{gap:23px}.ks-service-groups h3{font-size:22px}}
@media(max-width:820px){
 html{scroll-padding-top:90px}[id]{scroll-margin-top:90px}
 .header .nav-links{font-size:16px}
 .header .nav-links.open{max-height:calc(100dvh - 75px);overflow-y:auto}.header .nav-links a{min-height:49px}
 .inner-page .polish-dark-masthead{padding-block:56px}.inner-page .polish-section{padding-block:64px}
 .inner-page .service-hero-inner,.inner-page .polish-hero-grid{min-height:0;gap:36px}.inner-page .polish-hero-photo{min-height:340px}
 .inner-page .service-hero{padding-block:48px}.inner-page .case-grid{gap:30px}
 .ks-service-groups{grid-template-columns:1fr;gap:38px}.ks-service-groups p{min-height:0;max-width:55ch;margin-bottom:20px}
 .ks-service-groups h3{max-width:none}.ks-service-groups a{font-size:15px}
 .ks-contact-page .ks-next{display:block;max-width:560px;margin-top:23px}.ks-contact-page .ks-next ol{gap:9px;margin-top:10px}
 .footer .footer-upper{gap:30px}.footer .footer-links{justify-content:flex-start}
}
@media(max-width:520px){
 .hero-copy>p:not(.micro){font-size:16px;line-height:1.7}.hero-copy>.micro{font-size:11px}.hero-caption>span{font-size:11px}
 .hero .actions{gap:14px 24px}.hero .actions .text-link{font-size:12px;min-height:44px}.hero .actions .btn{font-size:12px}
 .hero .actions .text-link{padding-block:12px}.expertise-list p{font-size:14px;line-height:1.75}.work-meta p{font-size:14px}
 .ks-home-software .ks-software-card p,.ks-process-polish .ks-process-step p{font-size:14px;line-height:1.7}
 .inner-page p{font-size:16px}.inner-page .polish-work-image{padding:16px 16px 0;aspect-ratio:1.45}
 .inner-page .polish-work-caption h3{font-size:25px}.inner-page .polish-work-caption p{font-size:14px}
 .inner-page .polish-work-grid{gap:24px}.inner-page .polish-dark-masthead{padding-block:43px}
 .inner-page .polish-section{padding-block:52px}.inner-page .case-hero{padding-top:42px}
 .inner-page .case-hero-heading h1 span{font-size:24px;letter-spacing:-.025em;line-height:1.35}
 .inner-page .case-hero-heading p{font-size:16px}.inner-page .case-hero-screen{padding:14px 12px 0}
 .inner-page .v4-deep,.inner-page .v4-case-focus,.inner-page .v4-product-approach{padding-block:52px}
 .inner-page .polish-cta h2{font-size:clamp(43px,11.5vw,60px)}.inner-page .polish-cta .btn{max-width:100%;gap:24px}
 .inner-page .polish-hero-copy h1{font-size:clamp(48px,12vw,64px)}.inner-page .polish-hero-photo{min-height:300px}
 .ks-contact-page .ks-intro-text{font-size:16px}.ks-contact-page .ks-next li>p{font-size:13px}.ks-contact-page .ks-location{font-size:13px}
 .ks-contact-page .ks-person{margin-block:18px}.ks-contact-page .ks-form-panel{padding:25px 20px}
 .ks-contact-page .ks-extra>summary{font-size:13px}.ks-contact-page .ks-extra>summary small{font-size:11px}
 .footer .footer-links{font-size:13px;gap:12px 22px}.footer .footer-bottom{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.ks-product-state{font:600 13px/1.6 "DM Sans",sans-serif;color:#c6d5b7;margin-bottom:23px;padding-left:13px;border-left:2px solid #9cb886}
/* Small breathing room within the existing enquiry form. */
.ks-contact-page .ks-field>label{margin-bottom:10px}
.ks-contact-page .ks-hint{margin-top:9px;line-height:1.7}

/* ks-studio-experience */
/* Business pathways, project galleries and practical project answers. */
.hero .ks-lakeside-backdrop{width:100%;height:100%;object-fit:cover;object-position:center 55%;opacity:.72}
.hero:has(.ks-lakeside-backdrop)::before{background:linear-gradient(90deg,#101710f5 4%,#101710e6 35%,#1017107a 75%,#10171077),linear-gradient(0deg,#101710 0%,transparent 40%)}
.ks-pathways{padding:80px 0;background:#eef2e9;color:#172219}
.ks-pathways-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:32px}
.ks-pathways-heading .label{display:block;color:#56694b;margin-bottom:15px}
.ks-pathways-heading h2{font-size:clamp(44px,4.6vw,66px);max-width:650px}
.ks-pathways-heading>p{font-size:16px;line-height:1.75;max-width:470px;justify-self:end;color:#52624a}
.ks-path-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #aebca5;background:#f8faf5}
.ks-path-tabs button{display:flex;align-items:center;gap:15px;text-align:left;min-height:76px;padding:20px 23px;border:0;border-right:1px solid #bdc9b5;background:transparent;color:#364a30;font:600 16px/1.5 'DM Sans',Arial,sans-serif;cursor:pointer}
.ks-path-tabs button:last-child{border-right:0}.ks-path-tabs button>span{font-size:11px;font-weight:500;color:inherit;opacity:.8}
.ks-path-tabs button>.ks-icon{margin-left:auto;flex:none;width:16px;height:16px}
.ks-path-tabs button[aria-selected=true]{background:#1a2b1e;color:#f7faf2}.ks-path-tabs button:hover{box-shadow:inset 0 -3px #8c9d78}
.ks-path-panel{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding:38px;border:1px solid #bdc9b5;border-top:0;background:#f8faf5}
.ks-path-panel[hidden]{display:none}.ks-path-copy{max-width:500px}
.ks-path-copy h3{font:650 clamp(25px,2.3vw,33px)/1.25 'DM Sans',Arial,sans-serif;letter-spacing:-.035em;margin:0 0 17px;text-wrap:balance}
.ks-path-copy>p{font-size:16px;line-height:1.75;color:#506148;margin:0 0 21px}
.ks-path-services{padding:0;list-style:none;margin:0 0 24px;border-top:1px solid #d2dbcc}
.ks-path-services li{border-bottom:1px solid #d2dbcc}
.ks-path-services a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px;font:600 14px/1.5 'DM Sans',Arial,sans-serif;padding-block:10px}
.ks-path-services a:hover{text-decoration:underline;text-underline-offset:4px}.ks-path-services svg{width:15px;height:15px;flex:none}
.ks-path-copy .btn{background:#192c1e;color:#fff;min-height:52px;font-size:12px}
.ks-path-copy .btn:hover{background:#405837}
.ks-path-example{display:block;min-width:0}.ks-path-screen{padding:18px;border:1px solid #c8d2c0;background:#e3e9dc}
.ks-path-screen img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;background:#fff;border:1px solid #c1cbb9;box-shadow:0 10px 24px #24311c18}
.ks-path-example>div:last-child{padding-top:15px}.ks-path-example span{display:block;font:500 11px/1.6 'DM Sans',Arial,sans-serif;letter-spacing:.02em;color:#596b51;margin-bottom:5px}
.ks-path-example strong{display:flex;justify-content:space-between;align-items:center;gap:20px;font:650 20px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:-.02em}
.ks-path-example small{display:block;margin-top:7px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.ks-pathways-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:22px;font-size:14px;line-height:1.65;color:#52634a}
.ks-pathways-footer a{display:flex;align-items:center;gap:18px;min-height:44px;white-space:nowrap;font-weight:600;color:#263d27}
.ks-home-question-link{margin:29px 0 0;padding-top:23px;border-top:1px solid #ffffff24;font:400 14px/1.7 'DM Sans',Arial,sans-serif;color:#c9d5be}
.ks-home-question-link a{display:inline-flex;align-items:center;gap:15px;min-height:44px}
.inner-page .ks-service-directory{padding-top:65px}.inner-page .ks-service-directory .secondary-heading{margin-top:0}
.ks-services-experience .polish-hero-copy h1{font-size:clamp(46px,5.2vw,76px);max-width:680px}
.ks-project-faq{padding:78px 0;background:#e9eee3;color:#1b2b1e}
.ks-faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:85px}
.ks-faq-layout>div:first-child>p{max-width:370px;font-size:16px;line-height:1.8;color:#52664a;margin-top:22px}
.ks-faq-layout>div:first-child>a{display:inline-flex;align-items:center;gap:15px;min-height:44px;font:600 14px/1.5 'DM Sans',Arial,sans-serif;margin-top:22px;border-bottom:1px solid #7d906e}
.ks-faq-layout h2{font-size:clamp(44px,4.6vw,64px);margin-top:18px}
.ks-faq-list{border-top:1px solid #b1bfa6}
.ks-faq-list details{border-bottom:1px solid #b1bfa6}
.ks-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:70px;padding:20px 0;cursor:pointer;list-style:none;font:600 17px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:-.015em}
.ks-faq-list summary::-webkit-details-marker{display:none}.ks-faq-list summary>span{font-size:25px;font-weight:400;flex:none;line-height:1;transition:transform .2s}
.ks-faq-list details[open] summary>span{transform:rotate(45deg)}
.ks-faq-list details>p{font:400 16px/1.8 'DM Sans',Arial,sans-serif;color:#40563a;max-width:650px;margin:0;padding:0 35px 24px 0}
.ks-contact-page .ks-business-context{font:600 12px/1.6 'DM Sans',Arial,sans-serif;color:#48673d;padding:10px 13px;border-left:2px solid #8b9e77;background:#edf2e7;margin:0 0 23px}
.ks-project-gallery{padding:76px 0;background:#e9eee3;color:#172519}
.ks-gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:55px;margin-bottom:27px}
.ks-gallery-heading h2{font-size:clamp(43px,4.4vw,64px);margin-top:18px}
.ks-gallery-heading>p{font-size:15px;line-height:1.75;max-width:400px;color:#52664b}
.ks-gallery-views{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:17px}
.ks-gallery-views button{min-height:44px;padding:10px 18px;border:1px solid #9fad94;background:transparent;color:#2c442a;font:600 14px/1.5 'DM Sans',Arial,sans-serif;cursor:pointer}
.ks-gallery-views button[aria-pressed=true]{background:#213523;color:#fff;border-color:#213523}.ks-gallery-views button:hover{border-color:#203a23}
.ks-gallery-figure{margin:0}
.ks-gallery-open{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:clamp(280px,42vw,580px);padding:24px;border:1px solid #b8c6ae;background:#d7dfd0;overflow:hidden;cursor:zoom-in}
.ks-gallery-open>img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 14px 35px #182b1824;transform:none;opacity:1}
.ks-gallery-open>span{position:absolute;right:17px;bottom:17px;display:flex;align-items:center;gap:15px;padding:10px 14px;background:#14261a;color:white;font:600 12px/1.5 'DM Sans',Arial,sans-serif;box-shadow:0 2px 12px #0002}
.ks-gallery-open>span svg{width:15px;height:15px}.ks-gallery-figure>figcaption{font:400 13px/1.7 'DM Sans',Arial,sans-serif;color:#455a3d;margin-top:13px}
.ks-image-open{overflow:hidden}
.ks-image-dialog{width:min(1440px,calc(100vw - 40px));height:min(1100px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #6a8060;color:#eef4e7;background:#111c14;overflow:hidden}
.ks-image-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.ks-image-dialog::backdrop{background:#07110be8}
.ks-lightbox-toolbar,.ks-lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;background:#14231a}
.ks-lightbox-toolbar p{font:500 13px/1.5 'DM Sans',Arial,sans-serif;margin:0;color:#d7e4cd}
.ks-lightbox-toolbar>div{display:flex;gap:12px}
.ks-image-dialog button{min-height:44px;padding:10px 15px;border:1px solid #657b59;background:transparent;color:#f3f7ec;font:500 13px/1.5 'DM Sans',Arial,sans-serif;cursor:pointer}
.ks-image-dialog button:hover{background:#31472b}.ks-lightbox-close>span{font-size:21px;vertical-align:middle;margin-left:7px}
.ks-lightbox-view{overflow:auto;display:flex;align-items:center;justify-content:center;min-height:0;padding:20px;overscroll-behavior:contain;background:#dce3d5}
.ks-lightbox-view{position:relative}
.ks-image-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:85%;padding:12px 16px;background:inherit;color:var(--ks-ink);font:400 13px/1.7 'DM Sans',Arial,sans-serif;text-align:center}
.ks-lightbox-view>img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0;box-shadow:0 8px 35px #0003}
.ks-lightbox-view[data-zoomed=true]{display:block}.ks-lightbox-view[data-zoomed=true]>img{max-width:none;max-height:none;width:auto;height:auto}
.ks-lightbox-bottom p{margin:0;max-width:750px;text-align:center;font:400 13px/1.6 'DM Sans',Arial,sans-serif;color:#d7e4cd}
.ks-lightbox-bottom>button{white-space:nowrap}
.ks-client-feedback{padding:60px 0;background:#f8faf4}.ks-client-feedback blockquote{margin:20px 0;max-width:850px}.ks-client-feedback blockquote>p{font:500 26px/1.5 'DM Sans',Arial,sans-serif}.ks-client-feedback footer{display:flex;gap:15px;flex-wrap:wrap;font-size:14px;margin-top:22px}.ks-client-feedback a{display:inline-flex;gap:20px;align-items:center;min-height:44px;font-size:14px}
@media(max-width:1024px){.ks-path-panel{gap:30px;padding:28px}.ks-path-tabs button{font-size:14px;gap:10px;padding:17px}.ks-faq-layout{gap:45px}.ks-gallery-heading{gap:30px}}
@media(max-width:760px){
 .hero .ks-lakeside-backdrop{width:100%;height:100%;object-position:60% center;opacity:.6}
 .hero:has(.ks-lakeside-backdrop)::before{background:linear-gradient(90deg,#101710e8,#1017108c),linear-gradient(0deg,#101710 0%,#101710aa 28%,transparent 65%)}
 .ks-pathways,.ks-project-gallery,.ks-project-faq{padding:54px 0}
 .ks-pathways-heading{grid-template-columns:1fr;gap:20px;margin-bottom:25px}.ks-pathways-heading>p{justify-self:start;max-width:550px;margin:0}
 .ks-path-panel{grid-template-columns:1fr;gap:30px;padding:25px}.ks-path-copy{max-width:none}
 .ks-path-tabs button>span{display:none}.ks-path-tabs button{display:block;font-size:14px;padding:14px;min-height:70px}.ks-path-tabs button>svg{display:none}
 .ks-path-copy>p{font-size:16px}.ks-path-example{max-width:580px;width:100%;justify-self:center}.ks-path-screen{padding:14px}
 .ks-pathways-footer{align-items:flex-start;flex-direction:column;gap:8px;font-size:13px}
 .ks-faq-layout{grid-template-columns:1fr;gap:30px}.ks-faq-layout>div:first-child>p{max-width:550px;margin-top:18px}.ks-faq-layout>div:first-child>a{margin-top:14px}
 .ks-gallery-heading{display:block}.ks-gallery-heading>p{margin-top:20px;max-width:550px}
 .ks-gallery-open{height:400px;padding:17px}.ks-gallery-views button{padding:10px 14px}
 .ks-image-dialog{width:calc(100vw - 18px);height:calc(100dvh - 18px)}
 .ks-lightbox-toolbar{padding:10px 12px;gap:10px}.ks-lightbox-toolbar>div{gap:8px}.ks-lightbox-toolbar p{max-width:150px;font-size:11px}
 .ks-image-dialog button{padding:9px 11px;font-size:12px}.ks-lightbox-view{padding:10px}
 .ks-lightbox-bottom{display:grid;grid-template-columns:1fr 1fr;padding:10px 12px;gap:10px}.ks-lightbox-bottom p{grid-column:1/-1;grid-row:1;font-size:12px;text-align:left}.ks-lightbox-next{justify-self:end}
}
@media(max-width:520px){
 .ks-path-tabs{grid-template-columns:1fr}.ks-path-tabs button{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:14px 17px;border-right:0;border-bottom:1px solid #bdc9b5;font-size:15px}.ks-path-tabs button:last-child{border-bottom:0}.ks-path-tabs button>svg{display:block;width:15px;height:15px}
 .ks-path-panel{padding:21px}.ks-path-copy h3{font-size:26px}.ks-path-copy .btn{width:100%}
 .ks-pathways-heading h2,.ks-faq-layout h2,.ks-gallery-heading h2{font-size:46px}
 .ks-faq-list summary{font-size:16px;min-height:70px}.ks-faq-list details>p{font-size:15px;padding-right:16px}
 .ks-gallery-open{height:300px;padding:12px}.ks-project-gallery[data-gallery-mode=mobile] .ks-gallery-open{height:430px}
 .ks-gallery-open>span{right:10px;bottom:10px;font-size:11px;padding:9px 11px}
 .ks-gallery-figure>figcaption{font-size:12px}.ks-home-question-link{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.ks-faq-list summary>span{transition:none}}
