/* climb.ky — home page (full-bleed layout). Scoped to .hm; loads only on the front page. */

/* the theme boxes the home content in a 1170px container — let the sections reach the screen edges */
.home .homepagecontent,.home #content.container{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
.home #content>.row{margin:0!important}
.home #content .main,.home #content .entry-content{padding:0!important;width:100%!important;float:none}
.home .sliderclass,.home .home_desk_slider{display:none!important}

.hm{--hm-max:1200px;--hm-gut:clamp(20px,4vw,48px);color:var(--cl-text,#424245);font-size:17px;line-height:1.6}
.hm *{box-sizing:border-box}
.hm h1,.hm h2,.hm h3{margin:0;color:var(--cl-ink,#1d1d1f);letter-spacing:-.025em;text-wrap:balance}
.hm p{margin:0}
.hm img{display:block;max-width:100%;height:auto;border-radius:0}
.hm-wrap{max-width:var(--hm-max);margin:0 auto;padding:0 var(--hm-gut)}
.hm-section{padding:clamp(64px,8vw,112px) 0}
.hm-h2{font-size:clamp(30px,4vw,48px);line-height:1.08;font-weight:700}
.hm-lead{margin-top:14px!important;font-size:clamp(17px,1.6vw,20px);line-height:1.55;color:var(--cl-muted,#6e6e73);max-width:640px}
.hm-head{margin-bottom:40px}

/* buttons */
.hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;font-weight:600;font-size:17px;text-decoration:none!important;white-space:nowrap;transition:background-color .2s cubic-bezier(.22,1,.36,1),color .2s,transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s}
.hm-btn:active{transform:scale(.98)}
.hm-btn--primary{background:var(--cl-orange,#e4521f);color:#fff!important;box-shadow:0 10px 30px rgba(228,82,31,.4)}
.hm-btn--primary:hover{background:var(--cl-orange-dark,#c7441a)}
.hm-btn--ghost{background:rgba(255,255,255,.14);color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hm-btn--ghost:hover{background:rgba(255,255,255,.26)}
.hm-btn--dark{background:var(--cl-ink,#1d1d1f);color:#fff!important}
.hm-btn--dark:hover{background:#000}
.hm-btn--light{background:#fff;color:var(--cl-ink,#1d1d1f)!important}
.hm-btn--light:hover{background:#f0f0f2}

/* hero */
.hm-hero{position:relative;isolation:isolate;min-height:min(88vh,860px);display:flex;align-items:flex-end;overflow:hidden;color:#fff}
.hm-hero__bg{position:absolute;inset:0;z-index:-2;width:100%!important;height:100%!important;object-fit:cover;object-position:center 40%;animation:hm-zoom 14s cubic-bezier(.22,1,.36,1) both}
.hm-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.15) 40%,rgba(0,0,0,.72) 100%)}
.hm-hero__inner{width:100%;max-width:var(--hm-max);margin:0 auto;padding:120px var(--hm-gut) clamp(40px,6vw,72px)}
.hm .hm-hero__title{color:#fff;font-size:clamp(42px,7vw,92px);line-height:1;font-weight:700;letter-spacing:-.035em;max-width:900px}
.hm-hero__sub{margin-top:18px!important;font-size:clamp(18px,2vw,23px);line-height:1.45;color:rgba(255,255,255,.92);max-width:620px}
.hm-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hm-hero__facts{list-style:none;margin:36px 0 0;padding:22px 0 0;display:flex;flex-wrap:wrap;gap:10px 28px;border-top:1px solid rgba(255,255,255,.25)}
.hm-hero__facts li{margin:0;padding:0;font-size:15px;font-weight:500;color:rgba(255,255,255,.9)}
.hm-hero__facts li::before{content:"✓";margin-right:8px;color:var(--cl-orange,#e4521f);font-weight:700}
.hm-hero__title,.hm-hero__sub,.hm-hero__actions,.hm-hero__facts{animation:hm-rise .9s cubic-bezier(.22,1,.36,1) both}
.hm-hero__sub{animation-delay:.08s}.hm-hero__actions{animation-delay:.16s}.hm-hero__facts{animation-delay:.24s}
@keyframes hm-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes hm-zoom{from{transform:scale(1.06)}to{transform:scale(1)}}

/* BRACFEST banner: full width */
.hm-bf{background:var(--cl-ink,#1d1d1f) url('https://climb.ky/wp-content/uploads/2026/11/bf-hero-1600.jpg') center 40%/cover no-repeat;position:relative;isolation:isolate}
.hm-bf::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,15,.9) 0%,rgba(10,12,15,.55) 100%)}
.hm-bf .cl-bf-promo{max-width:var(--hm-max);margin:0 auto!important;padding:clamp(36px,5vw,64px) var(--hm-gut)!important;background:none!important;border-radius:0!important}
.hm-bf .cl-bf-promo::before{display:none}

/* tour cards */
.hm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hm-card{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 30px rgba(0,0,0,.07);text-decoration:none!important;color:inherit;isolation:isolate;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.hm-card__img{width:100%!important;aspect-ratio:4/3;object-fit:cover;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.hm-card__body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 24px;flex:1}
.hm-card__title{font-size:20px;font-weight:700;color:var(--cl-ink,#1d1d1f);letter-spacing:-.02em;line-height:1.25}
.hm-card__text{font-size:15.5px;line-height:1.5;color:var(--cl-muted,#6e6e73)}
.hm-card__meta{margin-top:auto;padding-top:8px;font-size:14px;font-weight:600;color:var(--cl-orange,#e4521f)}
@media (hover:hover){.hm-card:hover{transform:translateY(-6px);box-shadow:0 2px 6px rgba(0,0,0,.05),0 22px 48px rgba(0,0,0,.13)}.hm-card:hover .hm-card__img{transform:scale(1.05)}}
.hm-more{margin-top:40px!important;text-align:center}

/* split: image to the screen edge + text */
.hm-split{display:grid;grid-template-columns:1fr 1fr;background:#f5f5f7;align-items:stretch}
.hm-split__media{min-height:520px;position:relative}
.hm-split__media img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
.hm-split__text{padding:clamp(48px,7vw,104px) clamp(24px,6vw,96px);max-width:680px;align-self:center}
.hm-points{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:20px}
.hm-points li{margin:0;padding:0 0 0 22px;position:relative}
.hm-points li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--cl-orange,#e4521f)}
.hm-points__title{display:block;font-weight:700;color:var(--cl-ink,#1d1d1f);font-size:17px}
.hm-points__text{display:block;color:var(--cl-muted,#6e6e73);font-size:16px;line-height:1.5}
.hm-links{margin-top:32px!important;display:flex;flex-wrap:wrap;gap:12px 24px}
.hm-links a,.hm-link{color:var(--cl-orange,#e4521f);font-weight:600;text-decoration:none!important}
.hm-links a::after,.hm-link::after{content:" →"}
.hm-links a:hover,.hm-link:hover{color:var(--cl-orange-dark,#c7441a)}

/* full-bleed photo band */
.hm-band{position:relative;isolation:isolate;min-height:520px;display:flex;align-items:center;overflow:hidden;color:#fff}
.hm-band__bg{position:absolute;inset:0;z-index:-2;width:100%!important;height:100%!important;object-fit:cover}
.hm-band::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.2) 70%)}
.hm-band__inner{width:100%;max-width:var(--hm-max);margin:0 auto;padding:64px var(--hm-gut)}
.hm .hm-band__title{color:#fff;font-size:clamp(32px,4.4vw,56px);line-height:1.05;font-weight:700}
.hm-band__text{margin:14px 0 26px!important;max-width:480px;font-size:clamp(17px,1.7vw,20px);color:rgba(255,255,255,.9)}

/* reviews */
.hm-reviews{background:#fff}
.hm-quotes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px}
.hm-quote{margin:0;padding:32px;border-radius:20px;background:#f5f5f7}
.hm-quote__text{margin:0;padding:0;border:0;font-size:clamp(18px,1.8vw,22px);line-height:1.45;color:var(--cl-ink,#1d1d1f);font-weight:500;letter-spacing:-.01em}
.hm-quote__by{margin-top:16px;font-size:14px;color:var(--cl-muted,#6e6e73);font-weight:600}
.hm-quote__by::before{content:"★★★★★  ";color:#f5a623;letter-spacing:2px}

/* photo mosaic: edge to edge */
.hm-mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:clamp(160px,18vw,280px);gap:4px;background:#fff;position:relative}
.hm-mosaic__item{display:block;overflow:hidden;position:relative}
.hm-mosaic__item img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.hm-mosaic__item--big{grid-row:span 2}
@media (hover:hover){.hm-mosaic__item:hover img{transform:scale(1.06)}}
.hm-mosaic__cta{position:absolute;right:24px;bottom:24px;display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:999px;background:#fff;color:var(--cl-ink,#1d1d1f)!important;font-weight:600;text-decoration:none!important;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hm-mosaic__cta::after{content:" →";margin-left:6px}

/* reveal on scroll (only with JS) */
.hm-js .hm-reveal{opacity:0;transform:translateY(20px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
.hm-js .hm-reveal.is-in{opacity:1;transform:none}
#tours{scroll-margin-top:72px}

/* focus */
.hm a:focus-visible{outline:2px solid var(--cl-orange,#e4521f);outline-offset:3px}

/* responsive */
@media (max-width:1000px){
  .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-split{grid-template-columns:1fr}
  .hm-split__media{min-height:380px}
  .hm-split__text{max-width:none}
}
@media (max-width:640px){
  .hm-hero{min-height:88vh}
  .hm-hero__inner{padding-top:96px}
  .hm-hero__actions .hm-btn{flex:1 1 auto}
  .hm-hero__facts{gap:8px 18px}
  .hm-hero__facts li{font-size:14px}
  .hm-cards{grid-template-columns:1fr}
  .hm-quotes{grid-template-columns:1fr}
  .hm-band{min-height:440px;align-items:flex-end}
  .hm-band::after{background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.75) 100%)}
  .hm-mosaic{grid-template-columns:1fr 1fr;grid-auto-rows:150px}
  .hm-mosaic__item--big{grid-column:span 2;grid-row:span 2}
  .hm-mosaic__cta{left:16px;right:16px;bottom:16px;justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .hm *,.hm *::before,.hm *::after{animation:none!important;transition:none!important}
  .hm-js .hm-reveal{opacity:1;transform:none}
}

/* fixes v2 */
.hm .hm-btn.hm-btn--primary{background:var(--cl-orange,#e4521f)!important;color:#fff!important;border-radius:999px!important;padding:0 28px!important;min-height:52px;font-size:17px!important;line-height:1!important}
.hm .hm-btn.hm-btn--primary:hover{background:var(--cl-orange-dark,#c7441a)!important}
.hm .cl-bf-promo__logo{border-radius:50%!important}
.home .hm h1,.home .hm h2,.home .homepagecontent .hm h2{text-align:left!important}
.hm-reviews .hm-h2{text-align:center!important}
/* fixes v3 */
.hm .hm-btn.hm-btn--primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:52px;box-shadow:0 10px 30px rgba(228,82,31,.4)!important;margin:0!important}

/* ===== layout v2: exact-screen hero, separated BRACFEST card, white space between photo sections, photo carousel ===== */
.hm-hero{min-height:0!important;height:calc(100vh - var(--cl-header-h,72px));height:calc(100svh - var(--cl-header-h,72px))}
@media (max-height:560px){.hm-hero{height:auto;min-height:calc(100svh - var(--cl-header-h,72px))!important}}
.admin-bar .hm-hero{height:calc(100svh - var(--cl-header-h,72px) - 32px)}

/* BRACFEST: its own highlighted card, with white space around */
.hm-bf{background:#fff!important;padding:clamp(48px,6vw,88px) var(--hm-gut) 0}
.hm-bf::before{display:none!important}
.hm .hm-bf .cl-bf-promo{position:relative;isolation:isolate;overflow:hidden;max-width:var(--hm-max);margin:0 auto!important;padding:clamp(28px,4vw,48px) clamp(24px,4vw,56px)!important;border-radius:28px!important;background:var(--cl-ink,#1d1d1f) url('https://climb.ky/wp-content/uploads/2026/11/bf-hero-1600.jpg') center 40%/cover no-repeat!important;box-shadow:0 0 0 3px var(--cl-orange,#e4521f),0 24px 60px rgba(0,0,0,.22);animation:hm-glow 3.2s ease-in-out infinite;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.hm .hm-bf .cl-bf-promo::before{display:block!important;content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,15,.9) 0%,rgba(10,12,15,.5) 100%)}
@media (hover:hover){.hm .hm-bf .cl-bf-promo:hover{transform:translateY(-4px)}}
@keyframes hm-glow{0%,100%{box-shadow:0 0 0 3px var(--cl-orange,#e4521f),0 24px 60px rgba(0,0,0,.22)}50%{box-shadow:0 0 0 3px var(--cl-orange,#e4521f),0 0 44px 6px rgba(228,82,31,.45),0 24px 60px rgba(0,0,0,.22)}}
.hm-bf+.hm-tours{padding-top:clamp(64px,7vw,96px)}

/* sections with photos never taller than the screen, and never touching each other */
.hm-split{margin-bottom:clamp(64px,8vw,112px)}
.hm-split__media{min-height:min(560px,85vh)}
.hm-band{min-height:min(560px,85vh);max-height:100vh}

/* photo carousel */
.hm-gallery{padding-top:0}
.hm-reviews{padding-bottom:clamp(48px,6vw,80px)}
.hm-gallery__head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;margin-bottom:32px}
.hm-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%)}
.hm-marquee__track{display:flex;gap:16px;width:max-content;animation:hm-marquee 70s linear infinite}
.hm-marquee:hover .hm-marquee__track,.hm-marquee:focus-within .hm-marquee__track{animation-play-state:paused}
.hm-marquee__item{display:block;flex:0 0 auto;height:clamp(220px,26vw,340px);aspect-ratio:3/2;border-radius:18px;overflow:hidden}
.hm-marquee__item img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){.hm-marquee__item:hover img{transform:scale(1.05)}}
@keyframes hm-marquee{to{transform:translateX(calc(-50% - 8px))}}
@media (prefers-reduced-motion:reduce){
  .hm .hm-bf .cl-bf-promo{animation:none}
  .hm-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .hm-marquee__track{animation:none;padding:0 var(--hm-gut)}
}/* split fit: keep the photo section within one screen */
.hm-split__text{padding:clamp(40px,5vw,72px) clamp(24px,5vw,80px)!important}
.hm-split .hm-points{gap:14px;margin-top:24px}
@media (max-width:1000px){.hm-split__media{min-height:min(420px,60vh)}}
/* bf title mobile */
@media (max-width:700px){.home .hm .cl-bf-promo__title{text-align:center!important}}
