/* Homepage hero and trusted-by marquee. Every rule is scoped
   so the theme's global styles stay out, matching header.css. */
#kinore-hero, #kinore-hero *, .kh-trusted, .kh-trusted * { box-sizing: border-box; }
#kinore-hero, .kh-trusted { font-family: 'Montserrat', Arial, sans-serif; line-height: 1.4; }
#kinore-hero button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; }
#kinore-hero a { text-decoration: none !important; }

/* Hero */
#kinore-hero { position: relative; isolation: isolate; overflow: hidden; background: #1E1919; color: #fff; }
#kinore-hero .kh-hero-bg { position: absolute; inset: 0; z-index: -2; background: #1E1919 url('/media/practice-day-2026-poster.jpg') center 30% / cover no-repeat; }
#kinore-hero .kh-hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; }
#kinore-hero .kh-hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,25,25,0.94) 0%, rgba(30,25,25,0.82) 45%, rgba(30,25,25,0.35) 100%); }
#kinore-hero .kh-hero-inner { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) 20px clamp(48px, 6vw, 88px); min-height: min(640px, 78vh); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
#kinore-hero .kh-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #FABE19; }
#kinore-hero h1 { margin: 0; padding: 0; font-family: inherit; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; font-weight: 900; letter-spacing: -0.025em; max-width: 13ch; text-wrap: balance; color: #fff; }
#kinore-hero .kh-hero-lede { margin: 0; padding: 0; font-family: inherit; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; font-weight: 400; color: #EDE4FC; max-width: 46ch; text-wrap: pretty; }
#kinore-hero .kh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
#kinore-hero .kh-hero-btn { height: 52px; padding: 0 24px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; transition: background 0.15s, color 0.15s; }
#kinore-hero .kh-hero-btn-dark { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: #fff !important; }
#kinore-hero .kh-hero-btn-dark:hover { border-color: #FABE19; color: #FABE19 !important; }
#kinore-hero .kh-hero-btn-yellow { background: #FABE19; color: #1E1919 !important; }
#kinore-hero .kh-hero-btn-yellow:hover { background: #F0AE00; }
#kinore-hero .kh-hero-stats { max-width: 620px; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: clamp(16px, 3vw, 36px); padding-top: 22px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.22); }
#kinore-hero .kh-hero-stat { display: flex; flex-direction: column; gap: 4px; }
#kinore-hero .kh-hero-stat b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: #FABE19; line-height: 1.2; }
#kinore-hero .kh-hero-stat span { font-size: 13px; line-height: 1.4; font-weight: 600; color: #EDE4FC; }
#kinore-hero .kh-hero-toggle { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(30,25,25,0.4); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1; }
#kinore-hero .kh-hero-toggle:hover { border-color: #FABE19; color: #FABE19; }
#kinore-hero .kh-hero-toggle .kh-ico-pause { display: block; }
#kinore-hero .kh-hero-toggle .kh-ico-play { display: none; }
#kinore-hero[data-paused="true"] .kh-hero-toggle .kh-ico-pause { display: none; }
#kinore-hero[data-paused="true"] .kh-hero-toggle .kh-ico-play { display: block; }

/* Trusted-by marquee */
.kh-trusted { background: #fff; border-bottom: 1px solid #E8E5EE; color: #1E1919; }
.kh-trusted .kh-trusted-inner { max-width: 1280px; margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.kh-trusted .kh-trusted-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: #5E5B66; flex-shrink: 0; }
.kh-trusted .kh-marquee-mask { flex: 1 1 320px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kh-trusted .kh-marquee { display: flex; align-items: center; gap: 56px; width: max-content; padding-right: 56px; animation: kinoreMarquee 40s linear infinite; }
.kh-trusted .kh-marquee:hover { animation-play-state: paused; }
/* The client logos are white on transparent, so they are darkened to read as
   monochrome on the white strip. */
.kh-trusted .kh-marquee img { display: block; height: 36px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0); opacity: 0.6; flex-shrink: 0; }
@keyframes kinoreMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

html.kh-lock, body.kh-lock { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  .kh-trusted .kh-marquee { animation: none !important; }
}
@media (max-width: 719px) {
  #kinore-hero .kh-hero-inner { min-height: 0; padding-top: 48px; gap: 18px; }
  #kinore-hero .kh-hero-stats { gap: 16px; }
  #kinore-hero .kh-hero-toggle { right: 16px; bottom: 16px; }
  .kh-trusted .kh-trusted-inner { padding: 22px 20px; gap: 14px; }
  .kh-trusted .kh-trusted-label { flex-basis: 100%; white-space: normal; line-height: 1.5; }
}
