/* ============================================================
   Devex - Partnerships 2026
   ============================================================ */

:root {
  --color-text:     #3d4045;
  --color-cream:    #fafafa;
  --color-dark:     #2f2f2f;
  --color-orange:   #ff9400;
  --color-white:    #ffffff;
}

/* ---------- Base ---------- */
html, body {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { background: #fff; }
img { max-width: 100%; height: auto; display: block; }
p  { margin: 0; }

/* Bootstrap 3 keeps .container at 1170 on >=1200. Full-bleed sections
   are handled by wrapping .container inside a full-width <section>. */

/* ---------- Section utility ---------- */
.section {
  width: 100%;
  padding: 120px 0;
}
.section--cream { background: var(--color-cream); }
.section--dark  { background: var(--color-dark); color: var(--color-cream); }
.section--white { background: var(--color-white); }

.section-header {
text-align: center;
    margin: 0 18% 80px 18%;
}
.section-header p + p { margin-top: 24px; }

/* ---------- Typography ---------- */
.h-display {
  font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.1;
    margin: 0 0 30px 0;
    text-transform: none ! IMPORTANT;
}
.h-section {
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 30px 0;
    text-transform: none;
}
.h-card-num {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--color-orange);
  line-height: 1;
  margin: 0 0 2px;
}
.h-card {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.h-card-sub {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
}
.lede { font-size: 22px; line-height: 32px; font-family: 'Helvetica', sans-serif; }
.body { font-size: 18px; line-height: 28px; font-family: 'Helvetica', sans-serif; }

.quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
}
.quote-name {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
}
.quote-role {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
}





/* ---------- Video Section ---------- */

    .video-section {
      height: calc(100vh - 60px);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    background: #000;
    min-height: 400px;
    }

    video#video-bg {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto z-index: -100;
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      background-size: cover;
      opacity: 0.4;
      z-index: 0;
  }

  .video-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 7rem;
}

  .banner-content h1 {
    max-width: 1106px;
    margin: 0 0 1rem 0;
    font-size: 60px;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
    line-height: 60px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0;
  background: #fff;
}
.hero__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 24px;
}
.hero__body {
font-size: 18px;
    line-height: 28px;
    font-family: 'Helvetica', sans-serif;
}

/* ---------- Quote block (Andrew Steer / Perry Yeatman) ---------- */
.quote-block {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
  margin-bottom: 80px;
}
.quote-block__photo {
  width: 272px;
  height: 272px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.quote-block__body { max-width: 540px; }
.quote-block__body .quote { margin-bottom: 24px; }

/* ---------- Stats grid ---------- */
.stats {
display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 0px;
    background: none !important;
    padding: 30px 0;
}
.stat {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 20px;
  text-align: left;
  
}
.stat__num {
font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    color: var(--color-orange) !important;
    margin: 0 0 8px !important;
}
.stat__num--xl { font-size: 72px; }
.stat__num--md { font-size: 42px; line-height: 43px; }
.stat__num--sm { font-size: 28px; text-align: center; margin-bottom: 20px; }

.stat__label {
    font-size: 18px;
    line-height: 28px;
    color: #3D4045 !important;
    margin: 0px !important;
}
.stats__last { margin-bottom: 0; }

/* On dark sections, stat numbers stay orange unless overridden */
.section--dark .stat__num { color: var(--color-white); }

/* ---------- Leaders grid (12 headshots) ---------- */
.leaders {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}
.leader {
  flex: 1 1 calc(16.66% - 20px);
  max-width: calc(16.66% - 20px);
  text-align: center;
}
.leader__photo {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  margin: 0 auto 16px;
  background-color: #444;
  filter: grayscale(100%);
}
.leader__name {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-cream);
  margin: 0 0 4px;
}
.leader__role {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 19px;
  color: var(--color-cream);
  margin: 0;
}

/* ---------- Partner cards (1/2/3 with image) ---------- */
.partner-card {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}
.partner-card:last-child { margin-bottom: 0; }
.partner-card__img {
  flex: 0 0 467px;
  height: 432px;
  background-size: cover;
  background-position: center;
}
.partner-card__body { flex: 1 1 auto; min-width: 0; }
.partner-card__body .body { margin: 0 0 20px; }
.partner-card--reverse { flex-direction: row-reverse; }

.btn-cta {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  border: 0;
}
.btn-cta:hover, .btn-cta:focus {
  background: #e58300;
  color: #fff;
  text-decoration: none;
}

.btn-cta-hero {
display: inline-block;
    background: var(--color-orange);
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    padding: 10px 14px;
    border-radius: 4px;
    text-decoration: none;
    border: 0;
    margin-top: 20px;
}
.btn-cta-hero:hover, .btn-cta-hero:focus {
  background: #e58300;
  color: #fff;
  text-decoration: none;
}

/* ---------- Our Partners (speedo-style pie tiles) ----------
   Rows are forced via CSS Grid so we always get 4 in row 1 / 3 in row 2,
   regardless of BS3's container width. Tiles scale to fit but cap at 270px. */
.partners-row {
  display: grid;
  gap: 22px;
  justify-items: center;
  margin-bottom: 22px;
}
.partners-row:last-child { margin-bottom: 0; }
.partners-row--4 { grid-template-columns: repeat(4, 1fr); }
.partners-row--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 854px;  /* 3 × 270 + 2 × 22 — keeps row 2 the same tile size as row 1 */
  margin-left: auto;
  margin-right: auto;
}

.partner-tile {
  position: relative;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1 / 1;
}

/* The pie ring is an inline SVG with two concentric circles:
   - .pie-track: faint background "speedo" track
   - .pie-fill : the orange arc that fills clockwise via stroke-dashoffset
   Rotating the SVG by -90deg puts 0% at 12 o'clock so the fill grows clockwise. */
.partner-tile__pie-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.pie-track {
  fill: none;
  stroke: var(--color-cream);  /* #fafafa */
  stroke-width: 16;
}
.pie-fill {
  fill: none;
  stroke: var(--color-orange);
  stroke-width: 16;
  stroke-linecap: butt;
  /* 2π × 127 ≈ 798.18 — the full circumference */
  stroke-dasharray: 798.18;
  stroke-dashoffset: 798.18;        /* hidden until JS sets the target offset */
  transition: stroke-dashoffset 1600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Ellipse and inner content use percentages so they scale with the tile. */
.partner-tile__ellipse {
  position: absolute;
  top: 5.93%;      /* 16/270 */
  left: 5.93%;
  width: 88.15%;   /* 238/270 */
  height: 88.15%;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.partner-tile__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 11.11%;   /* 30/270 */
}
.partner-tile__label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 21px;
  color: var(--color-cream);
  margin: 0 0 10px;
}
.partner-tile__logo {
  display: block;
  margin: 0 auto;
  /* Per-logo dimensions are set inline to match the Figma aspect ratios.
     We deliberately do NOT set max-width/max-height here so SVG viewBox
     scaling stays intact and logos don't get squashed. */
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Ellipse + inner text fade in shortly after the pie arc starts filling. */
.partner-tile__ellipse,
.partner-tile__inner {
  opacity: 0;
  transition: opacity 600ms ease 400ms;
}
.in-view .partner-tile__ellipse,
.in-view .partner-tile__inner {
  opacity: 1;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .partner-tile__ellipse,
  .partner-tile__inner,
  .pie-fill {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .pie-fill { stroke-dashoffset: 0 !important; }
}

/* ---------- Final CTA ---------- */
.cta {
  padding: 120px 0;
  text-align: center;
}
.cta__title {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.1;
  margin: 0 0 24px;
}
.cta__body {
  font-size: 22px;
  line-height: 32px;
  margin: 0 0 40px;
}
.cta__btn {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.cta__btn:hover, .cta__btn:focus {
  background: #e58300;
  color: #fff;
  text-decoration: none;
}

/* ---------- Subhead before stat groups ---------- */
.stats-subhead {
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--color-orange);
  text-align: center;
  margin: 0 0 20px;
}

/* ---------- Responsive ----------
   BS3 breakpoints: xs <768, sm 768-991, md 992-1199, lg >=1200
   Figma is desktop baseline; we keep it intact at >=1200 and scale down. */

@media (max-width: 1199px) {
  .h-display, .cta__title { font-size: 48px; }
  .hero__title { font-size: 34px; }
  .stat__num    { font-size: 56px; }
  .stat__num--xl{ font-size: 64px; }
}

@media (max-width: 991px) {
  .section { padding: 80px 0; }
  .h-display, .cta__title { font-size: 40px; }
  .stat { flex: 1 1 50%; }
  .leader { flex: 1 1 calc(25% - 20px); max-width: calc(25% - 20px); }
  .partner-card, .partner-card--reverse {
    flex-direction: column;
    gap: 32px;
    text-align: left;
  }
  .partner-card__img { width: 100%; flex-basis: auto; }
  .quote-block { flex-direction: column; text-align: center; gap: 32px; }
}

@media (max-width: 991px) {
  /* Partner rows collapse to 2 columns on tablet */
  .partners-row--4 { grid-template-columns: repeat(2, 1fr); }
  .partners-row--3 { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .hero { padding: 80px 0; }
  .hero__title { font-size: 28px; }
  .h-display, .cta__title { font-size: 32px; }
  .h-card { font-size: 28px; }
  .h-card-sub { font-size: 20px; }

  /* 2 stats per row on mobile (grid keeps a lonely 3rd at 50% width
     instead of stretching it full-width) */
  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .stat { flex: initial; padding-right: 0; }
  .stat__num, .stat__num--xl { font-size: 48px; }

  .leader { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); }

  /* "Ways to partner" cards: image on top of text on mobile */
  .partner-card,
  .partner-card--reverse { flex-direction: column-reverse; }

  /* 2 pie tiles per row on mobile */
  .partners-row--4,
  .partners-row--3 { grid-template-columns: repeat(2, 1fr); }

  /* Shrink logos inside the pie tiles so they breathe at the smaller size.
     max-width is relative to the inner-padded area; height: auto preserves
     each logo's aspect ratio. */
  .partner-tile__label { font-size: 13px; line-height: 18px; }
  .partner-tile__logo {
    max-width: 65%;
    height: auto;
  }

  .lede { font-size: 18px; line-height: 28px; }
  .cta__body { font-size: 18px; line-height: 28px; }
}


.slider {
    padding: 40px 0 !important;
}

.slick-dots li button:before {
    color: #E0E0E0 !important;
}



.mktoForm .mktoLabel {
    width: 25% !important;
    color: #333;
    margin-top: 8px !important;
    font-weight: 600 !important;
    text-align: right;
    padding-right: 20px;
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 18px !important;
}
.mktoForm input[type=text], .mktoForm input[type=url], .mktoForm input[type=email], .mktoForm input[type=tel], .mktoForm input[type=number], .mktoForm input[type=date], .mktoForm textarea.mktoField, .mktoForm select.mktoField {
    padding: 10px 12px 10px 12px !important;
    width: 75% !important;
    font-size: 16px !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    font-family: Helvetica, sans-serif;
    border-radius: 4px;
}

.mktoForm .mktoGutter {
    display: none !important;
}

.mktoForm .mktoFormCol, .mktoForm .mktoFieldWrap {
    width: 100%;
}

.mktoForm .mktoRequiredField .mktoAsterix {
    display: none !important;
}

.mktoForm .mktoRadioList > label, .mktoForm .mktoCheckboxList > label {
    font-weight: 400;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
}

.mktoForm .mktoRadioList > input, .mktoForm .mktoCheckboxList > input {
    margin-top: 2px;
}

.mktoButtonRow {
    width: 100%;
}

span.mktoButtonWrap {
    margin-left: 0 !important;
    padding-left: 25% !important;
    margin-top: 20px !important;
    display: block;
}

.mktoForm button.mktoButton {
    cursor: pointer;
    margin: 0;
    font-family: Helvetica, sans-serif;
    font-size: 18px;
    background: #ff9a01;
    border: 0;
    padding: 6px 16px;
    border-radius: 4px;
    color: #fff;

}

.contact-form form {
max-width: 720px;
    margin: 40px auto 0 auto;
}

h2 {
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    margin: 10px 0 8px;
    text-transform: none;
}

.modal-body p {
    font-family: 'Helvetica', sans-serif;
    font-size: 18px;
    line-height: 22px;
    margin: 20px 30px 0 20px;
}