/* Kayla's Systems corporate design: native typography, original PNG logo, no generated visuals. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--brand-ink);background:var(--brand-bg);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--brand-highlight);outline-offset:4px}
::selection{background:var(--brand-accent);color:var(--brand-ink)}
.container{width:min(calc(100% - 64px),var(--content-max));margin-inline:auto}
.skip-link{position:absolute;left:12px;top:-120px;z-index:1000;background:#fff;padding:12px 16px}
.skip-link:focus{top:12px}
.eyebrow{margin:0 0 19px;color:var(--brand-highlight);font-size:12px;letter-spacing:.065em;font-weight:700;text-transform:uppercase}
h1,h2,h3,p{overflow-wrap:break-word}
h1,h2,h3{font-weight:690;line-height:1.18;letter-spacing:-.045em}
h1{font-size:clamp(42px,5vw,70px)}
h2{font-size:clamp(28px,3vw,42px)}
h3{font-size:23px}
p{margin:0 0 18px}
a:not(.btn):not(.brand):not(.nav-link):not(.header__cta):not(.footer__brand):hover{text-decoration:underline;text-underline-offset:4px}
.btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 24px;border-radius:7px;font-size:14px;font-weight:700;transition:background-color .18s,border-color .18s}
.btn--primary{background:var(--brand-ink);color:#fff}
.btn--primary:hover{background:var(--brand-highlight)}
.btn--outline{background:transparent;color:var(--brand-ink);border:1px solid var(--brand-line)}
.btn--outline:hover{border-color:var(--brand-highlight)}
.btn--light{background:#fff;color:var(--brand-ink)}
.btn--light:hover{background:var(--brand-accent)}
.text-link{display:inline-block;color:var(--brand-highlight);font-size:14px;font-weight:750;margin-top:12px}
.text-link:hover{text-decoration:underline;text-underline-offset:5px}
/* Global navigation */
.header{background:#fff;border-bottom:1px solid var(--brand-line)}
.header__inner{display:flex;align-items:center;min-height:86px;gap:30px}
.brand{display:inline-flex;align-items:center;gap:13px;flex:0 0 auto}
.brand__logo{display:block;width:56px;height:56px;object-fit:contain}
.brand span{display:flex;flex-direction:column;line-height:1.18}
.brand strong{font-size:16px;font-weight:780;letter-spacing:-.02em;white-space:nowrap}
.brand small{font-size:10px;font-weight:650;color:var(--brand-muted);margin-top:5px;white-space:nowrap}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex:1}
.nav-link{font-size:13px;color:#51645a;font-weight:580;white-space:nowrap}
.nav-link:hover,.nav-link.is-current{color:var(--brand-ink)}
.nav-link.is-current{font-weight:750}
.header__cta{flex:0 0 auto;padding:11px 18px;border-radius:6px;background:var(--brand-ink);color:#fff;font-size:13px;font-weight:680}
.header__cta:hover{background:var(--brand-highlight)}
.menu-toggle{display:none;border:1px solid var(--brand-line);border-radius:6px;padding:8px 13px;background:#fff;font-size:13px;font-weight:700}
/* Hero */
.hero{background:#f1f5ef;border-bottom:1px solid var(--brand-line)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.65fr);gap:60px;align-items:center;padding-block:96px 108px}
.hero__copy h1{max-width:840px;margin:0 0 27px}
.hero__copy h1 span{color:var(--brand-highlight)}
.hero .lead{max-width:680px;font-size:18px;line-height:1.75;color:var(--brand-muted);margin-bottom:30px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.hero__brand{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:340px;padding:45px 24px;background:#fff;border:1px solid var(--brand-line);border-radius:14px;text-align:center}
.hero__logo{display:block;width:min(240px,90%);height:230px;object-fit:contain;margin-bottom:12px}
.hero__brand strong{font-size:20px;font-weight:800;letter-spacing:.01em}
.hero__brand span{margin-top:6px;font-size:11px;letter-spacing:.11em;color:var(--brand-muted)}
/* Content */
.section{padding-block:85px}
.section--topless{padding-top:0}
.section--muted{background:#edf2ec}
.section-head{max-width:740px;margin-bottom:36px}
.section-head h2{margin:0}
.page-intro{padding-block:75px 80px}
.page-intro h1{max-width:940px;margin:0 0 20px}
.lead{max-width:740px;color:var(--brand-muted);font-size:17px;line-height:1.8}
.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.service{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:31px;border:1px solid var(--brand-line);border-radius:10px;background:#fff}
.service__number{font-size:12px;font-weight:750;color:var(--brand-highlight)}
.service h3{margin:22px 0 12px}
.service>p{font-size:14px;color:var(--brand-muted);line-height:1.75}
.service ul{list-style:none;margin:4px 0 12px;padding:0}
.service li{display:flex;align-items:flex-start;gap:10px;margin:11px 0;font-size:13px;line-height:1.55}
.service li .ks-icon{color:var(--brand-highlight);font-size:12px;margin-top:3px;flex:0 0 auto}
.service .text-link{margin-top:auto;padding-top:15px}
.split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(40px,7vw,115px);align-items:start}
.split h2{margin:0}
.split>div:last-child{max-width:740px}
.split>div:last-child p{color:var(--brand-muted);line-height:1.85}
.projects-short{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.projects-short article{padding:28px 30px;border:1px solid var(--brand-line);border-radius:9px;background:#fff}
.projects-short h3{margin:0 0 12px}
.projects-short p{margin:0;font-size:14px;line-height:1.75;color:var(--brand-muted)}
.project-list{border-top:1px solid var(--brand-line)}
.project-row{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:33px 0;border-bottom:1px solid var(--brand-line)}
.project-row .eyebrow{margin:0 0 9px}
.project-row h2{margin:0}
.project-row small{display:inline-block;font-size:12px;font-weight:720;color:var(--brand-highlight);margin-bottom:12px}
.project-row p{max-width:590px;color:var(--brand-muted);font-size:15px}
/* Contact banner styles are implemented below. */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:80px;align-items:start}
.contact-grid>div>p:not(.eyebrow){max-width:620px;margin:24px 0;color:var(--brand-muted)}
.email{display:inline-block;font-size:clamp(21px,3vw,39px);font-weight:700;letter-spacing:-.025em;color:var(--brand-highlight);overflow-wrap:anywhere}
.contact-grid aside{padding:30px;border:1px solid var(--brand-line);border-radius:9px;background:#fff}
.contact-grid aside h2{font-size:23px;margin:0 0 15px}
.contact-grid aside p{color:var(--brand-muted);font-size:14px}
.legal{max-width:850px}
.legal h2{font-size:21px;margin:28px 0 10px}
.legal p{font-size:15px;color:var(--brand-muted);line-height:1.85}
/* Footer */
.footer{background:#fff;border-top:1px solid var(--brand-line)}
.footer__main{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-block:45px}
.footer__brand{display:inline-flex;align-items:center;gap:13px;font-size:15px;font-weight:760}
.footer__logo{width:44px;height:44px;object-fit:contain}
.footer__main>div p{margin:6px 0 0;color:var(--brand-muted);font-size:13px}
.footer__main nav{display:flex;flex-wrap:wrap;gap:22px}
.footer__main nav a{font-size:13px;font-weight:570}
.footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:22px 0;border-top:1px solid var(--brand-line);font-size:12px;color:var(--brand-muted)}
/* Progressive fallback */
.server-fallback{padding-block:50px}
.server-fallback__intro{max-width:780px}
.server-fallback__intro h1{margin-top:0}
.server-fallback__services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-block:35px}
.server-fallback__services article{padding:24px;border:1px solid var(--brand-line);border-radius:8px;background:#fff}
.server-fallback__services h2{font-size:21px}
.server-fallback__services p{font-size:14px;color:var(--brand-muted)}
/* Reduced layout for tablet and mobile */
@media(max-width:1040px){
  .header__inner{gap:15px}
  .nav{gap:15px}
  .hero__grid{grid-template-columns:1fr .55fr;gap:28px}
  .hero__brand{min-height:280px}
  .hero__logo{height:170px}
  .services{gap:12px}
  .service{padding:23px}
}
@media(max-width:820px){
  .container{width:min(calc(100% - 40px),var(--content-max))}
  .header__inner{min-height:76px}
  .brand__logo{width:50px;height:50px}
  .brand strong{font-size:15px}
  .nav{display:none;position:absolute;z-index:20;left:0;right:0;top:76px;padding:20px;background:#fff;border-bottom:1px solid var(--brand-line);box-shadow:0 12px 25px rgba(23,43,34,.09)}
  .header{position:relative}
  .nav.is-open{display:flex;align-items:stretch;flex-direction:column}
  .nav-link{font-size:15px;padding:6px 0}
  .menu-toggle{display:block}
  .header__cta{margin-left:auto}
  .hero__grid{grid-template-columns:1fr;padding-block:64px}
  .hero__brand{min-height:210px;padding:25px}
  .hero__logo{height:150px;width:160px}
  .services{grid-template-columns:1fr}
  .service{padding:26px}
  .split,.contact-grid{grid-template-columns:1fr;gap:24px}
  .projects-short{grid-template-columns:1fr}
  .project-row{grid-template-columns:1fr;gap:10px}
  .footer__main{align-items:flex-start;flex-direction:column}
  .server-fallback__services{grid-template-columns:1fr}
}
@media(max-width:520px){
  .container{width:calc(100% - 32px)}
  h1{font-size:clamp(34px,9.7vw,45px)}
  h2{font-size:29px}
  .header__inner{gap:10px}
  .brand{gap:8px}
  .brand__logo{width:42px;height:42px}
  .brand strong{font-size:13px}
  .brand small{font-size:9px}
  .header__cta{display:none}
  .menu-toggle{margin-left:auto}
  .hero__grid{padding-block:46px}
  .hero .lead{font-size:16px}
  .actions{flex-direction:column}
  .actions .btn{width:100%}
  .hero__brand{min-height:180px}
  .hero__logo{height:120px}
  .section{padding-block:58px}
  .section--topless{padding-top:0}
  .page-intro{padding-block:55px}
  .footer__main nav{gap:14px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}
/*
 * Contact call-to-action.
 * Keep these critical rules in site.css: this stylesheet is already loaded on
 * every route, and the texture must be CSS background, never a flow <img>.
 */
.contact-band{
  padding:clamp(24px,4vw,48px) 0 clamp(34px,5vw,68px);
  background:var(--brand-bg);
}
.contact-band__inner{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(24px,4vw,66px);
  min-height:248px;
  padding:clamp(36px,4.3vw,60px) clamp(30px,5vw,70px);
  background-color:var(--contact-surface,#092c24);
  background-image:url("/assets/brand/contact-band-texture.png");
  background-position:center;
  background-size:100% 100%;
  background-repeat:no-repeat;
  color:var(--contact-text,#f5fbf8);
  border-radius:var(--contact-radius,22px);
  border:1px solid rgba(106,240,177,.24);
  box-shadow:var(--contact-elevation,0 18px 50px rgba(8,33,24,.14));
  overflow:hidden;
}
.contact-band__copy{
  position:relative;
  z-index:1;
  min-width:0;
  max-width:730px;
}
.contact-band .contact-band__label{
  margin:0 0 14px;
  color:var(--contact-label,#9ef4c0);
  font-size:11px;
  font-weight:760;
  letter-spacing:.13em;
}
.contact-band h2{
  margin:0 0 12px;
  color:var(--contact-text,#f5fbf8);
  font-size:clamp(34px,3.5vw,48px);
  line-height:1.12;
  letter-spacing:-.045em;
}
.contact-band .contact-band__description{
  margin:0;
  max-width:610px;
  color:var(--contact-muted,#c7dcd1);
  font-size:clamp(13px,1.14vw,15px);
  line-height:1.7;
}
.contact-band .contact-band__action{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:55px;
  padding:15px 24px;
  border:1px solid rgba(255,255,255,.75);
  border-radius:10px;
  background:#fff;
  color:var(--contact-button-ink,#143b2d);
  font-size:14px;
  font-weight:750;
  line-height:1.3;
  white-space:nowrap;
  box-shadow:0 5px 22px rgba(0,0,0,.15);
  transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.contact-band .contact-band__action:hover{
  background:#effaf2;
  color:var(--contact-button-ink,#143b2d);
  box-shadow:0 9px 24px rgba(0,0,0,.24);
  transform:translateY(-2px);
}
.contact-band .contact-band__action:focus-visible{
  outline:3px solid var(--contact-label,#9ef4c0);
  outline-offset:4px;
}
@media(max-width:880px){
  .contact-band__inner{
    gap:25px;
    padding:38px 35px;
  }
  .contact-band h2{font-size:clamp(31px,4.5vw,40px)}
}
@media(max-width:680px){
  .contact-band{padding:26px 0 35px}
  .contact-band__inner{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:25px;
    min-height:300px;
    padding:40px 26px 30px;
    border-radius:18px;
    background-size:100% 100%;
  }
  .contact-band .contact-band__label{margin-bottom:13px}
  .contact-band h2{
    margin-bottom:13px;
    font-size:clamp(29px,7.6vw,38px);
  }
  .contact-band .contact-band__description{font-size:14px}
  .contact-band .contact-band__action{
    justify-content:space-between;
    width:100%;
    max-width:none;
    white-space:normal;
    text-align:left;
  }
}
@media(prefers-reduced-motion:reduce){
  .contact-band .contact-band__action{transition:none}
  .contact-band .contact-band__action:hover{transform:none}
}

/* All interface icons: genuine Font Awesome Free 6.7.2, locally hosted. */
.ks-icon{display:inline-block;flex:0 0 auto;font-size:1em;line-height:1;vertical-align:-.07em}
.btn{gap:10px}
.header__cta{display:inline-flex;align-items:center;gap:9px}
.text-link{display:inline-flex;align-items:center;gap:9px}
.text-link .ks-icon{font-size:12px;transition:transform .18s ease}
.text-link:hover .ks-icon{transform:translateX(3px)}
.service__head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}
.service__head>.ks-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#eaf2ec;color:var(--brand-highlight);font-size:16px}
.service h3{margin-top:15px}
.email .ks-icon{font-size:.64em;margin-right:12px;vertical-align:.12em}
.footer__bottom a .ks-icon{margin-right:7px}
.nav-link .ks-icon{display:none}
.menu-toggle{align-items:center;gap:9px}
.menu-toggle__close{display:none}
.menu-toggle[aria-expanded="true"] .menu-toggle__open{display:none}
.menu-toggle[aria-expanded="true"] .menu-toggle__close{display:inline-flex}
.contact-band__action .ks-icon{color:#238253;font-size:17px}
@media(max-width:820px){
  .menu-toggle{display:inline-flex}
  .nav-link .ks-icon{display:inline-block;width:20px;margin-right:11px;color:var(--brand-highlight)}
}
@media(prefers-reduced-motion:reduce){
  .text-link .ks-icon{transition:none}
  .text-link:hover .ks-icon{transform:none}
}
