/* =========================================================
   LEADERS PAGE
   TechRock leadership page — standalone page styles only.
   ========================================================= */

.leaders-page {
  background: var(--color-white);
  color: var(--color-black);
  overflow: clip;
}

.leaders-page .container {
  width: min(var(--container-width), calc(100% - 2 * var(--page-padding-desktop)));
  padding-inline: 0;
}

.leaders-hero {
  height: calc(100dvh - var(--site-header-height, 80px));
  min-height: calc(100dvh - var(--site-header-height, 80px));
  display: grid;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(to right, rgba(147,28,245,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,28,245,.035) 1px, transparent 1px),
    var(--color-black);
  background-size: 72px 72px;
}

.leaders-hero__grid {
  width: min(var(--container-width), calc(100% - 2 * var(--page-padding-desktop)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: 0;
  height: 100%;
}

.leaders-hero__copy { max-width: 760px; }
.leaders-eyebrow,
.leaders-section-kicker {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
}

.leaders-hero .leaders-eyebrow,
.leaders-hero .leaders-title {
  color: var(--color-white);
}
.leaders-eyebrow { display: inline-flex; align-items: center; }
.leaders-eyebrow::before { content: none !important; display: none !important; }

.leaders-title,
.leaders-intent h2,
.leaders-profiles h2,
.leaders-principles h2,
.leaders-closing h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--font-extrabold);
  letter-spacing: -.045em;
  line-height: .98;
  color: var(--color-black);
}

/* Match the site's shared Home-page display-heading recipe exactly. */
.leaders-title {
  font-size: clamp(52px, 5.2vw, 82px);
  -webkit-text-stroke: 0.5px currentColor;
}
.leaders-title span,
.leaders-intent h2 span,
.leaders-profiles h2 span,
.leaders-principles h2 span,
.leaders-closing h2 span { color: var(--color-primary-purple); }

.leaders-hero__intro {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--color-secondary-text);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
  font-weight: var(--font-regular);
}

.leaders-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid #dfe3ea;
}
.leaders-hero__meta div { padding: 16px 18px 0 0; border-right: 1px solid #dfe3ea; }
.leaders-hero__meta div:not(:first-child) { padding-left: 18px; }
.leaders-hero__meta div:last-child { border-right: 0; }
.leaders-hero__meta strong { display: block; color: var(--color-primary-purple); font-size: 12px; letter-spacing: .12em; margin-bottom: 8px; }
.leaders-hero__meta span { color: var(--color-primary-text); font-size: 13px; line-height: 1.35; font-weight: 600; }

.leaders-hero__visual-frame {
  position: relative;
  height: min(50vh, 520px);
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0812;
  box-shadow: var(--shadow-medium);
}
.leaders-hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%);
  pointer-events: none;
}
.leaders-hero__visual-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms cubic-bezier(.22,.61,.36,1); }
.leaders-hero__visual:hover img { transform: scale(1.035); }
.leaders-hero__visual-number { position:absolute; right:24px; top:22px; color:#fff; font-size:12px; letter-spacing:.15em; z-index:2; }

.leaders-intent { padding: clamp(96px, 12vw, 170px) 0; border-top: 1px solid #eceef2; }
.leaders-intent__grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 9vw, 150px); align-items:end; }
.leaders-intent h2 { font-size: clamp(48px, 5vw, 82px); max-width: 820px; }
.leaders-intent__copy { margin: 0; color: var(--color-secondary-text); font-size: clamp(18px,1.45vw,21px); line-height:1.6; max-width:640px; }

.leaders-profiles { padding: clamp(110px, 12vw, 160px) 0; }
.leaders-profiles__header { display:grid; grid-template-columns: 1.1fr .9fr; gap:64px; align-items:end; margin-bottom:60px; }
.leaders-profiles h2 { font-size: clamp(52px, 5.3vw, 88px); }
.leaders-profiles__header > p { margin:0; color:var(--color-secondary-text); font-size:18px; line-height:1.6; max-width:560px; }

.leaders-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(280px,380px)); gap:22px; justify-content:center; }
.leader-profile { border:1px solid #dee2e8; border-radius:22px; overflow:hidden; background:#fff; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
.leader-profile:hover { transform: translateY(-6px); box-shadow:var(--shadow-medium); border-color:#d4c4ff; }
.leader-profile__visual { position:relative; min-height:340px; display:grid; place-items:center; overflow:hidden; }
.leader-profile__visual--one { background: #0b0914; }
.leader-profile__visual--one::before { content:""; position:absolute; width:360px; height:360px; border:1px solid rgba(147,28,245,.55); border-radius:50%; box-shadow:0 0 0 56px rgba(147,28,245,.05), 0 0 0 112px rgba(147,28,245,.035); }
.leader-profile__visual--two { background: linear-gradient(135deg,#efeaff,#fff); }
.leader-profile__visual--two::before,
.leader-profile__visual--two::after { content:""; position:absolute; width:140%; height:1px; background:rgba(147,28,245,.18); transform:rotate(-26deg); }
.leader-profile__visual--two::after { transform:rotate(26deg); }
.leader-profile__index { position:absolute; left:24px; top:22px; font-size:12px; letter-spacing:.14em; font-weight:700; color:rgba(255,255,255,.72); }
.leader-profile__visual--two .leader-profile__index { color:var(--color-primary-text); }
.leader-profile__icon { position:relative; z-index:1; font-size:72px; color:var(--color-primary-purple); }
.leader-profile__body { padding: 28px 30px 32px; }
.leader-profile__eyebrow { margin:0 0 10px; color:var(--color-primary-purple); font-size:11px; letter-spacing:.14em; font-weight:800; }
.leader-profile h3 { margin:0; font-size:clamp(28px,2.8vw,42px); line-height:1.06; letter-spacing:-.045em; font-weight:800; }
.leader-profile__body > p { margin:18px 0 24px; color:var(--color-secondary-text); font-size:16px; line-height:1.55; max-width:560px; }
.leader-profile__tags { display:flex; flex-wrap:wrap; gap:8px; }
.leader-profile__tags span { border:1px solid #e0e4ea; border-radius:999px; padding:8px 12px; font-size:11px; font-weight:700; letter-spacing:.04em; color:var(--color-dark-gray); }

.leaders-principles { padding: clamp(90px, 10vw, 140px) 0; background:var(--color-black); color:#fff; }
.leaders-principles__inner { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:start; }
.leaders-section-kicker--light { color:rgba(255,255,255,.72); }
.leaders-principles h2 { font-size:clamp(54px,5.2vw,88px); }
.leaders-principles__list { border-top:1px solid rgba(255,255,255,.16); }
.leaders-principles__list > div { display:grid; grid-template-columns:56px 1fr; column-gap:20px; padding:22px 0; border-bottom:1px solid rgba(255,255,255,.16); }
.leaders-principles__list span { color:var(--color-primary-purple); font-size:12px; font-weight:800; letter-spacing:.12em; }
.leaders-principles__list strong { font-size:20px; font-weight:700; }
.leaders-principles__list p { grid-column:2; margin:6px 0 0; max-width:560px; color:rgba(255,255,255,.66); font-size:15px; line-height:1.5; }

.leaders-closing { padding: clamp(90px, 11vw, 150px) 0; }
.leaders-closing__inner { display:grid; grid-template-columns:1fr auto; gap:60px; align-items:end; }
.leaders-closing h2 { font-size:clamp(56px,6vw,104px); }
.leaders-closing__link { display:inline-flex; align-items:center; gap:12px; padding-bottom:10px; border-bottom:1px solid var(--color-black); color:var(--color-black); font-size:16px; font-weight:800; transition:color var(--transition-fast), border-color var(--transition-fast); white-space:nowrap; }
.leaders-closing__link i { color:var(--color-primary-purple); transition:transform var(--transition-fast); }
.leaders-closing__link:hover { color:var(--color-primary-purple); border-color:var(--color-primary-purple); }
.leaders-closing__link:hover i { transform:translateX(4px); }

.leaders-reveal { opacity:0; transform:translateY(22px); animation:leadersReveal .75s cubic-bezier(.22,.61,.36,1) forwards; }
.leaders-reveal--delay { animation-delay:.12s; }
@keyframes leadersReveal { to { opacity:1; transform:none; } }
.leaders-reveal-on-scroll { opacity:0; transform:translateY(24px); transition:opacity 760ms cubic-bezier(.2,.7,.2,1), transform 760ms cubic-bezier(.2,.7,.2,1); }
.leaders-reveal-on-scroll.is-visible { opacity:1; transform:translateY(0); }
.leaders-reveal-on-scroll--delay { transition-delay:120ms; }

@media (max-width: 1100px) {
  .leaders-hero__grid {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0, 44vh);
    height:100%;
    align-content:center;
    gap:18px;
  }
  .leaders-hero { height:calc(100dvh - var(--site-header-height, 80px)); min-height:calc(100dvh - var(--site-header-height, 80px)); }
  .leaders-hero__copy { max-width:900px; transform:none; }
  .leaders-hero__visual { max-width:640px; width:100%; height:44vh; justify-self:end; }
  .leaders-hero__visual-frame { height:100%; }
  .leaders-intent__grid,
  .leaders-profiles__header,
  .leaders-principles__inner,
  .leaders-closing__inner { grid-template-columns:1fr; }
  .leaders-intent__copy { max-width:760px; }
  .leaders-closing__link { justify-self:start; }
}

@media (max-width: 1024px) {
  .leaders-page .container,
  .leaders-hero__grid { width: min(100% - 80px, 900px); }
  .leaders-title { font-size:clamp(52px, 5.2vw, 82px); }
  .leader-profile__visual { min-height:300px; }
}

@media (max-width: 767px) {
  .leaders-page .container,
  .leaders-hero__grid { width: calc(100% - 40px); }
  .leaders-hero {
    height:calc(100dvh - var(--site-header-height, 80px));
    min-height:calc(100dvh - var(--site-header-height, 80px));
  }
  .leaders-hero__grid {
    gap:16px;
    padding:0;
    grid-template-rows:auto minmax(0, 36vh);
    align-content:center;
  }
  .leaders-title {
    font-size:clamp(40px, 12vw, 54px);
    line-height:1.04;
    letter-spacing:-.045em;
  }
  .leaders-hero__intro { font-size:16px; line-height:1.5; margin-top:20px; }
  .leaders-hero__meta { grid-template-columns:1fr; }
  .leaders-hero__meta div { border-right:0; border-bottom:1px solid #dfe3ea; padding:14px 0; }
  .leaders-hero__meta div:not(:first-child) { padding-left:0; }
  .leaders-hero__meta div:last-child { border-bottom:0; }
  .leaders-hero__visual { height:36vh; }
  .leaders-hero__visual-frame { border-radius:18px; height:100%; aspect-ratio:auto; }
  .leaders-intent { padding:80px 0; }
  .leaders-intent h2,
  .leaders-profiles h2,
  .leaders-principles h2,
  .leaders-closing h2 { font-size:clamp(42px,12vw,62px); }
  .leaders-profiles { padding:90px 0; }
  .leaders-profiles__header { gap:24px; margin-bottom:36px; }
  .leaders-profiles__header > p { font-size:16px; }
  .leaders-profile-grid { grid-template-columns:1fr; }
  .leader-profile__visual { min-height:250px; }
  .leader-profile__body { padding:24px; }
  .leaders-principles__inner { gap:48px; }
  .leaders-closing { padding:90px 0; }
}

/* Short-height phones: keep the complete first section within the viewport
   while preserving the same shared Home-page typography. */
@media (max-width: 767px) and (max-height: 849px) {
  .leaders-hero__grid {
    grid-template-rows: auto minmax(0, 28vh);
    gap: 10px;
  }
  .leaders-hero__visual { height: 28vh; }
  .leaders-hero__intro { margin-top: 16px; font-size: 15px; line-height: 1.45; }
  .leaders-hero__meta { margin-top: 20px; }
  .leaders-hero__meta div { padding: 9px 0; }
  .leaders-hero__meta strong { margin-bottom: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .leaders-reveal,
  .leaders-reveal-on-scroll,
  .leader-profile,
  .leaders-hero__visual-frame img,
  .leaders-closing__link i { animation:none; transition:none; transform:none; opacity:1; }
}

/* Final leaders profile-header refinement: keep typography aligned with the
   site's shared display-heading scale and place the supporting copy below. */
.leaders-profiles__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 60px;
}

.leaders-profiles h2 {
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.leaders-profiles__header > p {
  max-width: 760px;
  margin: 0;
}

@media (max-width: 767px) {
  .leaders-profiles__header {
    gap: 18px;
    margin-bottom: 36px;
  }

  .leaders-profiles h2 {
    font-size: clamp(34px, 9vw, 52px);
    white-space: nowrap;
  }
}


/* Responsive leaders refinement — requested mobile/tablet behavior only. */
@media (max-width: 1024px) {
  .leaders-profiles h2 {
    white-space: normal;
  }
}

/* Taller phones: allow the first section to size naturally so the portrait
   hero image can use its full 2:3 frame rather than being constrained by 100vh. */
@media (max-width: 767px) and (min-height: 850px) {
  .leaders-hero {
    height: auto;
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 28px;
  }

  .leaders-hero__grid {
    height: auto;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 24px;
  }

  .leaders-hero__visual,
  .leaders-hero__visual-frame {
    height: auto;
  }

  .leaders-hero__visual-frame {
    aspect-ratio: 2 / 3;
  }
}

/* Final typography alignment: profiles heading uses the same display scale
   and line-height as the main Leaders hero heading. */
.leaders-profiles h2 {
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}

@media (max-width: 767px) {
  .leaders-profiles h2 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.04;
    letter-spacing: -.045em;
  }
}


/* Founder cards — compact, image-led boxes inspired by the supplied reference.
   Scoped to the Leaders profile section only. */
.leaders-profiles .leaders-profile-grid {
  grid-template-columns: repeat(2, minmax(280px, 380px));
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}

.leaders-profiles .leader-profile {
  position: relative;
  height: clamp(390px, 52vh, 500px);
  min-height: 0;
  display: block;
  overflow: hidden;
  border-radius: 22px;
}

.leaders-profiles .leader-profile__visual {
  height: 100%;
  min-height: 0;
}

.leaders-profiles .leader-profile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px 24px;
  background: rgba(10, 8, 18, .92);
  color: #fff;
}

.leaders-profiles .leader-profile__eyebrow {
  margin: 0 0 8px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
}

.leaders-profiles .leader-profile h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.leaders-profiles .leader-profile__body > p {
  margin: 10px 0 16px;
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
}

.leaders-profiles .leader-profile__tags span {
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  padding: 6px 10px;
  font-size: 10px;
}

.leaders-profiles .leader-profile__visual--one .leader-profile__icon,
.leaders-profiles .leader-profile__visual--two .leader-profile__icon {
  font-size: clamp(56px, 6vw, 76px);
}

@media (max-width: 1024px) {
  .leaders-profiles .leaders-profile-grid {
    gap: 18px;
  }

  .leaders-profiles .leader-profile {
    height: clamp(360px, 48vh, 460px);
  }
}

@media (max-width: 767px) {
  .leaders-profiles .leaders-profile-grid {
    grid-template-columns: 1fr;
  }

  .leaders-profiles .leader-profile {
    height: 390px;
  }

  .leaders-profiles .leader-profile__body {
    padding: 18px 20px 20px;
  }

  .leaders-profiles .leader-profile h3 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .leaders-profiles .leader-profile__body > p {
    font-size: 13px;
    line-height: 1.42;
  }
}

/* Final founder-card sizing refinement: equal text-panel height and ~20% more card height.
   Scoped only to the Leaders founder cards. */
.leaders-profiles .leader-profile {
  height: clamp(468px, 62.4vh, 600px);
}

.leaders-profiles .leader-profile__body {
  height: 275px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .leaders-profiles .leader-profile {
    height: clamp(432px, 57.6vh, 552px);
  }
  .leaders-profiles .leader-profile__body {
    height: 255px;
  }
}

@media (max-width: 767px) {
  .leaders-profiles .leader-profile {
    height: 468px;
  }
  .leaders-profiles .leader-profile__body {
    height: 250px;
  }
}

/* Founder card refinement — requested sizing/typography only. */
.leaders-profiles .leaders-profile-grid {
  grid-template-columns: repeat(2, minmax(270px, 350px));
  gap: 20px;
}

.leaders-profiles .leader-profile {
  height: clamp(515px, 68.6vh, 660px);
}

.leaders-profiles .leader-profile__body {
  height: 45%;
  padding: 20px 22px 22px;
}

.leaders-profiles .leader-profile__eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: .13em;
}

.leaders-profiles .leader-profile h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.leaders-profiles .leader-profile__body > p {
  margin: 9px 0 14px;
  font-size: 13px;
  line-height: 1.4;
}

.leaders-profiles .leader-profile__tags {
  gap: 7px;
}

.leaders-profiles .leader-profile__tags span {
  padding: 5px 9px;
  font-size: 9px;
}

@media (max-width: 1024px) {
  .leaders-profiles .leaders-profile-grid {
    gap: 18px;
  }

  .leaders-profiles .leader-profile {
    height: clamp(475px, 63.4vh, 605px);
  }

  .leaders-profiles .leader-profile__body {
    height: 45%;
    padding: 18px 20px 20px;
  }
}

@media (max-width: 767px) {
  .leaders-profiles .leaders-profile-grid {
    grid-template-columns: 1fr;
  }

  .leaders-profiles .leader-profile {
    height: 515px;
  }

  .leaders-profiles .leader-profile__body {
    height: 45%;
    padding: 17px 19px 19px;
  }

  .leaders-profiles .leader-profile__eyebrow {
    font-size: 9px;
  }

  .leaders-profiles .leader-profile h3 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .leaders-profiles .leader-profile__body > p {
    font-size: 12px;
    line-height: 1.4;
  }

  .leaders-profiles .leader-profile__tags span {
    padding: 5px 8px;
    font-size: 9px;
  }
}

/* Requested final color scope: only the second Leaders section is dark.
   The hero remains on its original white treatment. */
.leaders-hero {
  background:
    linear-gradient(to right, rgba(147,28,245,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,28,245,.035) 1px, transparent 1px),
    var(--color-white);
}

.leaders-hero .leaders-eyebrow,
.leaders-hero .leaders-title {
  color: var(--color-black);
}

.leaders-intent {
  background: var(--color-black);
  border-top-color: var(--color-black);
}

.leaders-intent .leaders-section-kicker,
.leaders-intent h2 {
  color: var(--color-white);
}

.leaders-intent__copy {
  color: var(--color-white);
}
