/* KEYPER = KEY + KEEPER. Brand integration, progressive enhancement only. */
.home .kp45-brand-signature{display:flex;align-items:center;justify-content:space-between;gap:18px 28px;padding:17px 0 19px;margin:-3px 0 18px;border-top:1px solid rgba(160,102,61,.19);border-bottom:1px solid rgba(160,102,61,.19);position:relative;isolation:isolate}
.home .kp45-brand-origin-label{display:block;color:#8c6047;font-size:10px;letter-spacing:.08em;font-weight:800;margin-bottom:5px}
.home .kp45-origin-formula{display:flex;align-items:baseline;gap:8px;white-space:nowrap;letter-spacing:-.045em}
.home .kp45-origin-formula strong{font:900 clamp(16px,1.8vw,23px)/1.2 "Noto Sans JP",sans-serif;color:#453328}
.home .kp45-origin-formula i{font:400 14px/1 "Noto Sans JP",sans-serif;color:#c6a087;font-style:normal}
.home .kp45-origin-formula em{font:900 clamp(20px,2.1vw,29px)/1.2 "Noto Sans JP",sans-serif;color:#be4e1d;font-style:normal;letter-spacing:-.05em;position:relative}
.home .kp45-origin-formula em::after{content:"";display:block;width:100%;height:2px;margin-top:4px;background:linear-gradient(90deg,#b84313,#eabe84);transform:scaleX(.12);transform-origin:left;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.home .kp45-brand-signature.kp45-is-visible .kp45-origin-formula em::after{transform:scaleX(1)}
.home .kp45-brand-signature>p{font-size:clamp(13px,1.3vw,17px);font-weight:800;color:#443329;line-height:1.6;letter-spacing:-.035em;margin:0;white-space:nowrap}
.home .kp45-mobile-only{display:none}
/* Tie the hero's existing editorial marker into the origin story. No loading overlay. */
.home .kos-hero-v342 .kp45-hero-edition{color:#9a633d;letter-spacing:.17em}
.home .kos-hero-v342 .kp45-hero-edition span{color:#c64a18;display:inline-block;transition:transform .65s cubic-bezier(.2,.8,.2,1)}
.home .kos-hero-v342.kp45-ready .kp45-hero-edition span:last-child{transform:translateX(3px)}
/* A fine unlock line between chapter heading and actual work examples. */
.home .kp43-inversion-zone .kos-workscope-layout{position:relative}
.home .kp43-inversion-zone .kos-workscope-heading::after{content:"";display:block;width:clamp(58px,17vw,200px);height:3px;margin:22px 0 0;background:linear-gradient(90deg,#bb4d1b 0%,#efb67c 72%,transparent 100%);transform-origin:left;transform:scaleX(.28);transition:transform .95s cubic-bezier(.2,.8,.2,1)}
.home .kp43-inversion-zone.kp45-is-visible .kos-workscope-heading::after{transform:scaleX(1)}
/* Photo entrance is a minimal composition shift, never hide cases/links. */
.home .kos-cases-section .kos-case-visual{overflow:hidden}
.home .kos-cases-section .kos-case-visual img{transition:transform .7s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.home .kos-cases-section .kos-case:hover .kos-case-visual img{transform:scale(1.045)}}
/* Price details: arrive directly at the locksmith services; navigation is compact. */
.kp45-price-nav{display:flex;align-items:center;flex-wrap:wrap;gap:9px 21px;margin-top:17px}
.kp45-price-nav a{font-size:12px;font-weight:800;letter-spacing:-.02em;color:#764323;text-decoration:underline;text-decoration-color:#e1bc96;text-underline-offset:5px;min-height:35px;display:inline-flex;align-items:center;gap:6px}
.kp45-price-nav a.kp45-price-nav-primary{color:#b74718;font-weight:900}
.kp45-price-nav a:hover{color:#a23c15}
#kos-price-extras,#kos-price-other,#travel-fees{scroll-margin-top:120px}
#kos-price-other{padding-top:9px}
@media(max-width:700px){
 .home .kp45-brand-signature{gap:9px;padding:12px 0 15px;margin-bottom:16px;display:block}
 .home .kp45-brand-origin-label{font-size:9px}
 .home .kp45-origin-formula{gap:5px}
 .home .kp45-origin-formula strong{font-size:clamp(14px,4.2vw,18px)}
 .home .kp45-origin-formula i{font-size:11px}
 .home .kp45-origin-formula em{font-size:clamp(17px,5vw,21px)}
 .home .kp45-brand-signature>p{margin-top:7px;font-size:12px;white-space:normal}
 .home .kp45-mobile-only{display:none}
 .home .kos-hero-v342 .kp45-hero-edition{letter-spacing:.08em;font-size:9px}
 .kp45-price-nav{gap:4px 13px;margin-top:13px}
 .kp45-price-nav a{font-size:11px;min-height:34px}
 #kos-price-extras,#kos-price-other,#travel-fees{scroll-margin-top:82px}
}
@media(prefers-reduced-motion:reduce){
 .home .kp45-origin-formula em::after,.home .kos-hero-v342 .kp45-hero-edition span,.home .kp43-inversion-zone .kos-workscope-heading::after,.home .kos-cases-section .kos-case-visual img{transition:none!important}
 .home .kp45-origin-formula em::after,.home .kp43-inversion-zone .kos-workscope-heading::after{transform:none!important}
}

/* v3.4.6 audit: make shortcut targets accessible below sticky header. */
#kos-extra-case{scroll-margin-top:122px}
@media(max-width:700px){#kos-extra-case{scroll-margin-top:84px}}
