/* Slide 5: the founder. Scoped to .story-s5 (section) and .story-s5q (testimonial that follows). */

/* ---------- field ---------- */
html body main section.hp-close.story-s5,
html body section.hp-close.hp-close.story-s5 {
  background: #0b2239 !important;
  background-color: #0b2239 !important;
  background-image: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: clamp(56px, 6.4vw, 96px) clamp(22px, 5vw, 72px) clamp(52px, 5.6vw, 84px) !important;
  color: #fff !important;
  text-align: left !important;
  overflow: hidden;
}
html body section.hp-close.story-s5 .hpc-in {
  max-width: 1180px !important;
  margin: 0 auto !important;
  text-align: left !important;
}
html body section.story-s5 .lt { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }

/* ---------- top: portrait + statement ---------- */
html body section.story-s5 .s5-top {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
html body section.story-s5 .lt-head {
  display: block !important;
  margin: 0 !important;
}
html body section.story-s5 .lt-head img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  border-radius: 50% !important;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  outline: 1px solid rgba(227, 179, 194, .75) !important;
  outline-offset: 9px !important;
  margin: 10px !important;
  max-width: calc(100% - 20px) !important;
}
html body section.story-s5 .s5-who { margin: 30px 0 0; }
html body section.story-s5 .s5-say { container-type: inline-size; min-width: 0; }
html body section.story-s5 .lt-nm {
  margin: 0 !important;
  font: 600 24px/1.2 'Source Sans 3', Arial, sans-serif !important;
  color: #fff !important;
}
html body section.story-s5 .lt-head .lt-ti {
  margin: 6px 0 0 !important;
  font: 400 16px/1.45 'Source Sans 3', Arial, sans-serif !important;
  color: #c9d6e1 !important;
  text-wrap: balance;
}

html body section.story-s5 p.hd-bridge {
  margin: 0 0 clamp(22px, 2.6vw, 36px) !important;
  max-width: 30em !important;
  font: italic 400 clamp(18px, 1.5vw, 21px)/1.45 'Source Serif 4', Georgia, serif !important;
  color: #e3b3c2 !important;
  opacity: 1 !important;
}
html body section.story-s5 p.sb-line.sb-l {
  margin: 0 !important;
  max-width: none !important;
  font: 400 clamp(21px, 2.1vw, 30px)/1.3 'Source Serif 4', Georgia, serif !important;
  color: #a9bfd2 !important;
  text-align: left !important;
}
html body section.story-s5 .sb-line .s5-lead { display: block; }
html body section.story-s5 .sb-line em {
  display: block;
  margin: .06em 0 0 -.04em;
  font: 500 clamp(44px, 6.2vw, 96px)/1 'Source Serif 4', Georgia, serif !important;
  font-size: min(112px, 14.7cqi) !important;
  font-style: normal !important;
  letter-spacing: -.025em;
  color: #fff !important;
  white-space: nowrap;
}

/* Read Michael's story */
html body section.story-s5 .lt-body { margin: clamp(26px, 3vw, 40px) 0 0 !important; }
html body section.story-s5 .lt-rm { margin: 0 !important; }
html body section.story-s5 .lt-rm > summary {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font: 600 16px/1 'Source Sans 3', Arial, sans-serif !important;
  color: #fff !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
html body section.story-s5 .lt-rm > summary::-webkit-details-marker { display: none; }
html body section.story-s5 .lt-rm > summary::after { content: "\2193"; font-size: 15px; color: #e3b3c2; }
html body section.story-s5 .lt-rm[open] > summary::after { content: "\2191"; }
html body section.story-s5 .lt-rm > summary:hover,
html body section.story-s5 .lt-rm[open] > summary { background: #fff; border-color: #fff; color: #0b2239 !important; }
html body section.story-s5 .lt-rm > summary:hover::after,
html body section.story-s5 .lt-rm[open] > summary::after { color: #74364A; }
html body section.story-s5 .lt-rm > summary:focus-visible { outline: 2px solid #8fd0ee; outline-offset: 4px; border-radius: 999px; }
html body section.story-s5 .lt-body p {
  margin: 0 0 16px !important;
  max-width: 40em;
  font: 400 17px/1.65 'Source Sans 3', Arial, sans-serif !important;
  color: #dbe4ec !important;
  text-align: left !important;
}
html body section.story-s5 .lt-body summary + p { margin-top: 24px !important; }
html body section.story-s5 .lt-body b { color: #fff !important; font-weight: 600; }
html body section.story-s5 .lt-body p.lt-more { margin: 4px 0 0 !important; }
html body section.story-s5 .lt-body .lt-more a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff !important; font-weight: 600;
  text-decoration: underline; text-decoration-color: #e3b3c2; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
html body section.story-s5 .lt-body .lt-more a:hover { color: #e3b3c2 !important; }
html body section.story-s5 .lt-body .lt-more a:focus-visible { outline: 2px solid #8fd0ee; outline-offset: 3px; border-radius: 4px; }

/* ---------- the path, in order ---------- */
html body section.story-s5 .s5-path {
  --dot: 15px;
  list-style: none !important;
  margin: clamp(48px, 5.4vw, 80px) 0 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr 1.05fr;
  column-gap: clamp(24px, 3vw, 44px);
  position: relative;
  counter-reset: none;
}
html body section.story-s5 .s5-path > li {
  position: relative;
  margin: 0 !important;
  padding: 34px 0 0 !important;
  list-style: none !important;
}
html body section.story-s5 .s5-path > li::marker { content: none; }
/* connecting line: from each dot to the next */
html body section.story-s5 .s5-path > li::before {
  content: "";
  position: absolute;
  left: calc(var(--dot) + 6px);
  right: calc(-1 * clamp(24px, 3vw, 44px) + 6px);
  top: calc(var(--dot) / 2 - .5px);
  height: 1px;
  background: rgba(169, 191, 210, .55);
  transform-origin: left center;
}
html body section.story-s5 .s5-path > li:last-child::before { display: none; }
html body section.story-s5 .s5-dot {
  position: absolute;
  left: 0; top: 0;
  width: var(--dot); height: var(--dot);
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #a9bfd2;
  background: #0b2239;
}
html body section.story-s5 .s5-now .s5-dot {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 0 0 5px #0b2239, 0 0 0 6px rgba(227, 179, 194, .8);
}
html body section.story-s5 p.s5-k {
  margin: 0 0 8px !important;
  font: 700 13px/1.3 'Source Sans 3', Arial, sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #e3b3c2 !important;
}
html body section.story-s5 .s5-n {
  display: inline-block;
  margin-right: .7em;
  color: #a9bfd2;
  font-variant-numeric: tabular-nums;
}
html body section.story-s5 p.s5-v {
  margin: 0 !important;
  max-width: 24em;
  font: 400 16px/1.5 'Source Sans 3', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #dbe4ec !important;
}
html body section.story-s5 .s5-now p.s5-k { color: #fff !important; }
html body section.story-s5 .s5-now p.s5-v { color: #fff !important; font-weight: 600 !important; }

/* motion: the line draws left to right, in order, once the slide is in view */
@media (prefers-reduced-motion: no-preference) {
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r .s5-path > li::before {
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  }
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r.mv-in .s5-path > li::before { transform: scaleX(1); }
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r.mv-in .s5-path > li:nth-child(1)::before { transition-delay: .35s; }
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r.mv-in .s5-path > li:nth-child(2)::before { transition-delay: .85s; }
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r.mv-in .s5-path > li:nth-child(3)::before { transition-delay: 1.35s; }
}

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  html body section.story-s5 .s5-top { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); column-gap: 40px; }
  html body section.story-s5 .lt-nm { font-size: 21px !important; }
  html body section.story-s5 .s5-who { margin-top: 24px; }
  html body section.story-s5 .s5-path {
    display: block;
    margin: 44px 0 0 !important;
  }
  html body section.story-s5 .s5-path > li { padding: 0 0 18px 34px !important; }
  html body section.story-s5 .s5-path > li:last-child { padding-bottom: 0 !important; }
  html body section.story-s5 .s5-path > li::before {
    display: block;
    left: calc(var(--dot) / 2 - .5px);
    right: auto;
    top: calc(var(--dot) + 8px);
    bottom: -2px;
    width: 1px; height: auto;
    transform-origin: center top;
  }
  html body section.story-s5 .s5-path > li:last-child::before { display: none; }
  html body section.story-s5 .s5-dot { top: 1px; }
  html body section.story-s5 p.s5-k { margin-bottom: 4px !important; }
  html body section.story-s5 p.s5-v { font-size: 15.5px !important; line-height: 1.45 !important; max-width: 44em; }
}


/* ---------- phone: portrait, statement, vertical spine ---------- */
@media (max-width: 680px) {
  html body main section.hp-close.story-s5,
  html body section.hp-close.hp-close.story-s5 { padding: 40px 22px 36px !important; }
  html body section.story-s5 .s5-top { display: flex; flex-direction: column; align-items: stretch; }
  html body section.story-s5 .s5-say { display: contents; container-type: normal; }
  html body section.story-s5 p.hd-bridge { order: 1; margin: 0 0 24px !important; font-size: 18px !important; }
  html body section.story-s5 .lt-head {
    order: 2;
    display: grid !important;
    grid-template-columns: 164px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
  }
  html body section.story-s5 .lt-head img { margin: 7px !important; max-width: calc(100% - 14px) !important; outline-offset: 6px !important; }
  html body section.story-s5 .s5-who { margin: 0; }
  html body section.story-s5 .lt-nm { font-size: 21px !important; }
  html body section.story-s5 .lt-head .lt-ti { font-size: 15px !important; line-height: 1.4 !important; }
  html body section.story-s5 p.sb-line.sb-l { order: 3; margin: 26px 0 0 !important; font-size: 19px !important; }
  html body section.story-s5 .sb-line em { font-size: min(64px, calc((100vw - 68px) * .149)) !important; margin-top: .1em; }
  html body section.story-s5 .lt-body { order: 4; margin: 22px 0 0 !important; }
  html body section.story-s5 .s5-path { margin: 30px 0 0 !important; }
  html body section.story-s5 p.s5-v { max-width: none; }

}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r .s5-path > li::before { transform: scaleY(0); }
  html.mv:not(.mv-still) body section.story-s5 .hpc-in.mv-r.mv-in .s5-path > li::before { transform: scaleY(1); }
}

/* ================= testimonial that follows ================= */
html body div.hd-pq-wrap.story-s5q {
  background: #f7f5ef !important;
  background-image: none !important;
  padding: clamp(52px, 6vw, 88px) clamp(22px, 5vw, 72px) clamp(36px, 4vw, 56px) !important;
}
html body div.story-s5q figure.hd-pq {
  position: relative;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 0 0 clamp(64px, 8vw, 112px) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body div.story-s5q figure.hd-pq::before {
  content: "\201C" !important;
  position: absolute;
  top: -.08em !important; left: -.04em !important; right: auto !important;
  font: 500 clamp(110px, 11vw, 160px)/1 'Source Serif 4', Georgia, serif !important;
  color: #74364A !important;
  height: .62em;
  overflow: hidden;
}
html body div.story-s5q figure.hd-pq blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font: 400 clamp(21px, 2.15vw, 30px)/1.42 'Source Serif 4', Georgia, serif !important;
  color: #33495b !important;
  text-wrap: pretty;
}
html body div.story-s5q figure.hd-pq blockquote b { color: #0b2239 !important; font-weight: 600 !important; }
html body div.story-s5q figure.hd-pq figcaption {
  display: flex; align-items: center; gap: 14px;
  margin: clamp(22px, 2.4vw, 32px) 0 0 !important;
  font: 700 13px/1.3 'Source Sans 3', Arial, sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #74364A !important;
}
html body div.story-s5q figure.hd-pq figcaption::before {
  content: ""; flex: none; width: 36px; height: 1px; background: #74364A;
}
html body div.story-s5q p.hd-pq-note {
  max-width: 980px !important;
  margin: clamp(36px, 4vw, 56px) auto 0 !important;
  padding: 18px 0 0 clamp(64px, 8vw, 112px) !important;
  border-top: 1px solid #ddd8cc !important;
  font: 400 15px/1.55 'Source Sans 3', Arial, sans-serif !important;
  color: #33495b !important;
  box-sizing: border-box;
}
html body div.story-s5q p.hd-pq-note b { color: #0b2239 !important; }

@media (max-width: 680px) {
  html body div.hd-pq-wrap.story-s5q { padding: 36px 22px 20px !important; }
  html body div.story-s5q figure.hd-pq { padding: 42px 0 0 !important; }
  html body div.story-s5q figure.hd-pq::before { font-size: 96px !important; top: -6px !important; left: -4px !important; }
  html body div.story-s5q figure.hd-pq blockquote { font-size: 20px !important; line-height: 1.45 !important; }
  html body div.story-s5q figure.hd-pq figcaption { margin-top: 18px !important; }
  html body div.story-s5q p.hd-pq-note { margin-top: 24px !important; padding: 14px 0 0 !important; line-height: 1.45 !important; }
}

/* review pass 2: one quotation mark only (connected-dots motif instead of a second glyph) */
html body div.story-s5q figure.hd-pq::before{content:""!important;width:76px!important;height:16px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 16'%3E%3Cline x1='8' y1='8' x2='68' y2='8' stroke='%239fb3c4' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='6' fill='%23496D89'/%3E%3Ccircle cx='38' cy='8' r='6' fill='%232C8DB8'/%3E%3Ccircle cx='68' cy='8' r='6' fill='%2374364A'/%3E%3C/svg%3E") no-repeat left center/76px 16px!important;font-size:0!important;top:14px!important;left:0!important}
@media (max-width:899.98px){html body div.story-s5q figure.hd-pq::before{top:10px!important;left:0!important}}

/* review pass 3: the quote mark is the four-dot brand mark, in the fixed D-O-T-S colours */
html body div.story-s5q figure.hd-pq::before{width:100px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 16'%3E%3Cline x1='8' y1='8' x2='92' y2='8' stroke='%239fb3c4' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='6' fill='%2374364A'/%3E%3Ccircle cx='36' cy='8' r='6' fill='%23496D89'/%3E%3Ccircle cx='64' cy='8' r='6' fill='%232C8DB8'/%3E%3Ccircle cx='92' cy='8' r='6' fill='%231E4B78'/%3E%3C/svg%3E") no-repeat left center/100px 16px!important}
html body div.story-s5q figure.hd-pq{padding:40px 0 0 0!important}
html body div.story-s5q figure.hd-pq::before{top:4px!important;left:0!important}
html body div.story-s5q p.hd-pq-note{margin-left:auto!important;margin-right:auto!important;padding-left:0!important;max-width:980px!important}
