/*
 * Keyper Osaka Studio v3.5.9 — TOP layout spacing.
 * Deliberately scoped to front-page hero: no prices, images, services or data changed.
 * Preserve copy-left / door-right and payment / after-hours row order at all widths.
 */
.home .kos-hero-v342 .kos-hero-stage{
  gap:clamp(28px,4vw,58px)!important;
  padding:clamp(72px,6vw,94px) 0 clamp(56px,5vw,76px)!important;
  min-height:510px;
}
.home .kos-hero-v342 .kos-brand-hero-eyebrow{
  margin-bottom:24px!important;
}
.home .kos-hero-v342 .kos-brand-hero-copy h1{
  margin-bottom:32px!important;
}
.home .kos-hero-v342 .kos-brand-hero-subnav{
  margin-top:22px!important;
  gap:30px!important;
}
.home .kos-hero-v342 .kos-hero-visual{
  height:clamp(350px,29vw,404px)!important;
}
.home .kos-hero-v342 .kos-hero-bottom{
  padding:0 0 32px!important;
}
.home .kos-hero-v342 .kp53-payment.kos-hero-payment-strip{
  padding:16px 0 18px!important;
  margin:0!important;
  gap:24px!important;
}
.home .kos-hero-v342 .kos-hero-bottom .kp58-after-hours{
  grid-template-columns:max-content max-content minmax(0,1fr) max-content;
  justify-content:stretch;
  column-gap:24px;
  padding:16px 0 14px;
  border-top-color:rgba(114,101,86,.20);
}
.home .kos-hero-v342 .kp58-after-hours-price{
  justify-self:end;
}
.home .kos-hero-v342 .kp58-after-hours-link{
  justify-self:end;
}
@media(max-width:980px){
  .home .kos-hero-v342 .kos-hero-stage{
    gap:clamp(16px,3vw,30px)!important;
    padding:62px 0 48px!important;
    min-height:450px;
  }
  .home .kos-hero-v342 .kos-hero-visual{height:clamp(280px,32vw,340px)!important}
  .home .kos-hero-v342 .kos-hero-bottom{padding-bottom:26px!important}
}
@media(max-width:700px){
  .home .kos-hero-v342 .kos-hero-stage{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
    gap:9px!important;
    padding:41px 0 27px!important;
    min-height:0;
    align-items:center;
  }
  .home .kos-hero-v342 .kos-brand-hero-eyebrow{
    margin-bottom:12px!important;
  }
  .home .kos-hero-v342 .kos-brand-hero-copy h1{
    margin-bottom:0!important;
  }
  .home .kos-hero-v342 .kos-heading-brand,
  .home .kos-hero-v342 h1 .kos-heading-brand{
    margin-top:12px!important;
  }
  .home .kos-hero-v342 .kos-hero-visual{
    height:182px!important;
  }
  .home .kos-hero-v342 .kos-hero-mobile-actions{
    margin-top:20px!important;
    gap:10px!important;
  }
  .home .kos-hero-v342 .kos-hero-mobile-actions a{
    min-height:49px;
  }
  .home .kos-hero-v342 .kos-hero-bottom{
    padding:0 0 21px!important;
  }
  .home .kos-hero-v342 .kp53-payment.kos-hero-payment-strip{
    gap:8px!important;
    padding:13px 0 14px!important;
    margin:0!important;
    justify-content:space-between!important;
  }
  .home .kos-hero-v342 .kos-hero-bottom .kp58-after-hours{
    grid-template-columns:max-content max-content minmax(0,1fr) max-content;
    justify-content:stretch;
    gap:6px;
    padding:13px 0 12px;
  }
}
@media(max-width:360px){
  .home .kos-hero-v342 .kos-hero-stage{
    grid-template-columns:minmax(0,1.19fr) minmax(0,.81fr)!important;
    gap:4px!important;
    padding:35px 0 23px!important;
  }
  .home .kos-hero-v342 .kos-brand-hero-eyebrow{margin-bottom:9px!important}
  .home .kos-hero-v342 .kos-hero-visual{height:165px!important}
  .home .kos-hero-v342 .kos-hero-mobile-actions{margin-top:17px!important;gap:7px!important}
  .home .kos-hero-v342 .kp53-payment.kos-hero-payment-strip{padding:11px 0 12px!important;gap:5px!important}
  .home .kos-hero-v342 .kos-hero-bottom .kp58-after-hours{gap:4px;padding:12px 0 11px}
}

/* 320px: no isolated final glyph in hero eyebrow or payment caption. */
.home .kos-hero-v342 .kp59-eyebrow-short,.home .kos-hero-v342 .kp59-pay-short{display:none!important}
@media(max-width:360px){
 .home .kos-hero-v342 .kp59-eyebrow-long,.home .kos-hero-v342 .kp59-pay-long{display:none!important}
 .home .kos-hero-v342 .kp59-eyebrow-short{display:inline!important;white-space:nowrap;letter-spacing:-.01em}
 .home .kos-hero-v342 .kp59-pay-short{display:block!important;white-space:nowrap!important;max-width:none!important;font-size:9px!important}
}
