/* KC Cutting Tools Beta v22 — Premium section reveals & mobile first-screen refinement.
   All changes are layered over the v21 stylesheet to preserve existing desktop content. */
/* Desktop hero remains unchanged. Mobile category cards are a separate normal-flow section. */
.kc-mobile-hero-categories{display:none}
.kc-mobile-contact-text{display:none}
/* Stronger reveal: text glides in from the left, visuals sweep from the right, cards rise in sequence. */
@media (prefers-reduced-motion:no-preference){
 html.kc-scroll-reveal-enabled .kc-scroll-reveal:not(.kc-is-inview) .kc-reveal-copy{
   opacity:0;transform:translate3d(-45px,25px,0);filter:blur(5px)
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal:not(.kc-is-inview) .kc-reveal-visual{
   opacity:0;transform:translate3d(58px,25px,0) scale(.94);filter:blur(7px) brightness(.75)
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal:not(.kc-is-inview) .kc-reveal-card{
   opacity:0;transform:translate3d(0,62px,0) scale(.94);filter:blur(3px)
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-copy{
   transition:opacity .86s cubic-bezier(.19,1,.22,1),transform .94s cubic-bezier(.16,1,.3,1),filter .92s ease
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-visual{
   transition:opacity 1s ease,transform 1.16s cubic-bezier(.16,1,.3,1),filter 1s ease
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-card{
   transition:opacity .86s ease,transform .96s cubic-bezier(.16,1,.3,1),filter .85s ease,border-color .28s ease,box-shadow .28s ease
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal.kc-is-inview .kc-reveal-copy,
 html.kc-scroll-reveal-enabled .kc-scroll-reveal.kc-is-inview .kc-reveal-visual,
 html.kc-scroll-reveal-enabled .kc-scroll-reveal.kc-is-inview .kc-reveal-card{
   opacity:1;transform:translate3d(0,0,0) scale(1);filter:none
 }
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-copy:nth-child(2){transition-delay:.11s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-copy:nth-child(3){transition-delay:.21s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-copy:nth-child(4){transition-delay:.3s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-visual{transition-delay:.15s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-card:nth-child(1){transition-delay:.12s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-card:nth-child(2){transition-delay:.24s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-card:nth-child(3){transition-delay:.36s}
 html.kc-scroll-reveal-enabled .kc-scroll-reveal .kc-reveal-card:nth-child(4){transition-delay:.48s}
 /* Thin gold accent wakes up as each section enters. */
 .kc-scroll-reveal .section-kicker{position:relative}
 .kc-scroll-reveal .section-kicker::after{content:'';display:block;width:0;height:2px;margin-top:12px;background:linear-gradient(90deg,#b48632,#ffdc8e,transparent);transition:width 1s cubic-bezier(.16,1,.3,1) .2s}
 .kc-scroll-reveal.kc-is-inview .section-kicker::after{width:clamp(45px,10vw,112px)}
 .kc-scroll-reveal .text-link{transition:color .3s,letter-spacing .35s}
 .kc-scroll-reveal .text-link:hover{letter-spacing:.055em;color:#fce2a0}
 .kc-scroll-reveal .kc-product-item:hover{transform:translateY(-8px) scale(1.01)!important;box-shadow:0 23px 55px rgba(0,0,0,.43),0 0 28px rgba(210,166,77,.17)}
}
/* The contact trigger becomes a refined, narrow bookmark instead of covering content. */
@media (max-width:760px){
 .contact-edge-tab{
   top:44%;right:0;min-height:0!important;height:122px!important;min-width:0!important;width:36px!important;
   gap:6px!important;padding:11px 5px!important;font-size:10px!important;
   border-radius:12px 0 0 12px!important;
   box-shadow:-3px 7px 18px rgba(0,0,0,.35),inset 1px 0 rgba(255,255,255,.33)!important;
   letter-spacing:.05em!important;z-index:36
 }
 .contact-edge-tab .contact-edge-text{display:none}
 .contact-edge-tab .kc-mobile-contact-text{display:block;writing-mode:vertical-rl;white-space:nowrap;font:800 10px/1.1 Manrope,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
 .contact-edge-tab .contact-edge-icon{font-size:17px!important;line-height:1!important}
 .contact-drawer{width:min(480px,94vw)!important}
 .contact-edge-tab:active{transform:translateY(-50%) scale(.97)}
 /* Limit the hero to the cinematic video; no category overlay on the large KC monogram. */
 .hero{height:clamp(380px,68svh,690px)!important;min-height:380px!important;max-height:none!important;overflow:hidden!important;background:#07090c}
 .hero .category-dock{display:none!important}
 .hero-media{overflow:hidden}
 /* 'contain' is intentional: preserve the complete KC logo in the 16:9 movie on portrait phones. */
 .hero .hero-video{object-fit:contain!important;object-position:center center!important;z-index:-2!important}
 .hero .hero-ambient{z-index:-4!important}
 .hero .hero-vignette{z-index:-1!important;background:linear-gradient(180deg,rgba(5,7,9,.20),transparent 30%,transparent 70%,rgba(5,7,9,.52))!important}
 .hero-content{top:clamp(126px,19vh,188px)!important;left:var(--pad)}
 .hero .eyebrow{font-size:clamp(8px,1.8vw,10px);letter-spacing:.1em;opacity:.92}
 .hero .scroll-hint{bottom:16px!important}
 .kc-mobile-hero-categories{display:block;position:relative;padding:24px clamp(14px,4vw,28px) 36px;background:radial-gradient(ellipse at 88% 0,rgba(4,108,76,.21),transparent 65%),linear-gradient(180deg,#070c0c,#091312 65%,#07100e);border-top:1px solid rgba(227,186,101,.19)}
 .kc-mobile-categories-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 18px;color:#e7c47e;letter-spacing:.18em;font:800 10px/1.2 Manrope,Arial,sans-serif;text-transform:uppercase}
 .kc-mobile-heading-line{width:28px;height:1px;background:linear-gradient(90deg,transparent,#d4a95e)}
 .kc-mobile-heading-line:last-child{transform:rotate(180deg)}
 .kc-mobile-categories-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-width:750px;margin:auto}
 .kc-mobile-categories-grid .kc-hero-card{min-height:clamp(96px,23vw,136px)!important;width:100%;padding:13px!important;transform:none!important;border-radius:15px}
 .kc-mobile-categories-grid .kc-hero-card .category-name{font-size:clamp(12px,3.1vw,18px);left:13px;bottom:14px;max-width:56%;right:35px}
 .kc-mobile-categories-grid .kc-hero-card .category-index{font-size:10px}
 .kc-mobile-categories-grid .kc-hero-card .kc-hero-card-image{height:75%;width:44%;top:50%;right:8px;object-fit:contain}
 .kc-mobile-categories-grid .kc-hero-card .category-arrow{right:10px;bottom:9px;font-size:17px}
 .kc-mobile-categories-grid .kc-hero-card:focus-visible{outline:2px solid #ffda8c;outline-offset:3px}
}
@media(max-width:390px){
 .hero{height:clamp(350px,62svh,560px)!important;min-height:350px!important}
 .kc-mobile-hero-categories{padding:18px 10px 28px}
 .kc-mobile-categories-grid{gap:8px}
 .kc-mobile-categories-grid .kc-hero-card{min-height:92px!important;padding:10px!important}
 .kc-mobile-categories-grid .kc-hero-card .category-name{left:10px;bottom:11px;font-size:12px;max-width:56%}
}
@media(prefers-reduced-motion:reduce){
 .kc-scroll-reveal *, .kc-mobile-hero-categories *{animation:none!important;transition:none!important}
}
