/* Shared header, footer, buttons and accessibility rules for every page */
[hidden]{display:none!important;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{transition:none!important;animation:none!important;}
}
[id]{scroll-margin-top:84px;}
.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:#2E4E1A;color:#FDFAF5;padding:0.75rem 1rem;font-weight:700;text-decoration:none;}
.skip-link:focus{left:1rem;top:0.5rem;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* HEADER */
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;height:64px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0 4rem;background:rgba(244,239,227,0.97);border-bottom:1px solid rgba(90,122,58,0.15);font-family:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;}
.sh-brand{text-decoration:none;display:flex;flex-direction:column;white-space:nowrap;flex-shrink:0;}
.sh-name{font-family:'Lora',Georgia,serif;font-size:1.1rem;font-weight:600;color:#2E4E1A;line-height:1.1;}
.sh-sub{font-size:0.66rem;font-weight:500;letter-spacing:0.14em;text-transform:uppercase;color:#6F5A4A;}
.sh-nav{display:flex;align-items:center;}
.sh-menu{display:flex;gap:1.5rem;list-style:none;margin:0;padding:0;align-items:center;}
.sh-menu a{font-size:0.86rem;font-weight:500;color:#5C4430;text-decoration:none;white-space:nowrap;}
.sh-menu a:hover,.sh-menu a[aria-current="page"]{color:#2E4E1A;}
.sh-menu a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px;text-decoration-color:#7D9B5E;}
.sh-menu-cta{display:none;}
.sh-cta{flex-shrink:0;white-space:nowrap;}
.sh-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;min-width:44px;min-height:44px;padding:10px;}
.sh-toggle .bar{display:block;width:24px;height:2px;background:#2E4E1A;border-radius:2px;transition:transform 0.2s,opacity 0.2s;}
.sh-toggle[aria-expanded="true"] .bar:nth-child(2){transform:translateY(7px) rotate(45deg);}
.sh-toggle[aria-expanded="true"] .bar:nth-child(3){opacity:0;}
.sh-toggle[aria-expanded="true"] .bar:nth-child(4){transform:translateY(-7px) rotate(-45deg);}

/* BUTTONS */
.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-family:'Nunito',system-ui,sans-serif;font-size:0.8rem;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;padding:0.75rem 1.6rem;border-radius:3px;text-decoration:none;cursor:pointer;transition:background 0.15s,border-color 0.15s;}
.btn-primary{color:#FDFAF5;background:#2E4E1A;border:1.5px solid #2E4E1A;}
.btn-primary:hover{background:#3F6624;border-color:#3F6624;}
.btn-secondary{color:#2E4E1A;background:transparent;border:1.5px solid #A8BF8E;font-weight:600;}
.btn-secondary:hover{border-color:#5A7A3A;background:rgba(90,122,58,0.06);}

/* CTA BAND used after service sections and on inner pages */
.cta-band{margin-top:2.5rem;background:#2E4E1A;border-radius:8px;padding:2rem 2.25rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;}
.cta-band p{color:rgba(244,239,227,0.88);font-size:0.98rem;line-height:1.75;max-width:60ch;margin:0;}
.cta-band strong{display:block;font-family:'Lora',Georgia,serif;font-size:1.25rem;font-weight:500;color:#F4EFE3;margin-bottom:0.25rem;}
.cta-band .btn-primary{background:#A8BF8E;border-color:#A8BF8E;color:#2E4E1A;}
.cta-band .btn-primary:hover{background:#F4EFE3;border-color:#F4EFE3;}

/* FOOTER */
.site-footer{background:#2E4E1A;color:rgba(244,239,227,0.8);padding:3rem 4rem 2rem;font-family:'Nunito',system-ui,sans-serif;}
.sf-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.2fr 1.6fr auto;gap:2.5rem;align-items:start;}
.sf-brand{font-family:'Lora',Georgia,serif;font-size:1.1rem;font-weight:500;color:#A8BF8E;margin-bottom:0.5rem;}
.sf-meta{font-size:0.85rem;line-height:1.8;margin:0;}
.site-footer a{color:#F4EFE3;}
.sf-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0.35rem 1.5rem;}
.sf-links a{font-size:0.86rem;text-decoration:none;display:inline-block;padding:0.2rem 0;}
.sf-links a:hover{text-decoration:underline;}
.site-footer .btn-primary{background:#A8BF8E;border-color:#A8BF8E;color:#2E4E1A;}
.sf-copy{max-width:1200px;margin:2rem auto 0;padding-top:1.25rem;border-top:1px solid rgba(168,191,142,0.2);font-size:0.78rem;color:rgba(244,239,227,0.7);}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #A07820;outline-offset:3px;}

@media (max-width:960px){
  .site-header{padding:0 1.25rem;}
  .sh-cta{display:none;}
  .sh-toggle{display:flex;}
  .sh-menu{display:none;position:fixed;top:64px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#F4EFE3;padding:0.5rem 1.25rem 1.25rem;border-bottom:1px solid rgba(90,122,58,0.15);box-shadow:0 12px 24px rgba(46,78,26,0.12);max-height:calc(100vh - 64px);overflow-y:auto;}
  .sh-menu.open{display:flex;}
  .sh-menu li{border-bottom:1px solid rgba(90,122,58,0.15);}
  .sh-menu li:last-child{border-bottom:none;}
  .sh-menu a{display:block;padding:0.85rem 0;font-size:1rem;}
  .sh-menu-cta{display:block;padding-top:0.75rem;}
  .sh-menu-cta a.btn-primary{display:flex;width:100%;color:#FDFAF5;padding:0.85rem 1rem;}
  .site-footer{padding:2.5rem 1.25rem 1.5rem;}
  .sf-inner{grid-template-columns:1fr;gap:1.75rem;}
  .cta-band{padding:1.6rem 1.4rem;}
}
@media (max-width:380px){
  .sh-name{font-size:1rem;}
  .sh-sub{font-size:0.6rem;}
}
@media (max-width:600px){
  input,select,textarea{font-size:16px!important;}
}

/* INNER PAGES (About, service pages) — scoped to body.page */
body.page{margin:0;font-family:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;background:#F4EFE3;color:#3A2A1A;font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased;}
body.page *,body.page *::before,body.page *::after{box-sizing:border-box;}
.page main{max-width:880px;margin:0 auto;padding:8rem 2rem 4.5rem;}
.page .eyebrow{font-size:0.72rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:#4A6630;margin:0 0 0.7rem;}
.page h1{font-family:'Lora',Georgia,serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:500;color:#2E4E1A;line-height:1.2;margin:0 0 1rem;}
.page .lead{font-size:1.08rem;color:#5C4430;line-height:1.85;margin:0 0 1.5rem;max-width:64ch;}
.page h2{font-family:'Lora',Georgia,serif;font-size:1.45rem;font-weight:500;color:#2E4E1A;line-height:1.3;margin:2.5rem 0 0.7rem;}
.page h3{font-size:1rem;font-weight:700;color:#2E4E1A;margin:1.5rem 0 0.4rem;}
.page p{margin:0 0 1rem;color:#5C4430;}
.page ul.list{margin:0 0 1rem;padding-left:1.2rem;color:#5C4430;}
.page ul.list li{margin-bottom:0.45rem;}
.page main a:not([class]){color:#2E4E1A;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#7D9B5E;}
.page .hero-actions{display:flex;gap:0.9rem;flex-wrap:wrap;align-items:center;margin:0.5rem 0 0.75rem;}
.page .small{font-size:0.88rem;color:#6F5A4A;}
.page .panel{background:#FDFAF5;border:1px solid #DDD4BF;border-radius:8px;padding:1.5rem 1.75rem;margin:1.5rem 0;}
.page .panel p:last-child{margin-bottom:0;}
.page .note{background:#F0E0A8;border:1px solid #D4B84A;border-radius:6px;padding:1rem 1.25rem;font-size:0.9rem;color:#5C4430;margin:1.5rem 0;}
.page .related{margin-top:2.5rem;border-top:1px solid #DDD4BF;padding-top:1.5rem;}
.page .related ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0.4rem;}
.page .cred-link{display:inline-flex;align-items:center;gap:0.6rem;background:#EDE5D3;border:1px solid #D4E4C3;border-radius:8px;padding:0.8rem 1rem;text-decoration:none;color:#2E4E1A;font-size:0.88rem;line-height:1.5;margin:0.5rem 0 1rem;}
.page .cred-link strong{display:block;}
.page .cred-link:hover{border-color:#7D9B5E;}
@media (max-width:960px){ .page main{padding:6.5rem 1.25rem 3.5rem;} }
@media (max-width:600px){ .page .hero-actions .btn-primary{width:100%;} }

/* FloorBoard sample screens */
.fb-shots{margin:1.5rem 0 0.5rem;}
.fb-note{font-size:0.82rem;color:#6F5A4A;margin:0 0 1rem;}
.fb-wide{display:flex;flex-direction:column;gap:1.25rem;}
.fb-tall{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.25rem;}
.fb-shots figure{margin:0;background:#FDFAF5;border:1px solid #DDD4BF;border-radius:8px;overflow:hidden;}
.fb-shots a{display:block;}
.fb-shots img{display:block;width:100%;height:auto;}
.fb-shots figcaption{font-size:0.85rem;font-weight:600;color:#2E4E1A;padding:0.6rem 0.9rem;border-top:1px solid #DDD4BF;}
@media (max-width:700px){ .fb-tall{grid-template-columns:1fr;} }

/* contrast fixes for inner pages: keep light text on the green bands and footer */
.page .cta-band p{color:rgba(244,239,227,0.92);margin:0;}
.page .site-footer p,.page .site-footer .sf-meta{color:rgba(244,239,227,0.85);margin:0;}
.fb-hero{margin:1.75rem 0 0.5rem;}

/* About page headshot */
.about-hero{display:grid;grid-template-columns:1fr 240px;gap:2.5rem;align-items:center;}
.about-hero .headshot{display:block;width:100%;height:auto;border-radius:8px;border:1px solid #DDD4BF;}
@media (max-width:760px){ .about-hero{grid-template-columns:1fr;gap:1.5rem;} .about-hero .headshot{max-width:240px;} }
