/* Kingdom Factor Ascend Leadership — shared brand styles
   Palette, type, and layout patterns matched to kingdomfactor.us */

:root {
  --kf-red: #c1272d;
  --kf-red-deep: #a6383b;
  --kf-white: #ffffff;
  --kf-off-white: #fafafa;
  --kf-black: #000000;
  --kf-charcoal: #18181b;
  --kf-gray: #71717a;
  --kf-gradient: linear-gradient(135deg, #c1272d, #a6383b);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kf-white);
  color: var(--kf-charcoal);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Oswald", ui-sans-serif, sans-serif;
  color: var(--kf-charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--kf-white);
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.site-header .logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header .logo-lockup img.wordmark { height: 26px; width: auto; }

.site-header .program-tag {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--kf-red);
  text-transform: uppercase;
  border-left: 2px solid var(--kf-red);
  padding-left: 12px;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.primary-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--kf-charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  border-bottom: 2px solid var(--kf-red);
  color: var(--kf-red);
}

nav.primary-nav a.nav-cta {
  background: var(--kf-red);
  color: var(--kf-white);
  padding: 10px 20px;
  border-radius: 4px;
  border-bottom: none;
  font-weight: 600;
}

nav.primary-nav a.nav-cta:hover {
  background: var(--kf-red-deep);
  color: var(--kf-white);
}

.cta-strip {
  background: var(--kf-off-white);
  border-bottom: 1px solid #ececec;
  padding: 14px 0;
}

.cta-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-strip a {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.cta-strip a.cta-primary {
  background: var(--kf-red);
  color: var(--kf-white);
}

.cta-strip a.cta-primary:hover {
  background: var(--kf-red-deep);
}

.cta-strip a.cta-secondary {
  background: transparent;
  color: var(--kf-charcoal);
  border: 1.5px solid var(--kf-charcoal);
  padding: 8.5px 18px;
}

.cta-strip a.cta-secondary:hover {
  background: var(--kf-charcoal);
  color: var(--kf-white);
}

@media (max-width: 640px) {
  .cta-strip {
    padding: 12px 0;
  }
  .cta-strip .container {
    gap: 10px;
  }
  .cta-strip a {
    font-size: 0.8rem;
    padding: 9px 14px;
  }
  .cta-strip a.cta-secondary {
    padding: 7.5px 14px;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--kf-charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  nav.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--kf-white);
    border-bottom: 1px solid #ececec;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
  }
  nav.primary-nav.open { max-height: 420px; }
  nav.primary-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #f2f2f2;
    width: 100%;
  }
  nav.primary-nav a.active,
  nav.primary-nav a:hover {
    border-bottom: 1px solid #f2f2f2;
    background: var(--kf-off-white);
  }
  nav.primary-nav a.nav-cta {
    margin: 12px 24px;
    text-align: center;
    width: calc(100% - 48px);
    border-bottom: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--kf-gradient);
  color: var(--kf-white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container { position: relative; z-index: 2; }

.hero .eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.hero h1 { color: var(--kf-white); max-width: 780px; }

.hero .lede {
  font-size: 1.2rem;
  max-width: 640px;
  color: rgba(255,255,255,0.92);
  margin-top: 18px;
}

.hero .hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--kf-gradient);
  color: var(--kf-white);
  padding: 64px 0 70px;
}

.page-hero .eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.page-hero h1 { color: var(--kf-white); max-width: 760px; }
.page-hero p { max-width: 640px; color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-top: 14px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--kf-white);
  color: var(--kf-red);
}
.btn-primary:hover { background: var(--kf-off-white); }

.btn-solid-red {
  background: var(--kf-red);
  color: var(--kf-white);
}
.btn-solid-red:hover { background: var(--kf-red-deep); }

.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--kf-white);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  border-color: var(--kf-charcoal);
  color: var(--kf-charcoal);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--kf-charcoal); color: var(--kf-white); }

/* ---------- Sections ---------- */

section { padding: 76px 0; }

section.off-white { background: var(--kf-off-white); }
section.charcoal { background: var(--kf-charcoal); color: var(--kf-white); }
section.charcoal h2, section.charcoal h3 { color: var(--kf-white); }
section.red-gradient { background: var(--kf-gradient); color: var(--kf-white); }
section.red-gradient h2, section.red-gradient h3 { color: var(--kf-white); }

.section-number {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  color: var(--kf-red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

section.charcoal .section-number,
section.red-gradient .section-number { color: rgba(255,255,255,0.75); }

.section-intro { max-width: 680px; margin-bottom: 44px; }
.section-intro p { color: var(--kf-gray); font-size: 1.08rem; }
section.charcoal .section-intro p,
section.red-gradient .section-intro p { color: rgba(255,255,255,0.85); }

/* ---------- Grids & Cards ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--kf-white);
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 30px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--kf-gray); margin-bottom: 0; }

.stat-card {
  padding: 28px 30px;
}
.stat-card .stat-number {
  font-family: "Oswald", sans-serif;
  font-size: 2.6rem;
  color: var(--kf-red);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card .stat-label { font-weight: 600; margin-bottom: 4px; }
.stat-card p.stat-detail { color: var(--kf-gray); font-size: 0.95rem; margin-bottom: 0; }

/* Numbered engagement / step cards */
.step-card {
  border-top: 3px solid var(--kf-red);
  padding-top: 20px;
}
.step-card .step-number {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--kf-red);
  display: block;
  margin-bottom: 6px;
}

/* Bio card */
.bio-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.bio-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 720px) {
  .bio-card { grid-template-columns: 1fr; }
  .bio-card img { max-width: 240px; }
}

/* Timeline / curriculum */
.timeline-item {
  border-left: 3px solid var(--kf-red);
  padding: 4px 0 28px 24px;
  position: relative;
}
.timeline-item .month-label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kf-red);
  font-size: 1.105rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-item > div:not(.month-label) {
  font-size: 1.2em;
  font-weight: 700;
}

/* Pledge / checklist */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 14px;
  color: var(--kf-charcoal);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--kf-red);
}

/* Research stat list (bold callout bullets) */
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}
.stat-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 18px;
  color: var(--kf-charcoal);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.45;
}
.stat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--kf-red);
}
@media (max-width: 720px) {
  .stat-list { grid-template-columns: 1fr; }
}

/* FAQ */
details.faq-item {
  border-bottom: 1px solid #ececec;
  padding: 18px 0;
}
details.faq-item summary {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  color: var(--kf-red);
  font-size: 1.4rem;
  margin-left: 16px;
}
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item .faq-answer { margin-top: 12px; color: var(--kf-gray); }

/* Investment table */
.invest-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.invest-table th, .invest-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #ececec;
}
.invest-table th {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--kf-gray);
}

/* Image band */
.image-band {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

blockquote.scripture {
  border-left: 3px solid var(--kf-red);
  padding-left: 24px;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--kf-charcoal);
  margin: 0 0 8px;
}
blockquote.scripture cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--kf-red);
}

.tag-pill {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kf-red);
  border: 1px solid var(--kf-red);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--kf-charcoal);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 34px;
}

footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}

footer.site-footer img.wordmark-light { height: 24px; margin-bottom: 14px; }

footer.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site-footer nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.92rem; }
footer.site-footer nav a:hover { color: var(--kf-white); }

footer.site-footer .tagline {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.12em;
  color: var(--kf-white);
  font-size: 0.85rem;
  text-transform: uppercase;
}

footer.site-footer .copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

footer.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--kf-gradient);
  color: var(--kf-white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--kf-white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Photo hero (image + gradient overlay) ---------- */

.photo-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--kf-white);
  padding: 110px 0 120px;
  overflow: hidden;
}

.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(193,39,45,0.94) 0%, rgba(24,24,27,0.88) 55%, rgba(24,24,27,0.75) 100%);
  z-index: 1;
}

.photo-hero .container { position: relative; z-index: 2; }

.photo-hero .eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.photo-hero h1 { color: var(--kf-white); max-width: 780px; }

.photo-hero .lede {
  font-size: 1.2rem;
  max-width: 640px;
  color: rgba(255,255,255,0.92);
  margin-top: 18px;
}

.photo-hero.short { padding: 78px 0 84px; }

.photo-page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--kf-white);
  padding: 78px 0 84px;
  overflow: hidden;
}

.photo-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(193,39,45,0.93) 0%, rgba(24,24,27,0.86) 60%, rgba(24,24,27,0.72) 100%);
  z-index: 1;
}

.photo-page-hero .container { position: relative; z-index: 2; }
.photo-page-hero .eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.photo-page-hero h1 { color: var(--kf-white); max-width: 760px; }
.photo-page-hero p { max-width: 640px; color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-top: 14px; }

/* ---------- Decorative curve accent (matches KF marketing graphics) ---------- */

.curve-accent {
  position: absolute;
  top: -10%;
  right: 18%;
  width: 3px;
  height: 130%;
  background: var(--kf-red);
  transform: rotate(12deg);
  opacity: 0.9;
  z-index: 1;
}

/* ---------- Dot-grid texture for dark sections ---------- */

section.charcoal.textured,
section.red-gradient.textured {
  background-image:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
section.charcoal.textured { background-color: var(--kf-charcoal); }

/* ---------- Card hover polish ---------- */

.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.step-card:hover { transform: translateY(-3px); }

/* ---------- Photo caption bands ---------- */

.photo-caption-band { position: relative; }
.photo-caption-band img { width: 100%; height: 420px; object-fit: cover; display: block; }
.photo-caption-band .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), rgba(0,0,0,0));
  color: #fff;
  width: 100%;
  padding: 40px 24px 18px;
  font-size: 0.92rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.photo-caption-band .caption strong { font-family: "Oswald", sans-serif; letter-spacing: 0.03em; }

/* ---------- Flyer / promo image frame ---------- */

.promo-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}
.promo-frame img { display: block; width: 100%; height: auto; }

/* ---------- Split photo + text section ---------- */

.split-photo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
.split-photo .split-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) {
  .split-photo { grid-template-columns: 1fr; }
  .split-photo img { min-height: 260px; }
  .split-photo .split-text { padding: 40px 24px; }
}

/* ---------- Logo badge on photo ---------- */

.corner-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

/* ---------- Application forms ---------- */

.app-form { max-width: 720px; }

.form-section {
  padding: 28px 0;
  border-bottom: 1px solid #ececec;
}
.form-section:last-of-type { border-bottom: none; }
.form-section h3 {
  margin-bottom: 4px;
}
.form-section .form-section-note {
  color: var(--kf-gray);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

.field label {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--kf-charcoal);
  margin-bottom: 8px;
}
.field .field-hint {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  color: var(--kf-gray);
  margin-top: 4px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: var(--kf-charcoal);
  background: var(--kf-off-white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--kf-red);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-group label, .checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--kf-charcoal);
  cursor: pointer;
}
.radio-group input, .checkbox-group input { margin-top: 3px; }

.field.required label::after {
  content: " *";
  color: var(--kf-red);
}

.form-submit-note {
  color: var(--kf-gray);
  font-size: 0.88rem;
  margin-top: 16px;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #f3f8f4;
  border: 1px solid #cfe6d3;
  color: #1f5c2c;
  font-size: 0.95rem;
}
.form-status.visible { display: block; }

/* ---------- Video testimonial grid ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-card { display: flex; flex-direction: column; }

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--kf-charcoal);
  border-radius: 8px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card .video-caption {
  margin-top: 14px;
}
.video-card .video-caption .name {
  font-family: "Oswald", sans-serif;
  font-size: 1.02rem;
  color: var(--kf-charcoal);
}
.video-card .video-caption .role {
  font-size: 0.88rem;
  color: var(--kf-gray);
}

section.charcoal .video-card .video-caption .name,
section.red-gradient .video-card .video-caption .name {
  color: var(--kf-white);
}
section.charcoal .video-card .video-caption .role,
section.red-gradient .video-card .video-caption .role {
  color: rgba(255,255,255,0.65);
}

/* Fallback "watch on Vimeo" poster card, used when a video can't be embedded */
a.video-fallback { text-decoration: none; }
.video-fallback-poster .fallback-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--kf-gradient);
  color: #fff;
  transition: filter 0.15s ease;
}
.video-fallback:hover .fallback-inner { filter: brightness(1.08); }
.video-fallback-poster.has-photo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--kf-charcoal);
}
.video-fallback-poster.has-photo .fallback-inner {
  background: linear-gradient(180deg, rgba(17,17,20,0.15) 0%, rgba(17,17,20,0.78) 100%);
}
.play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.play-circle svg { width: 20px; height: 20px; }
.video-fallback:hover .play-circle { background: rgba(255,255,255,0.3); transform: scale(1.08); }
.video-fallback-poster .watch-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* ---------- Mobile refinements ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }

  h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  section { padding: 48px 0; }

  .hero { padding: 56px 0 60px; }
  .hero .lede { font-size: 1.05rem; }

  .page-hero { padding: 44px 0 50px; }
  .page-hero p { font-size: 1rem; }

  .photo-hero { padding: 64px 0 68px; }
  .photo-hero .lede { font-size: 1.05rem; }

  .photo-page-hero { padding: 52px 0 56px; }
  .photo-page-hero p { font-size: 1rem; }

  .cta-band { padding: 44px 0; }

  .section-intro { margin-bottom: 30px; }

  .card, .step-card { padding: 22px; }

  .invest-table th, .invest-table td { padding: 10px 8px; font-size: 0.92rem; }

  .timeline-item > div:not(.month-label) { font-size: 1.08em; }
  .timeline-item .month-label { font-size: 1rem; }
}
