/* T-1150 — The Yahire Story page (yahirenew/views/yahire/the-yahire-story.php).
   Built from the 2026-09-23 handover pack's source/globals.css, scoped to #yahireStory so nothing
   here touches the site header, footer or other pages. Fonts come from the site's own CSS; the
   pack's header / footer / nav rules are dropped; .hero / .button / .arrow__path renamed to
   .story-hero / .story-button / .story-arrow-path to keep clear of origin.css. Breakpoints 1199 / 991 / 767. */

#yahireStory {
  --ink: #243638;
  --blue: #008fab;
  --blue-dark: #064750;
  --pink: #c70061;
  --pink-bright: #e61a5a;
  --yellow: #f9ba2f;
  --pale-yellow: #ffffc7;
  --grey: #f4f4f4;
  --white: #ffffff;
  --line: rgba(36, 54, 56, 0.16);
}

#yahireStory *, #yahireStory *::before, #yahireStory *::after {
  box-sizing: border-box;
}

#yahireStory {
  background: var(--white);
  color: var(--ink);
  font-family: "Pangea", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#yahireStory a {
  color: inherit;
  text-decoration: none;
}

#yahireStory button {
  color: inherit;
  font: inherit;
}

#yahireStory img {
  display: block;
  max-width: 100%;
}

#yahireStory h1, #yahireStory h2, #yahireStory h3, #yahireStory h4, #yahireStory p {
  margin-top: 0;
}

#yahireStory h1, #yahireStory h2, #yahireStory h3, #yahireStory h4 {
  display: block;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

#yahireStory h1 {
  font-size: 42.3077px;
}

#yahireStory h2 {
  font-size: 36px;
}

#yahireStory h3 {
  font-size: 25.3846px;
}

#yahireStory .shell {
  margin-inline: auto;
  width: min(1400px, calc(100% - 40px));
}

#yahireStory .sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#yahireStory .eyebrow {
  color: var(--pink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0 0 7.5px;
  text-transform: uppercase;
}

#yahireStory .eyebrow.light {
  color: var(--yellow);
}

#yahireStory .story-hero {
  color: var(--white);
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

#yahireStory .hero-photo {
  background-image:
    linear-gradient(rgba(10, 25, 27, 0.52), rgba(10, 25, 27, 0.52)),
    url("/img/story/hero.webp");
  background-position: center 48%;
  background-size: cover;
  inset: 0;
  position: absolute;
}

#yahireStory .story-hero::after {
  background: url("/img/hero__curve.svg") center bottom / 2000px no-repeat;
  bottom: -1px;
  content: "";
  height: 150px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 2;
}

#yahireStory .hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  padding: 30px 0 60px;
  position: relative;
  text-align: center;
  z-index: 3;
}

#yahireStory .hero-content > span {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 7.5px;
  text-transform: uppercase;
}

#yahireStory .story-hero h1 {
  color: var(--white);
  margin: 0;
}

#yahireStory .story-hero p {
  color: var(--yellow);
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 0;
}

#yahireStory .chapter-menu {
  background: var(--white);
  border: 1px solid rgba(36, 54, 56, 0.09);
  border-radius: 32px;
  box-shadow: 0 7px 22px rgba(36, 54, 56, 0.13);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  margin-top: -30px;
  max-width: 680px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

#yahireStory .chapter-menu a {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  min-height: 60px;
  padding: 0 24px 2px;
  position: relative;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#yahireStory .chapter-menu a + a {
  border-left: 1px solid rgba(36, 54, 56, 0.1);
}

#yahireStory .chapter-menu a::after {
  background: var(--pink);
  bottom: 0;
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  right: 24px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

#yahireStory .chapter-menu a:hover, #yahireStory .chapter-menu a:focus-visible {
  background: rgba(199, 0, 97, 0.045);
  color: var(--pink);
}

#yahireStory .chapter-menu a:hover::after, #yahireStory .chapter-menu a:focus-visible::after {
  transform: scaleX(1);
}

#yahireStory .chapter-menu a:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 143, 171, 0.28);
  outline: 0;
}

#yahireStory #beginning, #yahireStory #company, #yahireStory #team, #yahireStory #vision {
  scroll-margin-top: 150px; /* clears the site's fixed header (yahire.css, ~128px on desktop) */
}

#yahireStory .story-section {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  padding-bottom: 46px;
  padding-top: 46px;
}

#yahireStory .founders-photo {
  margin: 0;
  padding-right: 15px;
}

#yahireStory .founders-photo img {
  aspect-ratio: 1.12;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
}

#yahireStory .story-copy {
  max-width: 560px;
  padding-left: 15px;
  padding-top: 5px;
}

#yahireStory .story-copy h2 {
  margin: 0 0 26px;
}

#yahireStory .story-copy h2 span {
  color: var(--pink);
}

#yahireStory .story-copy p {
  margin-bottom: 18px;
}

#yahireStory .story-lead {
  font-weight: 600;
}

#yahireStory .story-kicker {
  font-weight: 600;
  margin-bottom: 0 !important;
}

#yahireStory .story-quote {
  border-left: 3px solid var(--pink);
  margin: 26px 0 24px;
  padding: 4px 0 4px 20px;
}

#yahireStory .story-quote p {
  color: var(--pink);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 7.5px;
}

#yahireStory .story-quote em {
  font-style: italic;
}

#yahireStory .story-quote cite {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#yahireStory .company-detail {
  max-width: 1200px;
  padding-bottom: 48px;
  padding-top: 52px;
}

#yahireStory .company-detail-intro h2 span {
  color: var(--pink);
}

#yahireStory .company-detail-intro > p {
  max-width: 650px;
}

#yahireStory .company-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

#yahireStory .company-cards article {
  background: var(--white);
  border: 1px solid rgba(36, 54, 56, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(36, 54, 56, 0.06);
  overflow: hidden;
  padding: 22px 20px 24px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

#yahireStory .company-cards article::before {
  background: var(--pink);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#yahireStory .company-cards article:hover {
  box-shadow: 0 14px 34px rgba(36, 54, 56, 0.11);
  transform: translateY(-3px);
}

#yahireStory .company-cards article:nth-child(3n + 1) {
  background: #fff7fb;
}

#yahireStory .company-cards article:nth-child(3n + 2) {
  background: #fffaf0;
}

#yahireStory .company-cards article:nth-child(3n + 2)::before {
  background: var(--yellow);
}

#yahireStory .company-cards article:nth-child(3n) {
  background: #f2fbfc;
}

#yahireStory .company-cards article:nth-child(3n)::before {
  background: var(--blue);
}

#yahireStory .company-cards h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 10px;
}

#yahireStory .company-cards article:nth-child(3n + 1) strong {
  color: var(--pink);
}

#yahireStory .company-cards article:nth-child(3n + 2) strong {
  color: #9b6900;
}

#yahireStory .company-cards article:nth-child(3n) strong {
  color: var(--blue);
}

#yahireStory .company-cards h3 strong {
  font-weight: 600;
}

#yahireStory .company-cards p {
  color: rgba(36, 54, 56, 0.72);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

#yahireStory .vision-journey {
  margin-top: 44px;
  text-align: center;
}

#yahireStory .vision-journey h3 {
  font-size: 25.3846px;
  margin: 0;
}

#yahireStory .journey-curve {
  aspect-ratio: 1200 / 560;
  margin: 18px auto 0;
  position: relative;
  width: 100%;
}

#yahireStory .journey-path {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

#yahireStory .journey-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

#yahireStory .journey-point {
  left: var(--x);
  position: absolute;
  text-align: center;
  top: var(--y);
  width: 136px;
}

#yahireStory .journey-point.above {
  padding-bottom: 22px;
  transform: translate(-50%, -100%);
}

#yahireStory .journey-point.below {
  padding-top: 22px;
  transform: translateX(-50%);
}

#yahireStory .journey-point .tick {
  background: var(--pink);
  height: 15px;
  left: 50%;
  margin-left: -1px;
  position: absolute;
  width: 2px;
}

#yahireStory .journey-point.above .tick {
  bottom: 2px;
}

#yahireStory .journey-point.below .tick {
  top: 2px;
}

#yahireStory .journey-point .year {
  color: var(--pink);
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

#yahireStory .journey-point h3 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 4px;
}

#yahireStory .journey-point p {
  color: rgba(36, 54, 56, 0.7);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

#yahireStory .journey-ship {
  display: block;
  left: 7.4%;
  position: absolute;
  top: 75.5%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 8%;
}

#yahireStory .journey-ship svg {
  display: block;
  height: auto;
  width: 100%;
}

#yahireStory .scale-band {
  background: #008fab url("/img/texture__on-blue.webp") center center;
  background-size: 1600px auto;
  color: var(--white);
  padding: 50px 0 56px;
  position: relative;
}

#yahireStory .scale-eyebrow {
  color: var(--yellow);
  margin-bottom: 8px;
  text-align: center;
}

#yahireStory .scale-heading h2 {
  color: var(--white);
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 30px;
  text-align: center;
}

#yahireStory .scale-heading h2 span {
  color: var(--white);
}

#yahireStory .scale-heading mark {
  background: transparent;
  color: var(--yellow);
  font-weight: 500;
}

#yahireStory .stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#yahireStory .stat-item {
  align-items: flex-start;
  display: flex;
  min-width: 0;
}

#yahireStory .stat-item > img, #yahireStory .stat-art {
  flex: 0 0 100px;
  height: 100px;
  margin-right: 16px;
  object-fit: contain;
  width: 100px;
}

#yahireStory .stat-art {
  position: relative;
}

#yahireStory .stat-art-base {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

#yahireStory .stat-art-logo {
  height: auto;
  left: 14%;
  position: absolute;
  top: 51.5%;
  width: 37%;
}

#yahireStory .stat-item strong {
  color: var(--white);
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 6px 0 5px;
}

#yahireStory .stat-item span {
  color: var(--white);
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

#yahireStory .scale-arrow {
  bottom: auto;
  height: 165px;
  left: calc(50% + clamp(180px, 34vw, 320px));
  position: absolute;
  top: calc(100% - 38px);
  transform: translateX(-50%);
  width: 165px;
  z-index: 2;
}

#yahireStory .scale-arrow svg {
  display: block;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: center;
  width: 100%;
}

#yahireStory .story-arrow-path {
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 26px;
}

#yahireStory .vision-section {
  padding: 60px 0 50px;
}

#yahireStory .section-intro.split {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

#yahireStory .section-intro h2 {
  margin: 0;
}

#yahireStory .section-intro > p {
  margin: 0 0 5px;
  max-width: 400px;
}

#yahireStory .section-intro.centered {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-inline: auto;
  max-width: 1100px;
  text-align: center;
}

#yahireStory .section-intro.centered > p {
  margin: 0 auto;
  max-width: 880px;
}

#yahireStory .vision-note {
  background: var(--blue-dark);
  border-radius: 14px;
  color: var(--white);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  margin-top: 48px;
  overflow: hidden;
  padding: 44px 52px;
  position: relative;
}

#yahireStory .vision-note::after {
  color: rgba(249, 186, 47, 0.12);
  content: "“";
  font-family: Georgia, serif;
  font-size: 250px;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: 28px;
  top: -42px;
}

#yahireStory .vision-note-heading, #yahireStory .vision-note-copy {
  position: relative;
  z-index: 1;
}

#yahireStory .vision-note .eyebrow {
  color: var(--yellow);
  margin-bottom: 12px;
}

#yahireStory .vision-note h3 {
  color: var(--white);
  font-size: 33px;
  margin: 0;
}

#yahireStory .vision-note h3 span {
  color: var(--yellow);
}

#yahireStory .vision-note-copy {
  max-width: 690px;
}

#yahireStory .vision-note-copy > p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

#yahireStory .vision-note-copy > p:first-child {
  color: var(--white);
  font-size: 19px;
}

#yahireStory .vision-note-signoff {
  background: transparent;
  border-left: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  padding: 2px 0 2px 16px;
}

#yahireStory .vision-note-signoff strong {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

#yahireStory .vision-note-signoff span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

#yahireStory .principles-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
  width: calc(100% - 48px);
}

#yahireStory .principle-item {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 22px 28px;
}

#yahireStory .principle-item + .principle-item {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

#yahireStory .principle-item img {
  flex: 0 0 52px;
  height: 52px;
  object-fit: contain;
  width: 52px;
}

#yahireStory .principle-item p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

#yahireStory .principle-item strong {
  color: var(--yellow);
  font-weight: 600;
}

#yahireStory .principle-item p span {
  font-size: 13px;
}

#yahireStory .team-section {
  background: var(--blue-dark);
  color: var(--white);
  padding: 48px 0 60px;
}

#yahireStory .team-shell {
  max-width: 1400px;
}

#yahireStory .team-intro h2 {
  color: var(--white);
}

#yahireStory .team-intro h2 strong {
  color: var(--yellow);
  font-weight: 500;
}

#yahireStory .team-intro > p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 880px;
}

#yahireStory .team-groups {
  margin-top: 36px;
}

#yahireStory .team-group {
  margin-bottom: 48px;
}

#yahireStory .team-group:last-child {
  margin-bottom: 0;
}

#yahireStory .team-group-heading {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

#yahireStory .team-group-heading h3 {
  color: var(--white);
  margin: 0;
}

#yahireStory .team-group-heading span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#yahireStory .portrait-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, 236px);
  justify-content: center;
}

#yahireStory .team-group-directors .portrait-grid, #yahireStory .team-group-management .portrait-grid, #yahireStory .team-group-sales .portrait-grid {
  grid-template-columns: repeat(auto-fill, 236px);
  max-width: none;
}

#yahireStory .portrait-card {
  min-width: 0;
  outline: none;
}

#yahireStory .portrait-image {
  aspect-ratio: 4 / 5;
  background: var(--pink);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

#yahireStory .portrait-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
  width: 100%;
}

#yahireStory .portrait-placeholder {
  align-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.14) 0 12%, transparent 13%),
    linear-gradient(145deg, var(--pink-bright), var(--pink));
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

#yahireStory .portrait-placeholder span {
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-size: 58px;
  font-weight: 500;
  height: 120px;
  justify-content: center;
  width: 120px;
}

#yahireStory .portrait-qa {
  background: linear-gradient(180deg, rgba(6, 71, 80, 0.08), rgba(6, 71, 80, 0.97));
  color: var(--white);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  opacity: 0;
  padding: 22px;
  position: absolute;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#yahireStory .portrait-qa-label {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

#yahireStory .portrait-qa-item + .portrait-qa-item {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 12px;
  padding-top: 12px;
}

#yahireStory .portrait-qa-item span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#yahireStory .portrait-qa-item strong {
  color: var(--white);
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 3px;
}

#yahireStory .portrait-card:hover .portrait-qa, #yahireStory .portrait-card:focus .portrait-qa, #yahireStory .portrait-card:focus-within .portrait-qa {
  opacity: 1;
  transform: none;
}

#yahireStory .portrait-card:hover .portrait-image img, #yahireStory .portrait-card:focus .portrait-image img {
  transform: scale(1.04);
}

#yahireStory .portrait-card:focus-visible .portrait-image {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

#yahireStory .portrait-meta {
  padding-top: 10px;
}

#yahireStory .portrait-meta h4 {
  color: var(--white);
  font-size: 17px;
  margin: 0 0 3px;
}

#yahireStory .portrait-meta p {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

#yahireStory .closing {
  background: var(--grey);
  border-bottom: 1px solid rgba(36, 54, 56, 0.08);
  border-top: 1px solid rgba(36, 54, 56, 0.08);
  padding: 46px 0 18px;
  position: relative;
}

#yahireStory .closing::before {
  background: var(--pink);
  border-radius: 3px;
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 76px;
}

#yahireStory .closing-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  margin: 0 auto;
  max-width: none;
  padding: 0;
  position: relative;
  text-align: center;
}

#yahireStory .closing-card .eyebrow.light {
  color: var(--pink);
}

#yahireStory .closing-card h2 {
  color: var(--ink);
  margin: 0 0 15px;
}

#yahireStory .closing-card h2 span {
  color: var(--pink);
}

#yahireStory .closing-card > p:not(.eyebrow) {
  color: rgba(36, 54, 56, 0.76);
  margin: 0 auto;
  max-width: 650px;
}

#yahireStory .closing-actions {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

#yahireStory .story-button {
  align-items: center;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 31px;
  color: var(--white);
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 24px;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px 2px;
}

#yahireStory .story-button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--pink);
}

#yahireStory .text-link {
  border-bottom: 1px solid currentColor;
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 3px;
}

#yahireStory .closing-card .story-button-light {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

#yahireStory .closing-card .text-link {
  color: var(--pink);
}

#yahireStory .principles-track.closing-principles {
  gap: 12px;
  margin-top: 34px;
  max-width: none;
  width: 100%;
}

#yahireStory .closing-principles .principle-item {
  background: var(--white);
  border: 1px solid rgba(36, 54, 56, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(36, 54, 56, 0.06);
  min-height: 92px;
  overflow: hidden;
  padding: 18px 20px;
  position: relative;
  text-align: left;
}

#yahireStory .closing-principles .principle-item::before {
  background: var(--pink);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#yahireStory .closing-principles .principle-item:nth-child(1) {
  background: #fff7fb;
}

#yahireStory .closing-principles .principle-item:nth-child(2) {
  background: #fffaf0;
}

#yahireStory .closing-principles .principle-item:nth-child(2)::before {
  background: var(--yellow);
}

#yahireStory .closing-principles .principle-item:nth-child(3) {
  background: #f2fbfc;
}

#yahireStory .closing-principles .principle-item:nth-child(3)::before {
  background: var(--blue);
}

#yahireStory .closing-principles .principle-item:nth-child(4)::before {
  background: linear-gradient(90deg, var(--pink), var(--yellow));
}

#yahireStory .closing-principles .principle-item + .principle-item {
  border-left: 1px solid rgba(36, 54, 56, 0.1);
}

#yahireStory .closing-principles .principle-item img {
  flex-basis: 46px;
  height: 46px;
  width: 46px;
}

#yahireStory .closing-principles .principle-item p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

#yahireStory .closing-principles .principle-item strong {
  color: var(--pink);
}

#yahireStory .closing-principles .principle-item:nth-child(2) strong {
  color: #9b6900;
}

#yahireStory .closing-principles .principle-item:nth-child(3) strong {
  color: var(--blue);
}

#yahireStory .closing-principles .principle-item span {
  color: rgba(36, 54, 56, 0.64);
  font-size: 13px;
  font-weight: 500;
}

#yahireStory .venue-proof {
  padding: 34px 0 24px;
}

#yahireStory .venue-proof > h2 {
  font-size: 36px;
  margin: 0 0 -17px;
  position: relative;
  text-align: center;
  z-index: 1;
}

#yahireStory .venue-proof > h2 span {
  color: var(--pink);
}

#yahireStory .venue-proof-card {
  background: var(--grey);
  border-radius: 10px;
  padding: 68px 72px 26px;
}

#yahireStory .venue-logos {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

#yahireStory .venue-logos img {
  height: 78px;
  justify-self: center;
  object-fit: contain;
  width: 100%;
}

#yahireStory .trust-points {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

#yahireStory .trust-point {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-width: 0;
}

#yahireStory .trust-point p {
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}

#yahireStory .trust-point strong {
  color: var(--pink);
  font-weight: 600;
}

#yahireStory .trust-symbol {
  color: var(--blue);
  flex: 0 0 24px;
  height: 24px;
  position: relative;
  width: 24px;
}

#yahireStory .trust-award {
  align-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  font-size: 10px;
  justify-content: center;
}

#yahireStory .trust-award::before, #yahireStory .trust-award::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 8px solid var(--blue);
  bottom: -7px;
  content: "";
  position: absolute;
}

#yahireStory .trust-award::before {
  left: 0;
  transform: rotate(18deg);
}

#yahireStory .trust-award::after {
  right: 0;
  transform: rotate(-18deg);
}

#yahireStory .trust-clock {
  border: 2px solid var(--blue);
  border-radius: 50%;
}

#yahireStory .trust-clock::before {
  background: var(--blue);
  content: "";
  height: 7px;
  left: 10px;
  position: absolute;
  top: 4px;
  width: 2px;
}

#yahireStory .trust-clock::after {
  background: var(--blue);
  content: "";
  height: 2px;
  left: 10px;
  position: absolute;
  top: 10px;
  transform: rotate(30deg);
  transform-origin: left center;
  width: 6px;
}

#yahireStory .trust-check::before, #yahireStory .trust-check::after {
  background: var(--blue);
  border-radius: 2px;
  content: "";
  position: absolute;
}

#yahireStory .trust-check::before {
  height: 3px;
  left: 1px;
  top: 13px;
  transform: rotate(45deg);
  width: 9px;
}

#yahireStory .trust-check::after {
  height: 3px;
  left: 7px;
  top: 10px;
  transform: rotate(-45deg);
  width: 18px;
}

@media (min-width: 576px) {
#yahireStory h1 {
  font-size: 50px;
}

#yahireStory h3 {
  font-size: 30px;
}

}
@media (min-width: 768px) {
#yahireStory h2 {
  font-size: 48px;
}

}
@media (min-width: 992px) {
#yahireStory h1 {
  font-size: 55px;
}

#yahireStory h3 {
  font-size: 33px;
}

}
@media (max-width: 1399px) {
}

@media (max-width: 1199px) {
#yahireStory #beginning, #yahireStory #company, #yahireStory #team, #yahireStory #vision {
  scroll-margin-top: 100px;
}

#yahireStory .journey-point {
  width: 124px;
}

#yahireStory .journey-ship {
  left: 6.2%;
  top: 74%;
  width: 7%;
}

#yahireStory .journey-point h3 {
  font-size: 14px;
}

#yahireStory .journey-point p {
  font-size: 11.5px;
}

#yahireStory .company-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#yahireStory .stat-item > img, #yahireStory .stat-art {
  flex-basis: 82px;
  height: 82px;
  width: 82px;
}

#yahireStory .venue-proof-card {
  padding-inline: 42px;
}

#yahireStory .venue-logos {
  gap: 24px;
}

#yahireStory .trust-points {
  gap: 20px;
}

#yahireStory .trust-point p {
  font-size: 13px;
}

#yahireStory .story-hero, #yahireStory .hero-content {
  min-height: 520px;
}

}
@media (max-width: 991px) {
#yahireStory .journey-curve {
  aspect-ratio: auto;
  max-width: 620px;
  padding-left: 4px;
}

#yahireStory .journey-path {
  display: none;
}

#yahireStory .journey-points {
  display: grid;
  row-gap: 20px;
}

#yahireStory .journey-point, #yahireStory .journey-point.above, #yahireStory .journey-point.below {
  border-left: 2px solid var(--line);
  left: auto;
  padding: 0 0 0 20px;
  position: static;
  text-align: left;
  top: auto;
  transform: none;
  width: auto;
}

#yahireStory .journey-point .tick {
  display: none;
}

#yahireStory .journey-point p {
  font-size: 13.5px;
}

#yahireStory .journey-ship {
  display: none;
}

#yahireStory .company-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#yahireStory .story-hero {
  min-height: 360px;
}

#yahireStory .hero-content {
  min-height: 360px;
}

#yahireStory .chapter-menu a {
  font-size: 15px;
}

#yahireStory .story-section {
  grid-template-columns: 1fr;
  max-width: 700px;
}

#yahireStory .founders-photo {
  padding-right: 0;
}

#yahireStory .founders-photo img {
  aspect-ratio: 1.25;
}

#yahireStory .story-copy {
  max-width: none;
  padding-left: 0;
}

#yahireStory .stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#yahireStory .section-intro.split {
  grid-template-columns: 1fr;
  gap: 20px;
}

#yahireStory .vision-note {
  gap: 34px;
  grid-template-columns: 1fr 1.25fr;
  padding: 38px;
}

#yahireStory .principles-track {
  grid-template-columns: repeat(2, 1fr);
}

#yahireStory .principle-item:nth-child(3) {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#yahireStory .principle-item:nth-child(4) {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#yahireStory .closing-principles .principle-item:nth-child(3), #yahireStory .closing-principles .principle-item:nth-child(4) {
  border: 1px solid rgba(36, 54, 56, 0.1);
}

#yahireStory .portrait-grid, #yahireStory .team-group-directors .portrait-grid, #yahireStory .team-group-management .portrait-grid, #yahireStory .team-group-sales .portrait-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#yahireStory .venue-proof {
  max-width: 820px;
}

#yahireStory .venue-proof-card {
  padding: 58px 30px 28px;
}

#yahireStory .venue-logos {
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#yahireStory .venue-logos img {
  height: 62px;
}

#yahireStory .trust-points {
  align-items: start;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 34px auto 0;
  max-width: 480px;
}

#yahireStory .trust-point {
  justify-content: flex-start;
}

#yahireStory .trust-point p {
  font-size: 14px;
}

}
@media (max-width: 767px) {
#yahireStory .journey-curve {
  max-width: none;
}

#yahireStory .vision-journey {
  margin-top: 30px;
}

#yahireStory .vision-journey h3 {
  font-size: 21px;
}

#yahireStory .company-cards {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

#yahireStory {
  font-size: 14px;
}

#yahireStory .shell {
  width: calc(100% - 30px);
}

#yahireStory .story-hero {
  min-height: 330px;
}

#yahireStory .hero-content {
  min-height: 330px;
  padding-bottom: 40px;
}

#yahireStory .story-hero::after {
  background-size: 700px;
  height: 90px;
}

#yahireStory .story-hero p {
  font-size: 14px;
  max-width: 300px;
}

#yahireStory .chapter-menu {
  border-radius: 24px;
  margin-bottom: 8px;
  margin-top: -22px;
}

#yahireStory .chapter-menu a {
  font-size: 12px;
  min-height: 48px;
  padding-inline: 4px;
}

#yahireStory .chapter-menu a::after {
  left: 10px;
  right: 10px;
}

#yahireStory .story-section {
  gap: 30px;
  padding: 36px 0 40px;
}

#yahireStory .founders-photo img {
  aspect-ratio: 1;
}

#yahireStory .story-copy h2 {
  margin-bottom: 20px;
}

#yahireStory .story-quote p {
  font-size: 30px;
}

#yahireStory .scale-band {
  padding: 42px 0 56px;
}

#yahireStory .scale-heading h2 {
  font-size: 36px;
}

#yahireStory .scale-heading h2 {
  margin-bottom: 24px;
}

#yahireStory .stats {
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 440px;
}

#yahireStory .stat-item > img, #yahireStory .stat-art {
  flex-basis: 80px;
  height: 80px;
  width: 80px;
}

#yahireStory .stat-item strong {
  font-size: 16px;
}

#yahireStory .stat-item span {
  font-size: 14px;
}

#yahireStory .scale-arrow {
  bottom: auto;
  height: 120px;
  left: 50%;
  top: calc(100% - 28px);
  width: 120px;
}

#yahireStory .vision-section {
  padding: 48px 0 30px;
}

#yahireStory .vision-note {
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 36px;
  padding: 30px 24px;
}

#yahireStory .vision-note::after {
  font-size: 180px;
  right: 8px;
  top: -28px;
}

#yahireStory .vision-note h3 {
  font-size: 32px;
}

#yahireStory .company-detail {
  padding-bottom: 40px;
  padding-top: 40px;
}

#yahireStory .principles {
  margin-top: 30px;
  padding: 8px 0;
}

#yahireStory .principles-track {
  grid-template-columns: 1fr;
  width: calc(100% - 24px);
}

#yahireStory .principle-item {
  padding: 16px 14px;
}

#yahireStory .principle-item + .principle-item {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#yahireStory .closing-principles .principle-item + .principle-item {
  border: 1px solid rgba(36, 54, 56, 0.1);
}

#yahireStory .principle-item img {
  flex-basis: 44px;
  height: 44px;
  width: 44px;
}

#yahireStory .principle-item p {
  font-size: 15px;
}

#yahireStory .team-section {
  padding: 36px 0 42px;
}

#yahireStory .team-intro > p {
  margin-top: 0;
}

#yahireStory .team-groups {
  margin-top: 30px;
}

#yahireStory .team-group {
  margin-bottom: 36px;
}

#yahireStory .team-group-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

#yahireStory .portrait-grid, #yahireStory .team-group-directors .portrait-grid, #yahireStory .team-group-management .portrait-grid, #yahireStory .team-group-sales .portrait-grid {
  gap: 20px 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#yahireStory .portrait-placeholder span {
  font-size: 38px;
  height: 80px;
  width: 80px;
}

#yahireStory .portrait-meta h4 {
  font-size: 14px;
}

#yahireStory .portrait-meta p {
  font-size: 10px;
}

#yahireStory .portrait-qa {
  padding: 14px;
}

#yahireStory .portrait-qa-label {
  font-size: 9px;
  margin-bottom: 8px;
}

#yahireStory .portrait-qa-item + .portrait-qa-item {
  margin-top: 8px;
  padding-top: 8px;
}

#yahireStory .portrait-qa-item span {
  font-size: 8px;
}

#yahireStory .portrait-qa-item strong {
  font-size: 12px;
}

#yahireStory .closing {
  padding: 36px 0 0;
}

#yahireStory .closing-card {
  padding: 0;
}

#yahireStory .closing-actions {
  align-items: stretch;
  flex-direction: column;
}

#yahireStory .story-button {
  align-self: center;
  min-height: 50px;
}

#yahireStory .text-link {
  align-self: center;
}

#yahireStory .venue-proof {
  padding: 30px 0 20px;
}

#yahireStory .venue-proof > h2 {
  font-size: 28px;
  margin-bottom: -12px;
}

#yahireStory .venue-proof-card {
  padding: 48px 18px 24px;
}

#yahireStory .venue-logos {
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#yahireStory .venue-logos img {
  height: 55px;
}

#yahireStory .venue-logos img:last-child {
  grid-column: 1 / -1;
  max-width: 130px;
}

#yahireStory .trust-point {
  align-items: flex-start;
}

#yahireStory .trust-point p {
  font-size: 13px;
  white-space: normal;
}

}
@media (prefers-reduced-motion: reduce) {
#yahireStory .portrait-image img, #yahireStory .portrait-qa {
  transition: none;
}

}