/* HOMEPAGE PALETTE 2026-10-26: isolated from blogs, forms logic and shared CSS */
.home{
  --lx-navy:#17483F;--lx-navy2:#205A4F;--lx-gold:#17483F;--lx-gold2:#EAF2EC;--lx-gold-d:#205A4F;
  --lx-ivory:#EAF2EC;--lx-ink:#263B34;--ink:#263B34;--sub:#42594F;--bg:#FFFFFF;
  --sky:#EAF2EC;--sky2:#DCEAE1;--blue:#205A4F;--blue-d:#17483F;
  --org:#A94320;--org-d:#873419;--line:#CEDFD4;
  background:#FFFFFF;color:#263B34
}
/* Make the brand header and navigation cohesive; protect its layout. */
.home .head{background:#17483F;border-color:#17483F;box-shadow:0 1px 0 #35665C}
.home .logo,.home .logo small,.home .tel,.home .tel small,.home .tel span{color:#FFFFFF}
.home .brand-mark{background:#FFFFFF;color:#17483F;box-shadow:inset 0 0 0 2px #EAF2EC}
.home .head-nav{background:#205A4F}
.home .head-nav a{color:#FFFFFF}
.home .head-nav a::after{background:#EAF2EC}
.home .head-nav a:hover{color:#FFFFFF;background:#17483F}
.home .hero{background:#17483F}
.home .hero-visual::after{background:linear-gradient(90deg,rgba(23,72,63,.96) 0%,rgba(23,72,63,.84) 30%,rgba(23,72,63,.40) 62%,rgba(23,72,63,.08) 100%)}
.home .hero .eyebrow,.home .hero h1 em{color:#EAF2EC}
.home .hero .eyebrow::before{background:#EAF2EC}
.home .hero .hero-desc,.home .hero .hero-note{color:#F0F7F2}
.home .btn,.home .head-contact .btn,.home form .btn{background:#A94320;color:#FFFFFF;border:1px solid #A94320;border-radius:8px;box-shadow:none;text-shadow:none}
.home .btn::before{display:none}
.home .btn:hover,.home .head-contact .btn:hover,.home form .btn:hover{background:#873419;color:#FFFFFF;border-color:#873419;box-shadow:none}
.home .btn.secondary,.home .hero-actions .btn.secondary{background:#FFFFFF;color:#17483F;border:2px solid #17483F;box-shadow:none}
.home .hero-actions .btn.secondary{border-color:#FFFFFF}
.home .btn.secondary:hover,.home .hero-actions .btn.secondary:hover{background:#EAF2EC;color:#17483F}
.home .btn:focus-visible,.home a:focus-visible,.home button:focus-visible{outline:3px solid #A94320;outline-offset:3px}
.home .hero-actions .btn:focus-visible,.home .head .btn:focus-visible{outline-color:#FFFFFF}
.home .points{background:#205A4F;box-shadow:0 0 0 100vmax #205A4F}
.home .points div::before,.home .split li::before{background:#EAF2EC}
.home .split li::after{border-color:#17483F}
.home section.sky,.home th{background:#EAF2EC}
.home .section-label{color:#205A4F}
.home h2,.home .card h3{color:#17483F}
.home h2::after{background:#205A4F}
.home .estimate-link{border-color:#CEDFD4}
.home .estimate-link::before{background-color:#17483F}
.home .estimate-link:hover{border-color:#17483F}
.home .estimate-number,.home .more,.home ol.flow b{color:#205A4F}
.home .split .photo{background-color:#17483F!important;box-shadow:24px 24px 0 -2px #DCEAE1}
.home ol.flow li::before{background:#17483F;color:#FFFFFF;box-shadow:0 0 0 3px #FFFFFF,0 0 0 4px #BBD4C5}
.home #blog .card{border-top-color:#205A4F}
.home #blog .btn{background:#FFFFFF;border:1px solid #17483F;color:#17483F}
.home #blog .tag{background:#EAF2EC;color:#17483F}
.home details{border-left-color:#205A4F}
.home .cta{background-color:#17483F}
.home .cta::before{background:linear-gradient(180deg,rgba(23,72,63,.93),rgba(23,72,63,.86))}
.home form{background:#FFFFFF;color:#263B34;border-top:4px solid #205A4F}
.home form label,.home form input,.home form select,.home form textarea{color:#263B34}
.home form input,.home form select,.home form textarea{background:#FFFFFF;border-color:#92B1A0}
.home footer{background:#17483F;border-top-color:#205A4F;color:#FFFFFF}
.home .stick .q{background:#A94320;color:#FFFFFF}
.home .stick .t{background:#17483F;color:#FFFFFF}
.home .tag{background:#17483F;color:#FFFFFF}
.home #contact #qform :is(input,select,textarea,button):focus-visible{outline-color:#A94320}
/* Override hard-coded light background of the existing staff strip without changing identity/photo. */
.home section[aria-labelledby="staff-home-heading"]{background:#EAF2EC!important}
.home #staff-home-heading{color:#17483F}
@media(min-width:761px){
 .home .hero-visual::after{background:linear-gradient(0deg,rgba(23,72,63,.96) 0%,rgba(23,72,63,.86) 30%,rgba(23,72,63,.42) 46%,rgba(23,72,63,0) 58%)}
}
@media(max-width:760px){
 .home .hero-visual::after{background:linear-gradient(180deg,#17483F 0%,transparent 35%)}
 .home .split .photo{box-shadow:12px 12px 0 -2px #DCEAE1}
 .home .stick{background:#FFFFFF}
}
@media(prefers-color-scheme:dark){
 .home:not([data-theme="light"]){color-scheme:light}
}
.home[data-theme="dark"]{color-scheme:light}

/* GitLab Duo review fixes: visible keyboard focus against dark green. */
.home .head a:focus-visible,.home .head-nav a:focus-visible,
.home .points a:focus-visible,.home .cta a:focus-visible,
.home footer a:focus-visible,.home .stick a:focus-visible{
  outline:3px solid #FFFFFF;outline-offset:3px
}
.home .cta form a:focus-visible{outline-color:#A94320}
.home .stick a:focus-visible{outline-color:#17483F}
/* Contrast within the dark CTA section: never inherit dark headings. */
.home .cta h2{color:#FFFFFF}
.home .cta h2::after{background:#EAF2EC}
/* Blog-list button gets a visible hover state despite its specific base rule. */
.home #blog .btn:hover{background:#EAF2EC;color:#17483F;border-color:#17483F}

/* Homepage typography: consistent, legible Japanese sans; no extra webfont download. */
.home,.home h1,.home h2,.home h3,.home .card h3,.home .estimate-link h3,
.home ol.flow h3,.home main p,.home main li,.home main dd,.home main td,
.home .logo,.home .head-nav a,.home .btn,.home button,.home input,
.home select,.home textarea,.home summary,.home label{
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,
              "Noto Sans CJK JP","Noto Sans JP",-apple-system,BlinkMacSystemFont,sans-serif;
}

/* Explicitly cover the hero headline and its emphasized span. */
.home .hero h1,.home .hero h1 em{font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans CJK JP","Noto Sans JP",sans-serif;font-style:normal}

/* Estimate choices: simple SVG category icons instead of decorative photos. */
.home #estimate .estimate-link::before{display:none!important;content:none!important}
.home #estimate .estimate-link{padding-top:0;overflow:hidden}
.home #estimate .estimate-link .estimate-icon{height:164px;margin:0 0 19px;display:flex;align-items:center;justify-content:center;background:#EAF2EC;padding:14px}
.home #estimate .estimate-link .estimate-icon svg{width:144px;height:112px;max-width:100%;display:block;flex:none}
.home #estimate .estimate-link .estimate-icon~*{position:relative}
@media(max-width:760px){.home #estimate .estimate-link .estimate-icon{height:130px;margin-bottom:15px}.home #estimate .estimate-link .estimate-icon svg{width:120px;height:100px}}

/* Contact preference: radio controls must not inherit full-width text inputs. */
.home #contact #qform #qcm label{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0 0 12px;text-align:left;cursor:pointer;min-height:44px}
.home #contact #qform #qcm label:last-child{margin-bottom:0}
.home #contact #qform #qcm input[type="radio"]{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:0;padding:0;accent-color:#17483F}
