/* Kenneth Applegate additions (October 2026). Loaded after main.css on the pages that use them. */

/* ---------- Organizations: split hero with the photo running to the right edge ---------- */
.org-hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper-cool) 100%);
}
.org-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 540px;
}
.org-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 48px 72px max(32px, calc((100vw - 1240px) / 2 + 32px));
}
.org-hero__copy .page-hero__eyebrow { padding: 6px 16px; }
.org-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.08;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.028em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.org-hero__copy h1 .accent {
  display: block;
  color: var(--c-blue-700);
  font-style: italic;
}
.org-hero__copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 520px;
  margin: 0 auto;
}
.org-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.org-hero__actions .btn--outline { border-color: var(--c-ink-2); }
.org-hero__photo {
  position: relative;
  background: var(--c-blue-900);
}
.org-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

/* Since 2007 line and the two stat tiles */
.org-proof {
  padding: 34px 0 44px;
  background: var(--c-white);
  text-align: center;
  border-bottom: 1px solid var(--c-line-soft);
}
.org-proof__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink-2);
}
.org-proof__line li { display: inline-flex; align-items: center; }
.org-proof__line li + li::before {
  content: "";
  width: 1px;
  height: 16px;
  margin: 0 16px;
  background: var(--c-line-strong);
}
.org-proof__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.org-stat {
  min-width: 156px;
  padding: 16px 22px;
  border-radius: var(--r-lg);
  background: var(--c-paper-cool);
}
.org-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}
.org-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Video section the Watch Kenneth Speak button jumps to */
.org-video {
  padding: 80px 0;
  background: var(--c-paper-cool);
  scroll-margin-top: 90px;
}
.org-video .section-title {
  text-align: center;
  margin: 0 auto 30px;
}
.org-video__frame {
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-blue-900);
}
.org-video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Full-width photo bands ---------- */
.ka-band {
  padding: 0;
  height: 460px;
  overflow: hidden;
  background: var(--c-blue-900);
}
.ka-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ka-band--speak img { object-position: center 0%; }
.ka-band--cm img { object-position: center 15%; }
.ka-band--sem img { object-position: center 25%; }
.ka-band--faq img { object-position: center 5%; }

/* ---------- Training: photo on the left, text on the right ---------- */
.page-hero--split { text-align: left; padding: 64px 0 72px; }
.ka-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.ka-split__photo {
  margin: 0;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  aspect-ratio: 1080 / 1279;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--c-blue-50);
}
.ka-split__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.page-hero--split h1 { margin: 0 0 18px; max-width: none; }
.page-hero--split p { margin: 0; max-width: 560px; }

/* About: keep Kenneth's head in frame in the tall photo */
.bio__photo img.ka-pos-top { object-position: center 4%; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 960px) {
  .org-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .org-hero__copy { padding: 56px 20px 44px; }
  .org-hero__photo { aspect-ratio: 16 / 10; }
  .ka-split { grid-template-columns: 1fr; gap: 36px; }
  .ka-split__photo { max-width: 440px; aspect-ratio: 1 / 1; }
  .ka-split__photo img { object-position: left 12%; }
  .page-hero--split { text-align: center; padding: 48px 0 56px; }
  .page-hero--split p { margin: 0 auto; }
}
@media (max-width: 768px) {
  .org-video { padding: 56px 0; }
  .ka-band { height: 260px; }
}
@media (max-width: 560px) {
  .org-proof__line { gap: 4px 14px; }
  .org-proof__line li + li::before { display: none; }
  .org-stat { min-width: 140px; padding: 14px 18px; }
  .org-hero__actions .btn { width: 100%; }
}
